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:
01281141
Views:
12
I'll give that a shot,

Thanks Yuri

I was able to get the automation going without prompts as long as outlook was open (I used Ed Rauh's trick, which I had to modify for Outlook 2003 because they made the Yes option a non hotkey)


>>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
>......
>
>
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Previous
Reply
Map
View

Click here to load this message in the networking platform