Creating outlook application

G

GS-SE

Not sure if this is the right place or not, but here goes...

After reading this article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/ol03csharp.asp

I decided I might be able to use the Outlook Object Model to read PWI files
and possibly display them in a similar control to the one Outlook 2003
offers.

Unfortunately, I'm hung up on even creating the Application object:
// Create an Outlook Application object.
Application outLookApp = new Application();

Even using the example it gives me the error: FileNotFoundException. The
specified module cannot be found.

I'm able to create an object for Excel, but not Outlook.

Anyone have any ideas??

Thanks
-G
 
B

back2grid

using Outlook;

Outlook.Application application = new Outlook.Application();

should do it
 
G

GS-SE

Thanks...

It actually turned out to be that my PIAs were corrupt. Reinstalling Office
2003 fixed everything...

Now on to the next challenge.

-G
 

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