Outlook object without addin

  • Thread starter Thread starter Roger R. Smith
  • Start date Start date
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
 
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
 
Back
Top