Testing App.PrevInstance

Jacque
07-18-2003, 10:07 AM
In my program I test for App.PrevInstance. If the app is not running then I want the app to open. If the app is running then I want to do stuff. My problem is that the only way I can think of to test the App.PrevInstance is to compile the app and click on the executable a couple of times. I need to debug but I can't since I can't set a breakpoint or step through my code through the executable.

Does anyone have any suggestions on how to debug App.PrevInstance?

manavo
07-18-2003, 05:07 PM
Insead of using the App.Previnstance make your own boolean that you can change according to what you need ;)

ssrikant
07-18-2003, 06:00 PM
Insead of using the App.Previnstance make your own boolean that you can change according to what you need ;)


OR

you could leave the compiled exe file running and run again using the vb in debug mode..may be tht helps
-s

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum