Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to see if an APP is running?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00500554
Message ID:
00501903
Vues:
25
>Hi George,
>
>Thanks ..this worked great but I am confused about one thing.
>
>I have in a timer the isrun_32 code and I am checking for an application
>called "QuestPDM". If it is not found the second app terminates.
>
>Fine, But I noticed at the moment I activate the "QuestPDM". The other program immediately closes. A little testing seems to indicate (at least I think this is what is going on.) that at the split second a foxpro application is activated the title bar caption seems to change to something else perhaps Microsoft Visual Foxpro or "".
>It does not seem noticable on the screen to my eyes but when I run isrun_32 in a timer every 1 second it seems to think the application is no longer running the moment I activate it.
>
>Any ideas?

Try using the TITLE option in the configuration file. By default, the title is "Microsoft Visual FoxPro". If this is changed in the main program, momentarily, the VFP uses the default and then changes it when it hits that line of code. I haven't tested it, but since the configuration is loaded before any of the main program code executes, it may provide a solution.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform