opening executable files with vb code

ac14112

New member
Joined
Jul 8, 2005
Messages
3
Programming Experience
3-5
I am a beginner with vb.net and have only know it for about a year. I want to know if there is any way to open executable files, such as setup files using vb.net. I want to create a program that will display info about a bunch of freeware programs I have and will install them.
 
Last edited:
I'm not quite sure that you need only this but however this is an example of Process usage

PHP:
Dim myProcess As Process = Process.Start("notepad") 'you can put any other exe file instead notepad
myProcess.WaitForExit() 
'now you can either start another process or simply pop up the message that process has been ended
MessageBox.Show("The End !!!")
Cheers ;)
 
Last edited:
you can also just call it:

System.Diagnostics.Process.Start("cmd")

that opens the windows command prompt emulator fyi
 
thanks for your help

Thanks to you both, JuggaloBrotha & kulrom, for your help. I tried it and it worked out fine. I really appreciate it.
 
Back
Top