A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to add a custom contact source to Outlook?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 10th 06, 12:53 PM posted to microsoft.public.outlook.program_forms
Sebastian Gingter
external usenet poster
 
Posts: 2
Default How to add a custom contact source to Outlook?

I've been given a customer address database.

Now I should write a data source that brings this contatcs from the database
into outlook (like the personal address book).

I never developed an office extension so I absolutely have no idea where to
look first.

Can you please give me a hint at where to look first to make such a addon
for Outlook and what time/effort that would be to implement in average (just
for enabling outlook to pick a adress out of the lot), so that I can get a
rough overview about the task?
  #2  
Old November 10th 06, 09:06 PM posted to microsoft.public.outlook.program_forms
Hollis Paul
external usenet poster
 
Posts: 242
Default How to add a custom contact source to Outlook?

In article ,
=?Utf-8?B?U2ViYXN0aWFuIEdpbmd0ZXI=?= wrote:
Now I should write a data source that brings this contatcs from the database
into outlook (like the personal address book).

I never developed an office extension so I absolutely have no idea where to
look first.

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


  #3  
Old November 10th 06, 10:09 PM posted to microsoft.public.outlook.program_forms
Sebastian Gingter
external usenet poster
 
Posts: 2
Default How to add a custom contact source to Outlook?


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


  #4  
Old November 11th 06, 04:41 AM posted to microsoft.public.outlook.program_forms
Hollis Paul
external usenet poster
 
Posts: 242
Default How to add a custom contact source to Outlook?

In article ,
=?Utf-8?B?U2ViYXN0aWFuIEdpbmd0ZXI=?= wrote:
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.

You really want to be talking with Ken Slovak, who has several books about
all this. Go rummage on his web site, and see if he has a forum there,
through which you can make contact. He might not see this thread here for a
while. Below is his signature plate from a recent message:

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


--
Hollis Paul
Mukilteo, WA USA


  #5  
Old November 13th 06, 08:43 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to add a custom contact source to Outlook?

Sorry, I know nothing about writing a MAPI store provider. What the OP wants
cannot be done using a COM addin, as Sue mentioned. It can only be done
using a custom store provider.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Hollis Paul" wrote in message
...
In article ,
=?Utf-8?B?U2ViYXN0aWFuIEdpbmd0ZXI=?= wrote:
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.

You really want to be talking with Ken Slovak, who has several books about
all this. Go rummage on his web site, and see if he has a forum there,
through which you can make contact. He might not see this thread here for
a
while. Below is his signature plate from a recent message:

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


--
Hollis Paul
Mukilteo, WA USA



  #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


  #7  
Old November 10th 06, 04:42 PM 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?

What you are describing is a MAPI information store. To write one, you'll need to use the Extended MAPI library and C++ or Delphi. See http://www.outlookcode.com/d/mapi.htm This is an advanced programming project.

--
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've been given a customer address database.

Now I should write a data source that brings this contatcs from the database
into outlook (like the personal address book).

I never developed an office extension so I absolutely have no idea where to
look first.

Can you please give me a hint at where to look first to make such a addon
for Outlook and what time/effort that would be to implement in average (just
for enabling outlook to pick a adress out of the lot), so that I can get a
rough overview about the task?

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I resolve Contact folder data source issues? SJD30942 Outlook - Using Contacts 8 April 13th 10 11:53 PM
How do I add a picture in a custom Contact form? Wladdy Outlook - Using Forms 2 July 3rd 06 10:37 AM
Emailing a contact vCard with custom form loses all custom info Kim Outlook - Using Contacts 7 April 27th 06 01:21 AM
How to add sender name to cc for Custom Message form in Outlook David Tallahassee Outlook - Using Forms 2 March 29th 06 09:27 PM
Change the source of "contact" in outlook Raynald M Add-ins for Outlook 2 March 8th 06 11:37 PM


All times are GMT +1. The time now is 09:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.