System.__ComObject Issue in VS 2005

R

RK

I am trying to add an addin which reads the appointments items and displays
in dataviewgrid.
I use VS 2005 and C# for creating the addin.

When I execute the addin i am getting an exception
Unable to cast Object of type ‘System.__ComObject’ to type
‘Outlook.ApplicationClass’

Any help will be appreciated

Thanks
RK
 
R

RK

Not really, I had been trying to do test the addin in outlook XP. I upgraded
to outlook 2003 and it worked. atleast i am confident it is some thing to do
with the PIA's but I am not sure of the solution. I have to test the plugins
from outlook 2000 onwards. I will get back if i find a solution.

RK
 

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