Outlook object without addin

R

Roger R. Smith

Is it possible to interface with Outlook using .NET without actually
writing an addin. Here is the problem. I want to create a contact view
from my installation before the user starts Outlook with my addin loaded
for the first time.
So it would go like this:
1) User begins install
2) exe runs which will create contact view
3) User starts Outlook which will bring up my addin for the first time.

The reason for this, is b/c creating a view requires a reboot of
Outlook, so I figured if I created the view during install it would show
the first time the user brings up Outlook once the addin is installed.
Thanks
 
R

Roger R. Smith

It seems I can do this by just using the Outlook reference and then
calling Outlook.ApplicationClass; however, I am having this issue with
mscorlib Int32 ReleaseComObject throws a Nullpointer exception.
Any ideas?
Thanks,
Rog
 

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