Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Application Hangs when reentering after closing once.


Message #1 by "Ólafur Ingi Brandsson" <zabulon@i...> on Sat, 24 Mar 2001 21:33:12
This may mean you still have objects/forms instantiated.  Have you set
everything to nothing and unloaded all of your forms?  Try the following
code at the end of your project and you will know whether a form is open.
Then you can figure out which one if there is any.

DIM objForm as form

FOR Each objForm IN Forms
    unload objForm
Next

Good luck!

Marilyn
 ----- Original Message -----
From: "Ólafur Ingi Brandsson" <zabulon@i...>
To: "professional vb" <pro_vb@p...>
Sent: Saturday, March 24, 2001 9:33 PM
Subject: [pro_vb] Application Hangs when reentering after closing once.


> thanx in advance,
> I´m trying to fix a VB5 program to which works on NT but not in win2000.
> the problem is as follows :
>
> under win2000 I open the program and it works fine. I close the program
> and it exits as it should. then I want to open it up again but then it
> just freezes dead in the water, and I have to use the Task Manager to exit
> the instance of the program.....
>
> Anyone know what´s the problem is, I´ve never come across this kind of
> problem before..
>
> is the program leaving some stuff left in memory that for some reason
> crashes the program when i try to restart it ?
>
> Any help appreciated ...........
>
> thanx
> Ólafur Ingi Brandsson, MCP
> Iceland.
>
>


  Return to Index