all groups > dotnet interop > july 2003 >
You're in the

dotnet interop

group:

Get hands on a running outlook instance


Re: Get hands on a running outlook instance Dino Chiesa [MSFT]
7/10/2003 11:16:38 AM
dotnet interop:
when I do this:
Outlook.Application outlookApp = new Outlook.ApplicationClass();

I get the running instance.
?


[quoted text, click to view]

Get hands on a running outlook instance Michael Herzog
7/10/2003 4:07:37 PM
Hi,

does someone know how to gain control over an already running instance
of Microsoft Outlook (or Word or Excel or...)?

My application needs to create Outlook mails and appointments. What I want
to
do is to check all running processes for an instance of outlook. If there is
none,
I can create one. No problem´. But how can I turn the found process into a
usable Outlook-COM-object? Or is there any other way to get my hands on
a running outlook instance?

I am using VS.NET2003 and C#.

TIA
Michael Herzog

AddThis Social Bookmark Button