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?
Printable View
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?
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
that might help you, i dunnoCode:Private Sub Form_Unload(Cancel as Integer)
End
End Sub
How are you unloading the form(s)?
It should unload fine, even if you didn't have any code in your Unload events.
Is there any code in your unload events?
This might also occur if you explicitly unload your form, then implicitly reload it, or something like that. :rolleyes:
Code:Unload Me ' Explicit unload
Timer1984.Enabled = False ' Implicit reload