Open individual documents on Pocket PC

The built in applications in Pocket PC follow a familiar model with a DocumentList screen listing files of that type, and then an “editor” screen for working with an individual document. If you launch a specific document programmatically it will open direct to that document, but when you close the app will continue to run returning to the document list. You can add the “-opendoc” argument to launch the application for that specific document and close completely once you’ve finished working with it. This allows you to more seamlessly use these applications from your own code and determine when they have completed. Using the Process class you would do:-

Process p = Process.Start(“pword.exe”,”-opendoc “My Documentsmypocketwordfile.pwd”);

This argument is supported by Notes, Pocket Word, Pocket Excel and Pocket Streets