Hi, I apologize if this question has been asked already. I have searched with no luck. I am trying to output a specifically formatted text file and then change the extension to another program type:
outputting .txt changing to .dva (DVDAuthorGUI cue file).
The .txt output format looks the same as a DVDAuthorGUI created file, but when I try to open the file in DVDAuthroGUI, I get an END OF FILE Error 62. I must be missing something in my code... Here is what I have:
Thank you for any help you can give me.
Dan
outputting .txt changing to .dva (DVDAuthorGUI cue file).
The .txt output format looks the same as a DVDAuthorGUI created file, but when I try to open the file in DVDAuthroGUI, I get an END OF FILE Error 62. I must be missing something in my code... Here is what I have:
Code:
string text = "DVDAuthorGUI 1.017 - 2/16/2009\n" + "C:\\Documents and Settings\\Administrator\\Desktop\\hey.mpg\n" + "C:\\Documents and Settings\\Administrator\\Desktop\\trial.mpg\n" + "C:\\Documents and Settings\\Administrator\\Desktop\\trial1.mpg\n" + "***\n" + "00:00:00.00\n" + "00:00:00.00\n" + "00:00:00.00\n" + "***\n" + "0\n" + "0\n" + "0\n" + "***\n" + "***\n" + "***\n" + "***\n" + "***\n" + "***\n" + "<none>\n" + "<none>\n" + "<none>\n" + "***\n" + "center,bottom,60,60,30,30,28.0,arial.ttf,720,478,29.97,ISO-8859-1,FFFFFF:A0A0A0:808080|\n" + "center,bottom,60,60,30,30,28.0,arial.ttf,720,478,29.97,ISO-8859-1,FFFFFF:A0A0A0:808080|\n" + "center,bottom,60,60,30,30,28.0,arial.ttf,720,478,29.97,ISO-8859-1,FFFFFF:A0A0A0:808080|\n" + "***\n" + "<default>\n" + "NTSC\n" + "True\n" + "False\n"; System.IO.File.WriteAllText(@"C:\Documents and Settings\Administrator\Desktop\trial.dva", text);
Dan
Comment