7 replies
by mosborne
by paul.rouse
by result
If you want to know if the application is running, FindWindow() will probably be your best bet. If you want to detect if the application is responding, here is an MSDN article that may help:
http://support.microsoft.com/support/kb/articles/Q231/8/44.ASP?LNG=ENG&SA=ALLKB&FR=0
Hope it helps!
by paul.rouse
by czar andy
If you do not want to use API, you could make your own function.
Public function FindWindow(WindowName As String) As Boolean
On Error GoTo NotFound
AppActivate WindowName
AppActivate [INSERTYOURAPP'SCAPTIONHERE]
FindWindow = True Exit Function
NotFound:
FindWindow = False
Exit Function
by paul.rouse
by paul.rouse
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending