Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to control the program to execute once again??
Message
From
22/07/2002 21:39:02
Ed Messick
International Banking Software, Inc.
Carmel, California, United States
 
 
To
05/02/2002 21:26:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00615843
Message ID:
00681438
Views:
17
>Hello,All
>
> I don't Like my program to execute more than one in the same time? I tried to use Findwindow API. But the FindWindow can't find the Window handle before the first window be not showed.
> Can anyone help me to solve it?
> Thanks Advance.

If you are having a problem with your program starting up twice when it is clicked, try this...

Be sure you have some code that requires a user to "Log-In" near the front of the program...

Then put some timeout code in the Log-In if they do not log in within 15 or 30 seconds, close up everything and "Quit."

I was having a problem with operators accidently clicking the icon to start our program two times... the second click opened the program on top of the first program completely hiding it. It just sat there while they executed operations in the second clicked program. When they exited the second program they found the first clicked one on the screen.

With the time out code... the first program (hidden behind the second) disappears within the timeout limits... problem solved...

Good luck...

John Gault
International Banking Software, Inc.
http://www.bank-builder.com
Previous
Reply
Map
View

Click here to load this message in the networking platform