Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
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
Old Apr 4th, 2006, 7:07 AM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
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.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:09 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC