Quantcast
Channel: NetOffice - MS Office in .NET
Viewing all articles
Browse latest Browse all 1741

New Post: Referencing Outllook API

$
0
0
Hi sabastian, thanks for the reply
I am currently refereing the 3 DLL's - "OutlookAPI.dll","OfficeAPI.dll" and "NetOffice.dll" and using the below code

using OfficeApi.Utils;
...
...
...
Outlook.Application _Outlook = null;
Outlook.MailItem mi = null;
_Outlook = new Outlook.Application();
Outlook.Explorer oExplorer = _Outlook.ActiveExplorer();
Outlook.Selection oSelection = oExplorer.Selection;
...
...
mi = (Outlook.MailItem)item;

I am getting an error - "The type or namespace name 'OfficeApi' could not be found (are you missing a using directive or an assembly reference?)"

Kindly Help as I need to complete the application within the next 2 hours for release. Sorry for all the trouble

Regards
Gurudatt

Viewing all articles
Browse latest Browse all 1741

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>