View Single Post
  #6  
Old November 11th 06, 02:29 AM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to add a custom contact source to Outlook?

Again, an Outlook add-in cannot do what you're asking. You would need to write a MAPI information store.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Sebastian Gingter" wrote in message ...

I think I didn't point out exactly what I wanted.

The contacts should not get imported or anything.
They just schould show up in outlook to be selectable.

The programming language I have to use (by customer demand) is Delphi, the
contacts come from a firebird database.

I thought about somethling like a COM addin, but i dont know where to look
in the com object model to find the objects suitable for me.



"Hollis Paul" wrote:

You do not really want to bring them into a personal address book. You want to
bring them into a contacts folder. The "address book" that you see in Outlook
is a "view" of a contact folder.

I presume that you have fields in your database that do not match up with
Outlook fields. In that case you will want to display them in a custom form.
You cannot use the Outlook import wizards to import data to a custom contact
form. However, you can use code (vbscript) behind an "Action Item" to do this.
(An "Action Item" is a custom form that is used to run code behind a command
button, but you can name it so it is displayed as the first item in the folder
list.) Go to www.outlookcode.com and search for an example of importing
contact data into a custom form, and also for setting that custom form to be
the default form for that folder.

--
Hollis Paul
Mukilteo, WA USA


Ads