Guest jingo_man Posted January 15, 2006 Report Posted January 15, 2006 hi, i am wondering how to open a file on the smartphone. the application writes to an xml file, which i have saved. this seems to have worked ok, but i want to open the file to check the format. the other way to do this would be to open it on the emulator, but there is no explorer application available either! this is the 1st attempt at programming on the smartphone or using the .net platform. i have previously developed using vb6 for the windows platform, where i would create a shell to execute the command referencing the filename. what is the equivalent for vb.net & the compact framework? i have seen something to do with "system.diagnostics.process" but "Process" is not an available option when i create a new object, i.e. "Dim oFile As Pro..." i am using: visual studio .net 2003, .net framework 2, compact framework 1.0 sp3 and writing in visual basic .net many thanks for help, regards, dan burt
Guest Tech Posted January 15, 2006 Report Posted January 15, 2006 (edited) there maybe an Application.Run() or Environment.Run in the .NET CF. I dont think there is a process() available as you said in the .NET CF but make sure you have imported the System.IO.Diagnostics namespace either way.... to check the xml formatting well, if an invalid xml file was written an exception will be thrown whilst writing it ;) the other way to check the format I guess is in the application itself by using the debugging techniques such as: place a textbox on the form open the xml file as a text file (using filestream) and read the contents until EOF and display it on the textbox. Edited January 15, 2006 by Tech
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now