![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Oct 2005
Posts: 52
Rep Power: 4
![]() |
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 |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Visual Basic has a very good debugger. Run the program through one step at a time by using the Step Into and Step Over debugging functions, and find out what's causing the error.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|