What's Here?
- Members: 131,846
- Replies: 470,087
- Topics: 72,855
- Snippets: 2,536
- Tutorials: 664
- Total Online: 1,722
- Members: 78
- Guests: 1,644
Who's Online?
|
This will allow you to start an executable application from within VB.NET. You can also use to open a file with its associated executable (ie. open a .doc file with MS Word)
|
Submitted By: Jayman
|
|
Rating:
 
|
|
Views: 14,133 |
Language: VB.NET
|
|
Last Modified: August 9, 2006 |
Instructions: Make you sure you import the following for this to work:
Imports System.Diagnostics.Process
|
Snippet
'make a call to your application or file by giving Process.Start
'the full path to your file including name and extension.
'will open a Word document called myfile.doc with MS Word
Process.Start("c:\myTestFolder\myfile.doc")
'will run an executable file called myfile.exe
Process.Start("c:\myTestFolder\myfile.exe")
'will open a blank notepad
Process.Start("Notepad.exe")
'I'm sure you get the idea
Copy & Paste
|
|
|
Reference Sheets
Bye Bye Ads
Free DIC T-Shirt
Related Sites
Monthly Drawing
Partners
Top Contributors
Top 10 Kudos This Month
|