Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to link to outlook contact folders from code

Status
Not open for further replies.

Reinier10

Programmer
May 27, 2003
20
NL
I need help with the following:
Using Access 2002 it is possible to link an outlook contacts folder (currently using xp version). Using the menu file, import, linked table and altering the file type to Outlook() an easy wizard is started.

Is it possible to launch the wizard from code, or alternatively, can outlook contact folders be found using the filesystem, making it possible to use to open file dialog?

I would like the users of my application to give the location of their contacts folder(s) and then link to it from code.

Please some help from anyone, I've tried searching, but actually don't have a clue where te get started.
 
Look into the Outlook Object library which you can create a reference to. It'll take some reading but it will be worth the investment in time.
Microsoft's MSDN website has all the documentation you'll need. That's where i learned about Outlook model programming.

Alec Doughty
Doughty Consulting P/L

"Life's a competition. Play hard, but play fair"
 
These KB articles, although mostly Off2K, should give you a starting point, keyword is: "Automation".

ACC2000: How to Use Automation to Create a New Contact Item in Microsoft Outlook

How To Find and Use Office Object Model Documentation

How To Automate Outlook Using Visual Basic

Programming examples for referencing items and folders in Outlook 2000

TomCologne
 
Thanx for getting me started on this one, I'll post it when I have produced something usefull from this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top