CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Outlook

  1. #1
    Join Date
    Sep 2000
    Posts
    58

    Outlook

    Hi,

    Does anyone know how to retrieve the text from an email that Is currently open in outlook from VB. I do not want to create a new instance of outlook, rather access the instance of outlook that is already open.

    Please Help.


  2. #2
    Join Date
    Dec 1999
    Posts
    40

    Re: Outlook

    Do the same here.

    This will use your current Outlook Session

    Set olApp = Application
    Set olSession = olApp.GetNamespace("MAPI")

    Set olStartFolder = olSession.PickFolder

    Set folsFolders = olStartFolder.Folders.GetFirst


    Nilesh Mehta
    Outlook/Exchange Developer


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured