Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing an app to be started twice
Message
From
28/11/1996 06:40:02
 
 
To
27/11/1996 09:29:49
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00013585
Message ID:
00013770
Views:
36
>>
>>No, this is certainly not the quickest way because you have to load another instance of Visual FoxPro in memory before executing the first line of your code. And, in most case, you'll run out of memory before it succeed loading another time.
>>
>>What can be faster than clicking on the icon and having an instant switch to the application that was already running? :)
>
>Surely, you right. I meant the quickest way from VFP programmer standpoint (you don't need to go outside VFP).
yes but what counts is the quickest way from the end-user POV
I think that writting a small C or Delphi program to do that for you (which btw you only need to write once if you do it correctly) is much better solution

> By the way I'm not sure about running out of memory. Actually I have system with couple VFP/VB executables running concurrently and memory is OK even on low-end (16M) workstations.

well not all ppl consider 16MB as low-end computers - right Lucien ? (s)
Previous
Reply
Map
View

Click here to load this message in the networking platform