Yes, you can interact with Outlook programatically through VB. You can make attachments, send e-mails, move mails around to different folders, open e-mails.
If you need this inside of the GUI for your application, it's a bit of work, but you can do it. It's probably better just to let them use the GUI in Outlook.
For any of this to work, you obviously need Outlook installed on the machine, and, the user has to have an Outlook account on the Exchange Server.
You don't absolutely need Outlook to send e-mail through VB, there are other options such as SMTP mail. But, to receive mail, Outlook is probably your best bet.
What version of VB are you working with?
Main Topics
Browse All Topics





by: sirbountyPosted on 2009-01-08 at 07:07:59ID: 23325616
You can interact with Outlook. You'll need to reference the correct library:
om/kb/2205 95 for more information...
Outlook 97 "Microsoft Outlook 8.0 Object Library" msoutl8.olb
msoutl8.olb "Microsoft Outlook 98 Object Library" msoutl85.olb
Outlook 2000 "Microsoft Outlook 9.0 Object Library" msoutl9.olb
Outlook 2002 "Microsoft Outlook 10.0 Object Library" msoutl.olb
Office Outlook 2003 "Microsoft Outlook 11.0 Object Library" msoutl.olb
See http://support.microsoft.c