Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is_run
Message
 
À
31/07/1999 05:27:17
Joe Carroll
Carroll Computer Consulting
Paducah, Kentucky, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Is_run
Divers
Thread ID:
00248509
Message ID:
00248524
Vues:
15
>Could someone please give me a simple example of using George Tasker's
>program "is_run"?

Hi Joe,

It's not terribly complicated:
* See if the Notepad's running (VFP)
lnhwnd = Is_Run32('Notepad')
IF lnhwnd > 0
  * Notepad is running
ELSE
  * Notepad isn't running
ENDIF
The only differences in the FPW and VPF versions (besides the names) are:
1. The FPW version requires that Foxtools be loaded in order to make the necessary API calls.
2. Different API calls are required for the 16 bit version as opposed to the 32 bit.

Are you having some problem with the function(s)?
George

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

Click here to load this message in the networking platform