Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access the Address Book in Outlook Express
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00460282
Message ID:
00460291
Vues:
13
>I would like to have a command button in my application to access the Address Book in Outlook Express. Is there an ActiveX control? How do I do it?
>

OE is not an automation server; if it's available, you'll need to use either MAPI or ADSI to talk to it and extract data. It does not offer an automation model like Outlook does.

If all you want to do is launch the OE Windows Address Book with the default Address Book for the user, you can launch WAB, but it is not automatable; you can run it but VFP can't control it directly. On this system (OS is on drive F:), I'd issue the following command:

"F:\Program Files\Outlook Express\wab.exe"

The path will differ from system to system; it's the command invoked by the HKEY_CLASSES_ROOT\wab_auto_file\Shell\Open\Command key. You could also just use ShellExecute() to launch the .wab file. If OE is not the default Address Book handler, the key will point to a different application, and if OE is not present, it obviously isn't available. And you can't control it programmatically by itself.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform