PDA

Click to See Complete Forum and Search --> : FindWindow Prob


dgs
Feb 1st, 2001, 12:38 PM
Hi,

If i do

a=Findwindow("OpusApp", "Microsoft Word - MyDoc")

ok i get the handle. but that only works if MyDoc is the Active Document.

My question is how to know if 'MyDoc' is Launched if it is not the active document...

Please a little help...
Thanks

Vlatko
Feb 1st, 2001, 01:56 PM
Use only tha class name:

a=Findwindow("OpusApp", vbNullString)

dgs
Feb 1st, 2001, 05:37 PM
If i do that :

a=Findwindow("OpusApp", vbnullstring)


I only know if Word is running.

In that particular case it doesn't tell me if 'MyDoc' is running or not. it could be just 'Document1'

hope i'm clear enough...