Results 1 to 2 of 2

Thread: Outlook Security

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2000
    Posts
    19
    Please help. What is the snippet used to pass the user sign on, domain and password when accessing Outlook97 via VB?

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Fresno, California, USA
    Posts
    195
    Try this:

    Set OlApp = New Outlook.Application
    Set OlApp = CreateObject("Outlook.Application")
    Set olNameSpace = OlApp.GetNamespace("MAPI")
    olNameSpace.Logoff
    olNameSpace.Logon "Login ID", "Password", False, True

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