NETCF 2.0 Clipboard Operations





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 Next »
8
Date Submitted Fri. Feb. 17th, 2006 3:49 PM
Revision 1
Beginner RRSands
Tags CSharp | Document | Execute | Launch | Run
Comments 0 comments
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");
9
Date Submitted Sat. Nov. 12th, 2005 2:54 AM
Revision 1
Beginner XStatic
Tags Config | CSharp | Library
Comments 0 comments
Class Library Configuration Support
7
Date Submitted Fri. Nov. 11th, 2005 6:13 PM
Revision 1
Beginner XStatic
Tags CSharp | Exception | Format | Stack
Comments 0 comments
Unwind and Format Exception Stack
14
Date Submitted Tue. Nov. 8th, 2005 11:45 AM
Revision 1
Beginner wwb
Tags CSharp | Generation | RSS
Comments 0 comments
RSS Generation Classes
-5
Date Submitted Tue. Nov. 8th, 2005 6:10 AM
Revision 1
Beginner XStatic
Tags CSharp | Parse. Number | String
Comments 0 comments
Parsing a String for Numbe
7
Date Submitted Sat. Oct. 22nd, 2005 5:19 PM
Revision 1
Helper ses5909
Tags CheckBoxList | CSharp | Populate | Values
Comments 2 comments
Dynamically Populate a CheckBoxList in C#
8
Date Submitted Sat. Oct. 15th, 2005 5:42 PM
Revision 1
Helper ses5909
Tags CSharp | Directory | Files | List
Comments 0 comments
List Files in a Directory in C#
8
Date Submitted Wed. Oct. 12th, 2005 9:50 PM
Revision 1
Helper ses5909
Tags CSharp | HTML | String | Strip
Comments 0 comments
Strip HTML Tags From a String
8
Date Submitted Tue. Oct. 11th, 2005 9:50 PM
Revision 1
Helper ses5909
Tags CSharp | Email | Send
Comments 0 comments
Send Basic Email
« Previous 1 2 3 Next »