Importing bins

Hi there, I'm having some import issues that I could use some advice on.
The setup is one month-old FCS2 suite on a new Mac Pro, one 13-year-old Avid Composer suite that could breathe its last any day now.
I want to get at least the bins, if not the sequences, into the FCP system. I know about automatic duck but have not been given budget clearance to buy it, instead I've been asked to spend hundreds of dollars worth of work hours to find a kludgey workaround.
There are two vectors that I can see here:
1. Avid Log Exchange (ALE) to Cinema Tools Database to Final Cut pro. Success! But the clip names are all changed to (BinName)_(StartingTimecode). There are way too many clips and bins over on the Avid to change them all one at a time on the FCP. I can batch capture them though.
The question: using either Cinema Tools, FCP, or some spreadsheet/database program, How can I restore the clip name information in a way that FCP will recognize? (note that I can open an ALE in a spreadsheet app and easily copy the clip names en masse)
Vector 2: ALE to XML(Via Excel or OpenOffice), to FCP
This works great except that when I try to import the XML into FCP, I get the message "Please choose a translation document file". What is a translation document file and where can I get one? And will this even work?
The ALE is of course just a tab-delimited text file that opens perfectly in all three spreadsheet programs I've tried. From there it's just a few curse words to an XML file. I've tried changing the column names to match the appropriate column in FCP before creating the XML, but where am I really failing here?
Thanks in Advance

I've solved the problem, or at the very least, I've developed an only somewhat convoluted workaround that won't cost $500. I've seen other people searching for this, so I'll report my procedure.
This is for transferring bin contents from pre-XML versions of Avid to the current version of Final Cut Pro (FCS2).
When importing the Avid Log Exchange, FCP takes the clip's name information from the Scene column, not the Name column. The original Avid Name column is shunned by FCP, there's nothing you can do.
So on the ancient rusting Windows NT4 box, I first added the Scene column to the bin view, then copied one of the clip names into the relevant Scene column and exported the ALE.
I then slid over to the new Mac Pro, opened the ALE in an Open Office spreadsheet, so I could easily copy and paste the rest of the clip names into the Scene column.
Save as a Tab Delimited file. Change the extension to ALE.
Open Final Cut and select Import/Cinema Tools Telecine Log. Choose the new ALE file. Presto-chango, all those old Avid clips lined up nice and neat in FCP, ready to be captured.
I think the last two years worth of major projects ought to be sufficient to promote to Final Cut.
I guess we could pay Automatic Duck $500 to do this for us, but I've got a co-op student to make work for. Rock on. Bonus marks if he can pull it off by friday.

