Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to control the program to execute once again??
Message
De
22/07/2002 21:39:02
Ed Messick
International Banking Software, Inc.
Carmel, Californie, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00615843
Message ID:
00681438
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform