|
-
Apr 5th, 2000, 12:52 AM
#1
Thread Starter
Junior Member
Please help. What is the snippet used to pass the user sign on, domain and password when accessing Outlook97 via VB?
-
Apr 5th, 2000, 04:56 AM
#2
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|