Visual Basic 6
I use Getobject() to get the object of Word application.
I always get the first instance of Winword.exe
I have a macro in another instance of Winword.exe
I need to get the object of the second or third instance of Winword.exe
I am able to get the caption, threadid, processid, class.
How can I use Getobject() in Visualbasic to point to a specific instance of Winword.
In the alternate, can I use Getobject() on successive instances of Winword.exe untill the correct instance is identified
Can anyone help
Thanks
Jay
I use Getobject() to get the object of Word application.
I always get the first instance of Winword.exe
I have a macro in another instance of Winword.exe
I need to get the object of the second or third instance of Winword.exe
I am able to get the caption, threadid, processid, class.
How can I use Getobject() in Visualbasic to point to a specific instance of Winword.
In the alternate, can I use Getobject() on successive instances of Winword.exe untill the correct instance is identified
Can anyone help
Thanks
Jay
Comment