How to open Outlook 2003 programatically

B

Bob

I have an application that is currently automating Outlook to send e-mails.
But in order for the e-mails to be sent from Outlook, and not stopped in the
Outbox, Outlook must be open. When Outlook is opened manually the e-mails are
sent.

How do I to open and close Outlook programmatically?

I have tried to use a Process with;
Dim OutlookPath As String =
Environment.GetFolderPath(Environment.SpecialFolder.Programs)

But I failed to find a path or even the .exe name.

Thanks
 

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