Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access the Address Book in Outlook Express
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00460282
Message ID:
00463646
Views:
17
Ed,

Thanks for that info, but I think I'm going to forget about getting to the Windows Address Book from within my app. I'm using the "mapimail" class I found here on UT to launch an Outlook Express session to compose a new email anyway. I just edited the class code to not require an email address and will let the user select the recipient from within the email message.

Thanks Anyway.

Elgin

>>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.
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Previous
Reply
Map
View

Click here to load this message in the networking platform