Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if VFP is running from Word ??
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00160586
Message ID:
00160855
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform