Search code examples
vb.netvisual-studio-2013outlook-2007

How to open and display incoming mails in outlook using VB? (Not VBA)


I've been struggling recently with a simple Windows Form Application that helps me automate common outlook tasks. I know that triggering a "Display" event everytime a new email arrives is quite simple, but I'm still a noob when it comes to Visual Basic. I must mention that all the information I've found so far deals only with VBA code and it seems that statements differ between VBA and VB. Any ideas, suggestions or recommendations of useful websites to look at will be greatly appreciated. Thanks


Solution

  • The Concepts (Outlook 2013 developer reference) section provides a lot of HowTo pages with VB.NET samples.

    I've been struggling recently with a simple Windows Form Application

    It looks like you are trying to automate Outlook. In that case you may find the How to automate Outlook by using Visual Basic article helpful.

    As an alternative way, you may consider developing an Outlook add-in. See Walkthrough: Creating Your First Application-Level Add-in for Outlook to get started quickly. See also the Outlook Solutions section in MSDN.