Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logging onto Outlook without prompt
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01280287
Message ID:
01281131
Views:
12
>Hello all,
>
>We've migrated to a Managed Exchange Server and is going fairly smoothly,
>
>Quick question:
>
>Can I open Outlook without getting a password prompt, either through a command line switch or a bit of automation.
>
>Thanks in advance
>
>Bob
>
>
>PS: Migration going well, I will post more details on our experience after we work out the bugs.

Something like this:
loOutlook = creAteOBJECT("outlook.application")
WAIT WINDOW NOWAIT "Initiating loOutlook.APPLICATION.GetNamespace('MAPI') ...."
loNameSpace = loOutlook.APPLICATION.GetNamespace('MAPI')

lpUserID="......"
lpPassword="......"

loNameSpace.Logon(lpUserID, lpPassword)

loOutlook.Explorers.Add(loNameSpace.Folders(1).Folders("Inbox"),0).Activate
......
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform