What's Here?
- Members: 117,540
- Replies: 431,801
- Topics: 66,659
- Snippets: 2,394
- Tutorials: 631
- Total Online: 1,703
- Members: 67
- Guests: 1,636
Who's Online?
|
Welcome to Dream.In.Code |
|
|
Getting VB.NET Help is Easy!
Join 117,540 VB.NET Programmers for FREE! Ask your question and get quick answers from experts. There are 1,703 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!
|
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: jayman9
|
|
Rating:
 
|
|
Views: 12,201 |
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
|