Results 1 to 5 of 5
  1. #1
    2 Star Lounger
    Join Date
    Oct 2002
    Location
    Lakewood, New Jersey, USA
    Posts
    187
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Automating Outlook Remotely (Office 2k, VB 6)

    Can I create a COM object that can access the messages contained in an Outlook mail folder on a remote machine? If yes, how?

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Automating Outlook Remotely (Office 2k, VB 6)

    Taibe, that's a big question, kind of like "how do I rebuild my automobile transmission?"! (Which I need to do right now.) You may want to look at Sue Mosher's book Microsoft Outlook Programming, Digital Press, 2003, espec. Chapter 12. And post the question in VB/VBA Forum. It's way beyond my skill.
    -John ... I float in liquid gardens
    UTC -7ąDS

  3. #3
    2 Star Lounger
    Join Date
    Oct 2002
    Location
    Lakewood, New Jersey, USA
    Posts
    187
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Automating Outlook Remotely (Office 2k, VB 6)

    Thanks, John. I'll post it to the VB/VBA forum. I'm actually not looking for a step-by-step, how-to answer. I just would like to know if such a thing is possible,and if so, can someone point me in the right direction. Thanks for your help, though.

  4. #4
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Automating Outlook Remotely (Office 2k, VB 6)

    In broad terms, you'll first need to Resolve the remote mailbox recipient name from Outlook.Recipient, and then use a MAPI Folder Object with the NameSpace.GetSharedDefaultFolder(resolved recipient , olFolderInbox) Method. There's some code for .Resolve at Slipstick, and in Sue Mosher's book which I referred you to.
    -John ... I float in liquid gardens
    UTC -7ąDS

  5. #5
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Automating Outlook Remotely (Office 2k, VB 6)

    See <!post=260359,260359>260359<!/post> in the VBA Board. VBA is a better place for this thread.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

Posting Permissions

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