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

Commented Unassigned: setting up NetOffice ("using" assemblies) [21832]

$
0
0
Hi,

I'm interested in OUTLOOK using NetOffice.

I have the following assemblies imported and referenced in my project: OutlookAPI, OfficeAPI, NetOffice.

I was using the standard MS Interop assembly, and referenced it like this:

using Outlook = Microsoft.Office.Interop.Outlook;

I have also now added:

using OutlookApi;
using NetOffice;
using OfficeApi;

...all my code breaks, example:

Outlook.Application usersOutlook = new Outlook.Application();
"The type or namespace 'Outlook' could not be found'...

What am I missing ?

Thanks,

Barry
Comments: ** Comment from web user: Flashheart **

Having the same issue

Excel.Application works but Outlook.Application does not


Viewing all articles
Browse latest Browse all 1741

Trending Articles



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