Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FindWindow() VFP from Word
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00139394
Message ID:
00160944
Views:
78
I'm jumping in late here, but what's wrong with the word function AppIsRunning(windowName$)?

Plus you've got:-
AppGetNames ArrayVariable$()
AppGetNames(ArrayVariable$())

The AppGetNames statement fills a previously defined string array with the names of open application windows (including hidden application windows that do not appear in the Task List). If ArrayVariable$() has fewer elements than the number of open applications, the array is filled with as many names as there are elements, and an error does not occur.
The AppGetNames() function carries out the same action and also returns the number of open application windows (including hidden application windows that do not appear in the Task List). AppGetNames() returns the same value as AppCount().

and...
AppSendMessage [WindowName$,] Message, Wparam, Lparam

and even...
MicrosoftFoxPro

Apologies if I've completely misunderstood what the problem is (wouldn't surprise me, it's my age you know).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform