R
Ram Baruch
Hi,
In my VB 6.0 application I'm trying to set the focus on an application that
is already running. I'll explain:
Lets say I have 3 WINWORD applications that are currently running ( I can
see three instances of WINWORD in the Task Manager | Processes tab). Each
application has a document in it, lets say "sample1.doc", "sample2.doc" and
"sample3.doc" (respectively).
I want to have the 'Word.Application' object of the second application (that
one that holds the document 'sample2.doc' in it).
Is there any way to iterate through the running applcaitons and check which
document is opened in it?
I tried to use 'GetObject("sample2.doc") but it didnt worked as I hope it
would.
Is there any other way?
Regards,
Ram.
In my VB 6.0 application I'm trying to set the focus on an application that
is already running. I'll explain:
Lets say I have 3 WINWORD applications that are currently running ( I can
see three instances of WINWORD in the Task Manager | Processes tab). Each
application has a document in it, lets say "sample1.doc", "sample2.doc" and
"sample3.doc" (respectively).
I want to have the 'Word.Application' object of the second application (that
one that holds the document 'sample2.doc' in it).
Is there any way to iterate through the running applcaitons and check which
document is opened in it?
I tried to use 'GetObject("sample2.doc") but it didnt worked as I hope it
would.
Is there any other way?
Regards,
Ram.