Similar Messages

  • Importing bin data from DB.

    hello,
    i used gui_upload for upload.
    i have exported a tab using
    export p_tab to database z_indx(PA) id aux_srtfd.
    here p_tab is tble of sdokcntbin.
    and i am trying to import with idaux_srtfd using
    aux_srtfd = 'co68-04f' .
      import  pic_tab  to pic_tab from database zsbsp_indx(pa) id aux_srtfd.
    where(which field) it stores the data  in z_indx.
    when i debug application  p_tab is always intial.
    what is the prob.
    can anyone help me?.
    thanx
    regards ravi.

    When you are EXPORTing, try doing this
    EXPORT P_TAB FROM P_TAB to database ZSBSP_INDX(PA) id aux_srtfd.
    or
    EXPORT P_TAB = P_TAB to database ZSBSP_INDX(PA) id aux_srtfd.

  • Import Default Bin Location Using OITW - ItemWarehouseInfo.xlt

    I am trying to import default bin locations in SAP B1 v9.00.058 PL.06.
    I created a new OITW template using the Data Transfer Workbench, and then insert my data. I am only using two collumns from this template since I just want to specify the Default BIN for every item code. See attached for the original template as well as a test import file.
    I followed the following steps for importing this data in the DTW
    1. Master Data
    2. Update Existing
    3. Inventory - Item Master Data
    4. Choose update file (See attached Test.txt), next to "ItemWarehouseInfo"
    5. Run Update
    When running the import I get an error message Update Failed "1470000335 Bin location not enabled for warehouse "Warehouse name"
    The strange thing for me is that this error is probably quite logical, since my update file only specifies the Item Code and the Default Bin Location, how will SAP know which warehouse this Bin Location is to be configured for.
    I would assume that it should be possible to specify a combination of the ItemCode and WarehouseCode when importing a default Bin Location, but the default OITW template, only uses the ItemCode as it's ParentKey.
    Any suggestions? We have about several thousands of bin locations to be updated so the DTW is probably our only alternative?

    Hi,
    I have tried the above solution and it is not working. The DTW tries to set the Default BIN Locations for the first warehouse in the OWHS table. In our case this specific warehouse does not have Bin Locations enabled. We have several warehouses in the OWHS table and we want to import bin locations for specific warehouses. In our case it is the warehouse in Line 5 in the OWHS table.
    We have tried to set the linenum field to 5 in the OITW import template but DTW still tries to import the bin locations to the same (first) warehouse.
    Mias

  • Problem importing classes

    Hi, I've doing a simple program to read a file and output its content by using BufferedReader and readLine() methods. My executing program is "TestProgram.java" and it imports the class "InputFileReader" to use. I have all the files in the same directory C:\j2SDK1.4_0\bin.
    When I compile "TestProgram.java", it returns the error message : Cannot resolve symbol. Symbol : variable InputLineReader.
    Can someone help me with the problem? The 2 codes are provided below.
    // InputLineReader.java
    package bin;
    import java.io.*;
    import java.util.*;
    public class InputLineReader
         public static String lineRead (BufferedReader buff)
              String line = null;
              try {
              line = buff.readLine();
                   } catch(IOException e) {
              System.out.println("IO Error");
              return line;
    // TestProgram.java
    package bin;
    import java.io.*;
    import java.util.*;
    import bin.*;
    public final class TestProgram {
         public static void main (String[] args) {
              FileReader file = new FileReader ("strtestdata1.txt");
              BufferedReader buff = new BufferedReader(file);
              String output = null;
              output = InputLineReader.line;
              System.out.println(output);

    I Dont Know Exactly Why The Problem Is. .......
    Anyway here is class I have written that works ...
    It reads ffrom a while and writes to another file ..
    I hope you can get some useful info from it
    import java.io.*;
    // This class Attempts to read from a file containing text, line by line and
    // copy the contents to a new file ...................
    public class ReadAndWrite {
        // initialising variables
        private String textLine;
        int count;
        private LineNumberReader lineReader;
        private BufferedReader bReader;
        private BufferedWriter bWriter1, bWriter2;
        private File readFile, writeFile1, writeFile2;
        // constructor
        public ReadAndWrite(String pathRead, String pathWrite1, String pathWrite2) {
            try{
                readFile   = new File(pathRead);
                writeFile1 = new File(pathWrite1);
                writeFile2 = new File(pathWrite2);
                bReader    = new BufferedReader(new FileReader(readFile));
                lineReader = new LineNumberReader(bReader);
                bWriter1 = new BufferedWriter(new FileWriter(writeFile1));
                bWriter2 = new BufferedWriter(new FileWriter(writeFile2));
            }  catch (IOException e2) {
                // Catch any other IO exceptions.
                e2.printStackTrace();
        // method to read text line by line from a given file
        public String readFile()  {
            try{
                textLine = lineReader.readLine(); // reads one line and keeeps in buffer
            }  catch (FileNotFoundException e1) {
                // If this file does not exist
                System.err.println("File not found: " + readFile);
            } catch (IOException e2) {
                // Catch any other IO exceptions.
                e2.printStackTrace();
            return textLine;
        // method that writes the text to a new file line by line
        public void  writeFile(String textLine, int count1) {
            try{
                // prints the numbered text lines to the standard output
                System.out.println(count1 + "  " + textLine);
                // writes the numbered text lines to a new file
                bWriter1.write(lineReader.getLineNumber() + "  " + textLine); // text file
                bWriter1.newLine();
                bWriter2.write(lineReader.getLineNumber() + "  " + textLine); // word file
                bWriter2.newLine();
            } catch (IOException e2) {
                // Catch any other IO exceptions.
                e2.printStackTrace();
        // method calls readFile() and writeFile()
        public void process() {
            try{
                count = 1;
                // loop to call read and write methods
                // checks for text in the file = null
                do {
                    readFile();
                    if (textLine != null){
                        writeFile(textLine, count);
                        count ++;
                while (textLine != null);
                // closing all open streams when they are no longer needed
                lineReader.close();
                bWriter1.close();
                bWriter2.close();
            } catch (IOException e2) {
                // Catch any other IO exceptions.
                e2.printStackTrace();
    }

  • How do I import Red Camera .r3d files?

    I downloaded the plug ins from RED, but i dont see where the import bin is located. Red has no documentation on how to use their plug-in that i could find. Any insight would be well appreciated.

    Log-and-transfer is, unfortunately, a really good way to get awful looking Red footage right now.
    A better bet is to use RedAlert to create Quicktime proxies with your LUT of choice, then run those proxies through Compressor to turn them into ProRes. Treat those as your offline and edit with them. Use Crimson Workflow as your "neg cutter." It takes your Final Cut timeline (as XML) and lets your output only your selects as DPXs, via Redline. You can then grade and finish as you would any project shot on 35.

  • Having trouble to arrange Bins & Files in CS3 Project Panel.

    I am an IT professional in a TV station. In our station we are using both Adobe Premiere 2.0 and Adobe Premiere CS3 licensed software for making playlist of commercials. We use to import these commercials from a central storage & compile it. During the compilation we are facing few problems in Adobe Premiere CS3 features i.e. a feature which was available on Adobe Premiere 2.0 is missing on Adobe Premiere CS3.
    The detail of this feature is explained below.
    In Premiere 2.0 when I create or import “ bins and files”  in Project panel initially all the bins and file are arranged by modified order means which one is import last is appear in below of the list and I can arrange all the bins and file in Alphabetical order. And if I want, I can go back in modified order by pressing “Ctrl + Page UP/Page Down”.
    In Premiere CS3 when I create or import “bins and files” in Project panel initially all the bins and files are arranged by modified order means which one is import last is appear in below of the list and I also can arrange all the bins and files in Alphabetical order. 
    But once I arrange the Bins and Files in Premiere CS3 by Alphabetical order it can’t go back to modified order(Ctrl + Page UP/Page Down is not working).
    Because of this problem in Premiere CS3 it takes lots of time to compile the on air playlist. It will be helpful for us if this feature is available on CS3 also.
    Please assets me what can I do to overcome this problem.
    Sujoy Roy

    We are having the exact same issue, has anyone resolved this yet?

  • DTW: error "Duplicate bin locations have been removed - error id 1470000307"

    Hi,
    When attempting to import inventory data, using the DTW business object "Inventory Transfer" and using the templates "Transfer", "TransferLines", "StockTransferLinesBinAllocations",  "BatcheNumbers" and "SerialNumbers", the following error message appears:
    "Duplicate bin locations have been removed - error id 1470000307"
    Prior to attempting this import, I had successfully imported the Bin Locations and the Warehouse Sub Level Codes through DTW.
    This task relates to the replacement of the Inventory Pro Addon by the Bin Location functionality of SAP B1 version 9 PL10.
    Any advice would be greatly appreciated.
    Kind Regards,
    Erik

    Hi,
    Please refer SAP note, It may be related to your issue:
    1906789 - Unable to import bin location allocation information in
    stock transfers
    1964346 - DTW_Templates for Inventory Transfer with Bin Allocation
    do not exist
    Thanks & Regards,
    Nagarajan

  • Can't import AVCHD footage from my canon HG10 camcorder

    I have a Canon HG10 that shoots AVCHD high def footage. I've always gotten it to import footage into final cut pro 7 and iMovie (before switching to osx lion) Now that I have final cut pro X, I try to add the camcorders files into the import bin and it gives me an error saying the following:
    "AVCHD" contains unsupported media or has an invalid directory structure.
    Please choose a folder whose directory structure matches supported media.
    I tried the "log and transfer" in the old previous version of final cut pro (which always worked for me before installing lion) and it also gives me an error. Same thing with iMovie now.
    Is there some way I can get this to import into final cut pro X? If not, is there any other 3rd party transfer program or any other solution to get my footage onto my hard drive to edit in final cut pro X?
    Any help would be appreciated. Thanks!

    Okay, so I made a disk image of my camcorders hard drive. I mounted the image and tried importing the archive. It still does the same thing. Let me also clarify one thing. Only when I click on any folder contained in the image does it give me the error message:
    "AVCHD" contains unsupported media or has an invalid directory structure.
    Please choose a folder whose directory structure matches supported media.
    When I click on the actually disk "CANON_HDD" it appears in the import window for a half second before dissapearing. Sorry, I didn't mention this earlier. Can anyone please give me a solution for this?

  • PP cs5 wont import mts sound track

    On my machine I have a full  licenced copy of Master Colelction CS5 and a trail version (within 30 days) of Production premium cs5.5
    If i import a avchd file in MTS format into prem pro cs5, the sound track does not show in the import bin properties etc . Also, if I drag to timeline only the video shows - no audio
    This file plays fine (audio and video) in other media players such as VLC and windows media so the file itself is ok
    Any clues anyone as to what I should be looking at?
    I have imported other files ok, such as .MOV and they are fine
    I know cs5.5  trail has certain limitations, I am hoping the install of cs5.5 trial has not messed up my cs5 install
    Regards
    Chris Anderson

    Hi Colin
    Nope! - i made sure all cache files were gone, just an empty directory then relaunched pp.
    When i add the 'good' file, the cfa/pek files are generated ok
    Below is the info from mediainfo for the 'good' file and the 'bad' file. First the bad file:
    Odd - note the 'duration' field, shows on good file but not bad file??
    Chris
    General
    ID                               : 0 (0x0)
    Complete name                    : V:\Source Material\Source Footage\Test Footage\Test audio xx\HG21.MTS
    Format                           : BDAV
    Format/Info                      : Blu-ray Video
    File size                        : 198 MiB
    Overall bit rate                 : -23214266604056551000
    Maximum Overall bit rate         : 24.0 Mbps
    Video
    ID                               : 4113 (0x1011)
    Menu ID                          : 1 (0x1)
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : [email protected]
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 2 frames
    Format settings, GOP             : M=1, N=24
    Codec ID                         : 27
    Bit rate mode                    : Variable
    Maximum bit rate                 : 22.7 Mbps
    Width                            : 1 920 pixels
    Height                           : 1 080 pixels
    Display aspect ratio             : 16:9
    Frame rate                       : 25.000 fps
    Color space                      : YUV
    Chroma subsampling               : 4:2:0
    Bit depth                        : 8 bits
    Scan type                        : Interlaced
    Scan order                       : Top Field First
    Audio
    ID                               : 4352 (0x1100)
    Menu ID                          : 1 (0x1)
    Format                           : AC-3
    Format/Info                      : Audio Coding 3
    Mode extension                   : CM (complete main)
    Codec ID                         : 129
    Bit rate mode                    : Constant
    Bit rate                         : 256 Kbps
    Channel(s)                       : 2 channels
    Channel positions                : Front: L R
    Sampling rate                    : 48.0 KHz
    Bit depth                        : 16 bits
    Compression mode                 : Lossy
    Delay relative to video          : -80ms
    now the 'good file'
    General
    ID                               : 0 (0x0)
    Complete name                    : E:\00094.MTS
    Format                           : BDAV
    Format/Info                      : Blu-ray Video
    File size                        : 20.1 MiB
    Duration                         : 7s 110ms
    Overall bit rate                 : 23.5 Mbps
    Maximum Overall bit rate         : 24.0 Mbps
    Video
    ID                               : 4113 (0x1011)
    Menu ID                          : 1 (0x1)
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : [email protected]
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 2 frames
    Format settings, GOP             : M=1, N=24
    Codec ID                         : 27
    Duration                         : 7s 120ms
    Bit rate mode                    : Variable
    Bit rate                         : 22.3 Mbps
    Maximum bit rate                 : 22.7 Mbps
    Width                            : 1 920 pixels
    Height                           : 1 080 pixels
    Display aspect ratio             : 16:9
    Frame rate                       : 25.000 fps
    Color space                      : YUV
    Chroma subsampling               : 4:2:0
    Bit depth                        : 8 bits
    Scan type                        : Interlaced
    Scan order                       : Top Field First
    Bits/(Pixel*Frame)               : 0.431
    Stream size                      : 18.9 MiB (94%)
    Audio
    ID                               : 4352 (0x1100)
    Menu ID                          : 1 (0x1)
    Format                           : AC-3
    Format/Info                      : Audio Coding 3
    Mode extension                   : CM (complete main)
    Codec ID                         : 129
    Duration                         : 7s 200ms
    Bit rate mode                    : Constant
    Bit rate                         : 256 Kbps
    Channel(s)                       : 2 channels
    Channel positions                : Front: L R
    Sampling rate                    : 48.0 KHz
    Bit depth                        : 16 bits
    Compression mode                 : Lossy
    Delay relative to video          : -80ms
    Stream size                      : 225 KiB (1%)

  • MOB's, Packages, DoubleBuffering, & Distribution

    1. Moveable objects. Namely, animated gif files. I simply want them to move across the gui from point a to point b (to look as if they are 'moving'). Are there any links or better keywords to help me search for answers to this? Saw some references to double bufferring in regards to this too, but I don't know what that is either.
    2. Packages. Ok, I have a proggy w/lots of files and got it to work just fine. But to do so, I had to move the class w/the main method into a directory other than the directory where all the other class files were. Its like this:
    c:\mainDirectory\MainFile.java
    w/the rest in:
    c:\mainDirectory\Bin\*.java
    All the ones in the Bin directory are of package Bin.
    The main file has - import Bin.*
    The classpath includes c:\mainDirectory
    This proggy will get only more complicated, because I want to use other directory names and other packages so as to keep everything nice and separated by subject matter. But my not knowing why the main program file won't work if its located in the Bin directory worries me, and I don't wanna paint myself into a corner is all.
    3) Distribution. Lets say I make a program (application). Jar it up. Now I want people to be able to download it and run it, fairly easily. So I'll just link to the latest SDK on my site, and once they have that they can just double click on the jar file to install it.
    Not having done this before, my question is: what then? What does the user, now that the proggy is installed, do to run the program? I can't ask my user to set a classpath and run java filename. Will I need to make a separate sort of gimmick file for each operating system, a .bat for windows, or a shortcut, and whatever for linux, etc... or is there a platform independant way to make it so they can just click on something to get it to run?
    4)I'm using 1.3, gonna get the 1.4 beta soon. I noticed in 1.3 a problem, at least on my system (win98SE). In windows w/scrollbars, upon scrolling, the text will get garbled until I click in the window. The one program I saw get around this was a JEdit plugin which adds mousewheel support to JEdit, and has an option to fix 'flickering' as it calls it, which happens to fix my problem.
    So my question is: does 1.4 have this problem still? (my internet connection is woefully bad, so it's gonna be an all day thing to download it, which is why I haven't yet). I ask, because if so, it'll be worth my time to check out the open source JEdit plugin to see how they solved the problem, then do something similar in my gui's. But if not, then I can just get my users to download the 1.4 beta and they won't have the problem, and no additional code will be needed from me.
    Thanks in advance, any help is appreciated.

    ok, I solved number 2, part of number one, and none of number 3.
    #2. solved. the packages problem. when ya 'java filename' the main file, ya have to put the directory/package name of the file before the filename, so:
    java javaprojects.myproggy.filename
    for some reason, I have to do this even if the directory is in the classpath and I don't have to do such w/the rest of the files in that directory.
    #1. partially solved: moving objects problem. Found some info on how to 'double buffer'. Which they say gets rid of the flickering problem. But I still don't know how to make a graphic appear to 'move' across the screen.
    #3 not solved at all. Distribution, still don't know how this works exactly.

  • XSLT compile error.

    I am getting an XSLT compile error on this code: 
    // Load the style sheet.
    XslCompiledTransform xslt = new XslCompiledTransform();
    xslt.Load("style1.xsl");
    Here is the code in it's entirety:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.IO;
    using System.Data.OleDb;
    using System.Xml;
    using System.Xml.Xsl;
    using System.Xml.XPath;
    namespace CSVImporter
    public partial class CSVImporter : Form
    //const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml"; - file name and location of xml file
    const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml";
    // New code
    //const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml"; - file name and location of xsl file
    const string stylesheetsimple = @"C:\Users\fenwky\style1.xsl";
    //const string xmlfilecomplex = @"C:\Users\fenwky\XmlDoc2.xml";
    const string xmlfilecomplex = @"C:\Users\fenwky\XmlDoc2.xml";
    DataSet ds = null;
    public CSVImporter()
    InitializeComponent();
    // Create a Open File Dialog Object.
    openFileDialog1.Filter = "csv files (*.csv)|*.csv|All files (*.*)|*.*";
    openFileDialog1.ShowDialog();
    string fileName = openFileDialog1.FileName;
    //doc.InsertBefore(xDeclare, root);
    // Create a CSV Reader object.
    CSVReader reader = new CSVReader();
    ds = reader.ReadCSVFile(fileName, true);
    dataGridView1.DataSource = ds.Tables["Table1"];
    private void WXML_Click(object sender, EventArgs e)
    WriteXML();
    public void WriteXML()
    StringWriter stringWriter = new StringWriter();
    ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
    string xmlStr = stringWriter.ToString();
    XmlDocument doc = new XmlDocument();
    doc.LoadXml(xmlStr);
    XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    doc.InsertBefore(xDeclare, doc.FirstChild);
    // Test code //
    // Load the style sheet.
    XslCompiledTransform xslt = new XslCompiledTransform();
    xslt.Load("style1.xsl");
    // Test code //
    // Transform the file and output an HTML string.
    string HTMLoutput;
    StringWriter writer = new StringWriter();
    xslt.Transform("XmlDoc.xml", null, writer);
    HTMLoutput = writer.ToString();
    writer.Close();
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    // Stylesheet
    // String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    String PItext = "<xsl:stylesheet xmlns:xls=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    // newPI = doc.CreateProcessingInstruction("abc:stylesheet", PItext);
    newPI = doc.CreateProcessingInstruction("xls:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    // Save document
    doc.Save(xmlfilename);
    private void btExportComplexXML_Click(object sender, EventArgs e)
    WriteXMLComplex();
    public void WriteXMLComplex()
    // Creates stringwriter
    StringWriter stringWriter = new StringWriter();
    ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
    string xmlStr = stringWriter.ToString();
    XmlDocument doc = new XmlDocument();
    doc.LoadXml(xmlStr);
    XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    doc.InsertBefore(xDeclare, doc.FirstChild);
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    // Uses XML transformation.
    String PItext = "<abc:stylesheet xmlns:abc=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">";
    newPI = doc.CreateProcessingInstruction("xsl:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    // Saves document.
    doc.Save(xmlfilecomplex);
    //Creates a CSVReader Class
    public class CSVReader
    public DataSet ReadCSVFile(string fullPath, bool headerRow)
    string path = fullPath.Substring(0, fullPath.LastIndexOf("\\") + 1);
    string filename = fullPath.Substring(fullPath.LastIndexOf("\\") + 1);
    DataSet ds = new DataSet();
    try
    if (File.Exists(fullPath))
    string ConStr = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0}" + ";Extended Properties=\"Text;HDR={1};FMT=Delimited\\\"", path, headerRow ? "Yes" : "No");
    string SQL = string.Format("SELECT * FROM {0}", filename);
    OleDbDataAdapter adapter = new OleDbDataAdapter(SQL, ConStr);
    adapter.Fill(ds, "TextFile");
    ds.Tables[0].TableName = "Table1";
    foreach (DataColumn col in ds.Tables["Table1"].Columns)
    col.ColumnName = col.ColumnName.Replace(" ", "_");
    catch (Exception ex)
    MessageBox.Show(ex.Message);
    return ds;

    Hi Kristin,
    Yes, the error looks the same:
    Here is the style.xsl file:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:apply-templates select="book"/>
    <HTML>
    <BODY>
    <TABLE BORDER="2">
    <TR>
    <TD>Item_Code</TD>
    <TD>Item_Description</TD>
    <TD>Current_Count</TD>
    <TD>On_Order</TD>
    </TR>
    <xsl:template select="book"/>
    </TABLE>
    </BODY>
    </HTML>
    </xsl:template>
    <xsl:template match="book">
    <TR>
    <TD><xsl:value-of select="Item_Code"/></TD>
    <TD><xsl:value-of select="Item_Description"/></TD>
    <TD><xsl:value-of select="Current_Count"/></TD>
    <TD><xsl:value-of select="On_Order"/></TD>
    </TR>
    </xsl:template>
    </xsl:stylesheet>
    The XML file isn't saving (generating) on Click. Thank for you for your help.
    @Kylee,
    Here is the right format XSL file, Please check and test again.
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="book">
    <HTML>
    <BODY>
    <TABLE BORDER="2">
    <TR>
    <TD>Item_Code</TD>
    <TD>Item_Description</TD>
    <TD>Current_Count</TD>
    <TD>On_Order</TD>
    </TR>
    <xsl:apply-templates select="book"/>
    </TABLE>
    </BODY>
    </HTML>
    </xsl:template>
    <xsl:template match="book">
    <TR>
    <TD>
    <xsl:value-of select="Item_Code"/>
    </TD>
    <TD>
    <xsl:value-of select="Item_Description"/>
    </TD>
    <TD>
    <xsl:value-of select="Current_Count"/>
    </TD>
    <TD>
    <xsl:value-of select="On_Order"/>
    </TD>
    </TR>
    </xsl:template>
    </xsl:stylesheet>
    By the way, you also could check by yourself. Add a new XLS file in VS2013, It will help you check all the errors.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.
    Thanks Kristen. I have checked the file and it now reads. However, I have another error now. The XML file isn't saving and I am getting this error:
    Could not find file 'C:\Users\fenwky\documents\visual studio 2013\Projects\CSV Importer\CSV Importer\bin\Debug\XmlDoc.xml'.
    For some reason it's not writing the file (but trying to read it?) and I am not sure what I am doing wrong.
    Here is the screen shot:
    private void WXML_Click(object sender, EventArgs e)
    WriteXML();
    public void WriteXML()
    StringWriter stringWriter = new StringWriter();
    ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
    string xmlStr = stringWriter.ToString();
    XmlDocument doc = new XmlDocument();
    doc.LoadXml(xmlStr);
    XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    doc.InsertBefore(xDeclare, doc.FirstChild);
    // Load the style sheet.
    XslCompiledTransform xslt = new XslCompiledTransform();
    xslt.Load("style1.xsl");
    // Transform the file and output an HTML string.
    string HTMLoutput;
    StringWriter writer = new StringWriter();
    xslt.Transform("XmlDoc.xml", null, writer);
    HTMLoutput = writer.ToString();
    writer.Close();
    var piText = "type=\"text/xsl\" href=\"style1.xsl\"";
    var newPI = doc.CreateProcessingInstruction("xml-stylesheet", piText);
    doc.InsertAfter(newPI, doc.FirstChild);
    // Save document
    doc.Save(xmlfilename);
    Thank you again Kristen.

  • How to Edit with Multiple People - HELP

    We used to be a small, 1-guy editing operation. But now we are huge (joke) and have 3 guys doing editing on an ongoing kids program. 
    I need some help with how to effectively edit the same program with 3 different people editing.
    I assume that it's impossible for all 3 editors to edit the same project file simultaneously, right?  That would be ideal as long as each person is working on a different scene, but even then, I'm sure it would introduce all kinds of problems.
    So I'm left pondering the best way to edit one large program (1-hour in final length) between multiple people.  The best method I've come up with to this point is to split my project up into 5 individual PP projects broken down by general scene categories. 
    That way each person can work on the "same" project/episode, but yet be working off of separate files, thus avoiding syncing problems. 
    But this only seems like a bandaide to our situation, especially if we bring on a couple more editors in the future.
    Any suggestions on working on the same project/episode at the same time between multiple people?

    There was a recent thread on similar issues.  I don't have this situation (one man shop), but one aspect of the "import sequences" to a master gets my attention.  I was starting to do this for my own projects (e.g. a season's worth of ball games where you want to do individual gamnes as well as a highlight of the season).  One project for it all gets rather complicated, and it seemed simple to import key sequences into another project.  But...
    A) This is not a dynamic link, but an import.  The whole project (or whole sequence(s) your choice) come in, inside a new bin.  changes in the other sequence are not updated in the master, so you need to be finished in the imported sequence - or be prepared to import again and redo any transition work.
    B) When you import, even though all the clips are from a shared pool, Premiere creates new instances in the imported bin.  Even if you offline and relink (so you don't literally need multiple clips on disk), they are still multiple instances in the bins.  As long as you don't plan on using work on clips in other sequences/projects, it really won't matter.  But, for example, if editor A adds markers to Clip 1 in their project, and you import their project to the master project, Clip 1 in editor B's project imported to the master will not hve the marker set by editor A,
    All logical really, but it limits this as a workaround to making Premiere work as a shared editor.

  • Using Premiere Pro 6 - Capturing HDV .mpegs - These can't be seen by other programs like Compressor?

    I'm using XHA1's using a Canon HV20 to capture via FW to my IMAC with 10.7. I'm using Premiere Pro 6 and have been using Plural Eyes to do audio sync for the past year.
    About 6 months ago when I upgraded to Plural Eyes 3 (which they don't support video thumbnail preview for HDV) I noticed my MPEG files created in Premiere Pro could not be opened in Compressor to change to Apple Pro Res or do anything else with.
    So, what I would like to know is there a way of capturing to some other file format than .mpeg using an HDV preset in Premiere Pro? I do weddings every weekend with 3 cameras doing hour long ceremonies. So, audio sync is real important and being able to see those thumbnails would be great.
    Finally, when I export my XML to the desktop and bring it back into to Premiere Pro it "squeeshes" the HDV footage into 4:3 aspect ratio. Which I then create a new Sequence, select all, copy and paste and now I have 2 sequences to keep track of.
    I realize these are not earth shattering - but they would sure save precious hours over a weeks time while doing many repetive actions. Thanks for any advice.

    I have same experience/problem:
    - PluralEyes does not show HDV thumbnails
    - Windows version crashes (I tryed initial version when WIN support was added)
    - Premiere still needs XML export-import, so stereo audio becomes double mono audio
    I'm still using PluralEyes version 2, which is at least working:
    - use PluralEyes Connector to export from Premiere directly, that opens PE2 and asks you which timeline you want to sync
    - when done, exit PE and it will automatickly open Premiere, import project, and highlight added bins
    - grab highlighted bins and drag them to the "new folder" icon in project bin; that will create new bin and put all imported bins/clips in to that bin.
    - open synced project and copy all clips and paste them in original timeline (where unsorted clips vere).
    OPTIONAL: I do replace all clips than with original clips from project bin, just to get stereo audio back. After I replace all clips I delete added bins/clips, because Premiere duplicate all (it will add them every time you re-import clips, instead of knowing it is already imported). So just to keep premiere project file smaller, I remove doubled clips.
    If I need to sync just some files I use Premiere CC built in syncer. But PluralEyes does resolve harder to understand clips and Premiere solution is limited by how many clips is capable of syncing. And it does not work with several video/audio tracks, but only two. At least in my case, if I try to sync more than two clips it is grayed out.
    Yes, I'm dissapointed by PluralEyes3, because this was my main reason I bought licence, Only to now using version 2.
    regards,
    MIHAEL

  • Link error in VC++ 6.0 accessing sequencecontext

    I'm trying to access the sequencecontext in my VC++ dll. But when I add the NI default code line
    "_bstr_t lastUserName = context->GetValString("StationGlobals.TS.LastUserName", 0);"
    I get an link error on this row, error meassege.
    "error LNK2001: unresolved external symbol "public: class _bstr_t __thiscall TS:ropertyObject::GetValString(class _bstr_t,long)" (?GetValString@PropertyObject@TS@@QAE?AV_bstr_t@@V3@J@Z)
    Debug/dlltest.dll : fatal error LNK1120: 1 unresolved externals"
    This code line is created by NI TestStand, why doesn't it work ? Sending GPIB commands to instrument works, etc. The dll is accesseble from TestStand except from the code line above.
    Regards
    Fredrik

    Hi Fredrik,
    You should use the #import directive in your project to include the TS namespace within your current context. With this all of the objects and methods exposed by the TestStand API will be available to you. Basically, you do this with a line like this at the top of your code:
    #import "\bin\teapi.dll"
    Where is the directory that you installed TestStand too.
    Other than this, you might want to explain what you mean when you say that this is "the NI default code line" and that "this code line is created by NI TestStand". Do you mean that you copied this from an example into your source file, or are you just trying to use one of our examples and it won't build properly?
    Jason F.
    Applications Engineer
    National Instrument
    s
    www.ni.com/ask

  • Premiere Pro 2014 long form ready?

    I'm editing a documentary with lots of material and bins. In order to minimize the software from crashing, which it routinely does, I'm cutting scenes using separate sequences and then assembling into a larger sequence. However, this often requires me to recreate effects and insert new audio sources because PP randomly mutes audio tracks and does not faithfully copy effects so this makes for a somewhat cumbersome workflow. A friend of recommended Premiere Pro that he uses for short form work, commercials, music video's, etc. Apparently PP doesn't seem to be ready for feature film and long form work. Is anyone out there using PP for long form work? Or should I consider a more mature platform like Avid?

    I'm editing a feature with Premiere CC and I'd have to say that Premiere is getting less and less stable with each Creative Cloud release.  The latest update on October 8th now makes simple dragging of a few elements on the timeline chug like I just downgraded my machine to a Pentium 4.  Yes, I'm pushing Premiere with 8tb of Red media, but instead of improving performance, the latest version has reduced it.
    I have a i7 3770k CPU with 16gb RAM and 3 4tb WD Black drives in RAID 0 formation.  My OS and program drive is a 240GB SSD drive.  My computer should be able to handle this project.
    My current issues with Premiere CC:
    1) My project takes between 1 and 5 minutes to load.  I'm not talking about the project file load, I'm talking about the 'loading' of 8000 media elements for the feature film... which makes Premiere unusable until it is complete.  This variance seems to occur because of problem 2 below.
    2) Premiere suddenly decides to re-generate peak files sometimes (and Prelude, the media ingesting program, just generates peak files over and over again and is completely unusable for me!).  When Premiere is generating these peak files, 'loading' of media after you've loaded a project takes much longer.  I've recently turned off 'auto generation of peak files' and this problem seems to have gone away for now.
    3) Occasional crashes... Premiere becoming completely unresponsive after doing simple tasks.  When combined with this 1 to 5 minute project reload time, it makes crashes much more frustrating!  I last lost 20 minutes of work while moving one wav file from one track to another, which crashed Premiere... and then I had to wait for the whole project to load again.
    4) File sharing issues between Premiere and Audition.  When I send certain audio clips to Audition, Premiere doesn't release the new rendered files properly and I can't save them in Audition.  I'm forced to switch back to Premiere and save the project, which seems to clear up the audio file so that I can then save it in Audition.
    5) I used to use the Y mode to slip start and end points of a clip in my edit.  This is now unusable in Premiere CC 2014.1.  The preview of the start and end thumbnails get updated about once every 2 seconds of mouse movement, making this mode unusable.
    6) Probably most frustrating is Premiere's ingestion of Red media (and seemingly any media).  If your media is in sub-directories (like most professionally recorded projects), Premiere will make a complete mess of it's organization within your bins.  Some of the ingested media will be in the folder structure as it is on your hard drive and some will not.  Premiere will also sometimes create multiple copies of media that spans multiple files....as is the case for all camera's output... One take might have four 4gb files.  Premiere will sometimes understand that these files are all part of the same clip and create only one instance in the imported bin.  Unfortunately, other times, it creates clip instances for every single sub file within that clip.  I've spent hours reorganizing my project data after importing it with Premiere (and as I said earlier, Prelude is completely unusable with Red media... if constantly regenerates peak files and creates duplicates every time you 'send' the media from Prelude into your Premiere project).
    I moved from Sony Vegas to Premiere last year because Vegas had become an unstable mess. Sony Creative Software management determined that new features (and a consistent release schedule) were more important that stability.  That is why they continue to remain an afterthought in most people's choices for an editing suite.  Adobe has huge market share now, but continues to shoot themselves in the foot with professional editors because Premiere is getting more and more unstable.
    I've heard rumblings of a management change at Adobe so I'm hoping that they will renew their focus on stability rather than features, because I certainly can't recommend Premiere use for long-form projects right now.  Perhaps Premiere was stable enough with Red footage when Fincher's team was editing Gone Girl last winter, but I'd like to see them edit it now with the latest version of Premiere released on October 8th...  Heads would be rolling at Adobe.

Maybe you are looking for