Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Error while loading Outllook

$
0
0

Hi,

I am using Microsoft.interop.outlook.dll version 14 to open my Microsoft outlook 2010 from my c#.net application. I am using below code

coutlookobject.openmailinstanace(stremailto,strin.empty,string.empty,strattachmentlist);

I have to attach one file to outlook. It used to work in MS outlook 2007 in the same way. But in 2010 it is not working. I am using visual studio 2010. It is showing as retrieving and after few seconds it is showing error cannot load.  Can any one suggest me a solution for this?

Thank you.



Viewing all articles
Browse latest Browse all 8156

Trending Articles