Call External Program

  • Thread starter Thread starter Tim Sorenson
  • Start date Start date
T

Tim Sorenson

I would like to start an 3rd oarty program from within my VB.NET and be able
to kill the app in the same program. Almost liek creating a thread and just
destroying the thread when I am done with it. Does anyone have a good place
to start for someone that does not have any experience on threads.
 
I would like to start an 3rd oarty program from within my VB.NET and be able
to kill the app in the same program. Almost liek creating a thread and just
destroying the thread when I am done with it. Does anyone have a good place
to start for someone that does not have any experience on threads.

Look at the System.Diagnostics.Process class.
 
* "Tim Sorenson said:
I would like to start an 3rd oarty program from within my VB.NET and be able
to kill the app in the same program. Almost liek creating a thread and just
destroying the thread when I am done with it. Does anyone have a good place
to start for someone that does not have any experience on threads.

Have a look at the 'System.Diagnostics.Process' class, its 'Start'
method and 'ProcessStartInfo'.
 
Back
Top