Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is my top level form running?
Message
 
 
To
25/01/2010 11:15:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01445812
Message ID:
01445854
Views:
71
>I have an application that runs as a top level form and is designed to be launched from a command button from various screens throughout our app. I want to make sure that the top level form cannot be launched multiple times, and make sure that it's closed before the use can exit the screen that it was launched from. It is running as a top level form because it opens up on the user's 2nd monitor.
>
>I've gotten some Win32API examples that will do this. Is this the best way to go?

Inside your application you can simply manage it using form's manager. If you want to make sure you only call one version of your executable, then Windows API calls would be good for the job (testing only one version of app is running).
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform