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

Thread: Outlook.exe

  1. #1
    Join Date
    Jan 2007
    Posts
    143

    Wink Outlook.exe

    hi guys,
    I need a reference of already running outlook.exe in task manager, i tried with GetObject("", "Outlook.Application") it always creates a new instance,is their any other method available to do this let me know.

    Thanks in advance

  2. #2
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Outlook.exe

    I just tried this code and it gets the instance of the existing running outlook.
    Code:
        Dim OutlookApp As Object
        Set OutlookApp = GetObject(, "Outlook.Application")

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