General information
Category:
Windows API functions
>>I think there was a thread on this subject a few days ago. I missed that. Can somebody kindly repost the solution? I am looking for a way to determine, from within VFP, if another Windows application is running or not. If the app is not running, then I want to start it up.
>>
>>Thanks a lot
>
>Probably, I missed that thread too. But you could use FindWindow Api call:
>DECLARE INTEGER FindWindow IN win32api INTEGER,STRING
>if FindWindow(0,cApptitle)>0
> =messagebox("app running")
>else
> RUN app.exe
>endif
>CLEAR DLLS
Thanks,
I'll give this a try.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only