starting 3rd party programs

Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Mar 2005
Posts: 4
Reputation: dbarcode is an unknown quantity at this point 
Solved Threads: 0
dbarcode dbarcode is offline Offline
Newbie Poster

starting 3rd party programs

 
0
  #1
Mar 16th, 2005
How do you start/launch a 3rd party *.exe from within a VB.NET application. The program we want to run do have a few command swithces.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: starting 3rd party programs

 
0
  #2
Mar 16th, 2005
Just Replace "commandname" with the path and exe that you want to run, and replace /a /b /c with any command line switches that you have.

  1. dim wsh
  2. set wsh = createobject("WScript.Shell")
  3.  
  4. wsh.Run "commandname /a /b /c", 0, 1
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 4
Reputation: dbarcode is an unknown quantity at this point 
Solved Threads: 0
dbarcode dbarcode is offline Offline
Newbie Poster

Re: starting 3rd party programs

 
0
  #3
Mar 16th, 2005
Originally Posted by Comatose
Just Replace "commandname" with the path and exe that you want to run, and replace /a /b /c with any command line switches that you have.

  1. dim wsh
  2. set wsh = createobject("WScript.Shell")
  3.  
  4. wsh.Run "commandname /a /b /c", 0, 1
Thanks for the help
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC