Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you know if Outlook is setup on PC?
Message
 
 
À
07/08/2003 14:59:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00817890
Message ID:
00817936
Vues:
18
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform