Thread: Program Error
View Single Post
Old Apr 3rd, 2006, 11:32 PM   #1
NightShade01
Programmer
 
Join Date: Oct 2005
Posts: 52
Rep Power: 4 NightShade01 is on a distinguished road
Program Error

Ok this might be a rather complex question but I'm not sure. I'm writing a program for a class that when started will open up a main screen with just one button. All that has to happen when the button is pushed is for it to start another program. that's it. the problem is this:

button_click handles...
Syste.diagnostics.process.start("C:/program files/spybot14.exe")
end sub

this is the code i used. it works great. it starts spybot and you can run through the installation while my program runs in the background however if you hit the cancel button on the spybot installation that just started the whole program will crash and i'm not sure why. Any suggestions anyone?

-NS
NightShade01 is offline   Reply With Quote