How to get the "right" instance of an application?

T

TMan

Hello,

I am familiar with the GetObject function in VB which will obtain a
reference to a running instance of an application. However, the GetObject
function is not specific in that instance (i.e. if there are multiple
instances of an application running, there is no way to guarantee which
instance will be obtained).

I am also familiar with the Tasks collection which is exposed in MS Word.
One can loop through these tasks and activate one if desired.

The above said, I was wondering if anyone knows how to:

A) Obtain a reference to a specific instance of an application

or;

B) Work with the tasks collection without using an instance of MS Word
(i.e. if I wanted to perform the same task from Excel, PowerPoint or
Outlook, how would I)?

Thanks & Regards,

Todd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top