-
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
-
Use only tha class name:
Code:
a=Findwindow("OpusApp", vbNullString)
-
ok but...
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...