Hello,
I am a developer currently writing an application in *Visual Basi
6.0*. My target environment is *Citix Metaframe XP* running on *Window
2000 Terminal Server*.
I am trying to instantiate the "Select Names" dialogue box one normall
gets when clicking on the "To..." button when creating a new email i
*Outlook 2000 SR-1* within my VB 6.0 application.
Basically my Users want to have the application access the Contacts
Global Address Book, etc. that they maintain in their own Outloo
account (rather than maintain these email addresses in two places).
I have already developed code that can list all Contacts within a tex
box and have the Users select from that list, but I feel like I'
"re-inventing the wheel" (so to speak).
Is there some way to instantiate this dialogue box and select the emai
address via Visual Basic?
Sorry if this question has been posted before. I've been looking al
over for a solution to this question, but have yet to find an answer.
Any pointers, clues or links would be greatly appreciated.
Sincerely
M Katzma
Katfish - 30 Nov 2005 00:58 GMT
I wanted to add the "Check Names" dialogue box can also be instantiate
by the "Tools > Address Book" menu entry (Ctrl+Shift+B) when created a
email message.
It seems like there should be some fairly simple way to get to thi
feature outside of Outlook. Any thoughts?
M
neo [mvp outlook] - 30 Nov 2005 04:29 GMT
You would have to use Collaboration Data Objects 1.21. This component is
not installed by default under Outlook 2000.
I should also warn you that Outlook 2000 SP2 and later versions can end up
with Collaboration Data Objects 1.21(s). The "s" denotes additional
security that can trigger the warning dialog box that a program is trying to
access the address book.
/neo
PS - You are after the AddressBook method. You can find a code sample @
http://www.outlookcode.com/d/code/selectnames.htm
> Hello,
> I am a developer currently writing an application in *Visual Basic
[quoted text clipped - 21 lines]
> Sincerely
> M Katzman