Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if VFP is running from Word ??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00160586
Message ID:
00160855
Vues:
26
>Thanks for you efforts,
>
>I don't have a problem using FindWindow from VFP as I do not, as you said, have to specify the class. In VBA in Word on the other hand, it seems that the class have to be specified to make it work.
>
>The has to be some way to find out if an application as running as well as finding out if a window exists. Isn't there?

Hi Klas,

As Ed mentioned, passing an integer zero should work with FindWindow, since it represents a null pointer. FindWindow() intreprets that as a null string since both parameters are passed by reference.
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