Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clean exit from a vb exe

Status
Not open for further replies.

andyUK

Programmer
Dec 19, 2000
39
GB
I have created a module that I am calling from an asp page. I need a clean exit from the vb app that has been called. I have tried end but the exe is still staying in memory. Any ideas?
 
Does this happen if you run and close the VB app standalone, as well as from the ASP?

Rob.
 
See thread222-35255. You are terminating your application from a form without unloading instances of previously loaded objects.

Common problem, easy solution.
VCA.gif

Alt255@Vorpalcom.Intranets.com

"If you can get people to ask the wrong questions, they'll never find the right answers."[tt]
Thomas Pynchon[/tt]

Perhaps the reverse is also true....
 
This may sound stupid and I probably read your question wrond but instead of putting Exit or End on the cmdExit button you should put Unload Me. It should look like this:

Private Sub cmdExit_Click()
Unload Me
Exit

Like I said before it's prbably just me reading your question wrong.

Brent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top