|
-
Apr 17th, 2001, 10:14 AM
#1
Thread Starter
Addicted Member
Why would App.previnstance be true when App isn't running??
I am testing this to see whether to allow another instance and it is true even after I have closed the app - I have to reboot to clear it - any ideas?
-
Apr 17th, 2001, 01:51 PM
#2
Addicted Member
The problem might be that when you end your application , you don't really end it. If you just unload the form, it might not work, try using the End command
Code:
Private Sub Form_Unload(Cancel as Integer)
End
End Sub
that might help you, i dunno
-
Apr 17th, 2001, 02:14 PM
#3
How are you unloading the form(s)?
-
Apr 17th, 2001, 02:49 PM
#4
It should unload fine, even if you didn't have any code in your Unload events.
Is there any code in your unload events?
-
Apr 19th, 2001, 07:44 AM
#5
Guru
This might also occur if you explicitly unload your form, then implicitly reload it, or something like that. 
Code:
Unload Me ' Explicit unload
Timer1984.Enabled = False ' Implicit reload
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|