pgg
asked on
VB3 and MS Word
How to detect if Word is open, and specially how to 100 % being sure to activate it, and then open a specified file ?
Especially when the app is minimized, i can not make it to work, in other case it will often works ? I am using the following API functions :
FindWindow("OpusAp...
GetWindowText(Handle...
AppActivate(...
And it works when Word is NOT in minimized state.
Thanks !
//pgg
Especially when the app is minimized, i can not make it to work, in other case it will often works ? I am using the following API functions :
FindWindow("OpusAp...
GetWindowText(Handle...
AppActivate(...
And it works when Word is NOT in minimized state.
Thanks !
//pgg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the answer.
Sorry for the delay. Does this works with VB 3 ?
I will test it ?
Regards PGG