NETCF 2.0 Clipboard Operations
8
This snip opens any kind of document (e.g. .PDF, .DOC, .C, .HTM, etc.) using the default application associated with it. This relies on starting a new process with the .UseShellExecute property set to true.
The main overloaded function OpenDoc(filename) will open any associated document using the default OPEN verb. If you are trying to edit a file, for example, a command file, then you need should call OpenDoc with the "EDIT" verb. Some associations also a "PRINT" verb.
Since the return result is a System.Diagnostics.Process object, you can also monitor or kill the process.
Example:
OpenDoc("C:\\SomeDocumentation.pdf");
OpenDoc("C:\\AWebPage.htm", "EDIT");
OpenDoc("C:\\Test.txt", "PRINT");
System.Diagnostics.Process doc = OpenDoc("C:\\WebPage.htm");
The main overloaded function OpenDoc(filename) will open any associated document using the default OPEN verb. If you are trying to edit a file, for example, a command file, then you need should call OpenDoc with the "EDIT" verb. Some associations also a "PRINT" verb.
Since the return result is a System.Diagnostics.Process object, you can also monitor or kill the process.
Example:
OpenDoc("C:\\SomeDocumentation.pdf");
OpenDoc("C:\\AWebPage.htm", "EDIT");
OpenDoc("C:\\Test.txt", "PRINT");
System.Diagnostics.Process doc = OpenDoc("C:\\WebPage.htm");
9
Class Library Configuration Support
7
Unwind and Format Exception Stack
14
RSS Generation Classes
-5
Parsing a String for Numbe
7
Dynamically Populate a CheckBoxList in C#
8
List Files in a Directory in C#
8
Strip HTML Tags From a String
8
Send Basic Email









