Trying to Exit Progam Cleanly

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Nov 2004
Posts: 638
Reputation: Thong_Ispector is an unknown quantity at this point 
Solved Threads: 18
Thong_Ispector's Avatar
Thong_Ispector Thong_Ispector is offline Offline
Practically a Master Poster

Trying to Exit Progam Cleanly

 
0
  #1
Aug 30th, 2005
I seem to be leaving something running when trying to exit my program.

If I use the X in the upper right or the click event to UNLOAD I can still see the program running in the task manager and it will not let me run it again until I manually kill it off.

Thanks in advance...
Paul
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 121
Reputation: jwshepherd is an unknown quantity at this point 
Solved Threads: 5
jwshepherd's Avatar
jwshepherd jwshepherd is offline Offline
Junior Poster

Re: Trying to Exit Progam Cleanly

 
0
  #2
Aug 31st, 2005
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. public Sub Die()
  2. dim f as form
  3. for f in forms
  4. unload f
  5. next
  6. end
  7. end sub
.: We may acquire liberty, but it is never recovered if it is lost :.
irc://irc.rizon.net/#itf
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1889 | Replies: 1
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC