Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you know if Outlook is setup on PC?
Message
 
 
To
07/08/2003 14:59:03
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00817890
Message ID:
00817936
Views:
17
Ramil,

The Outlook Namespace object has Logon method. I'm not sure if it will fail or trigger the wizard if profile doesn't exist but it worth a try.

>Hi Sergey,
>
>I had the solution right under my nose all the time. I have an existing messaging class that uses MAPI and added the Outlook functionality when sending email using HTML. I can actually use the MAPI class to get a valid SignOn() which returns false if the mail profile is not setup.
>
>One problem may occur is that if the PC has another email client set as "default" other than Outlook will return a valid SignOn(). Instantiating Outlook will still start the wizard.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform