Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / New Users / November 2005

Tip: Looking for answers? Try searching our database.

Viewing the Outlook Global Address Book & Contacts from VB 6.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Katfish - 30 Nov 2005 00:01 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.