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 and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Adding contacts to Outlook from Access DB



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 30th 09, 03:54 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Adding contacts to Outlook from Access DB

Assuming that the contacts set that way have a MessageClass of
"IPM.Contact", you might need to set the PR_ICON_INDEX property to a value
of 512. The DASL property tag for that property (0x10800003) is
"http://schemas.microsoft.com/mapi/proptag/0x10800003".

That isn't a URL, it's a DASL property tag that can be used with the
PropertyAccessor object for a contact. Get PropertyAccessor for each contact
item and set that property to 512 using the PropertyAccessor.SetProperty()
method. Usage of that property and method are detailed in the Outlook 2007
VBA Object Browser Help file.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Gitche Gumee" wrote in message
...
I was advised to post my question here.

Office 2007

Outlook Contacts is a linked table in Access. I'm trying to send contacts
to
Outlook using an Access append query. That works, but the new Contact in
Outlook has the email icon, not the Contact icon.

What do I need to do to set that icon to Contact?


 




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
Adding appointments to different Outlook calendars from Access Paul Access VBA Outlook - Calandaring 1 May 19th 08 04:33 PM
Adding Contacts to Outlook Web Access GeneShim Outlook - General Queries 1 October 4th 07 09:17 PM
Adding Shortcut Icon to Access Another's Calendar Louisq Outlook - Calandaring 0 September 5th 06 03:09 PM
adding outlook web access account to regular outlook? monica Outlook - General Queries 1 August 24th 06 02:27 PM
Adding an Outlook task from Access Blogd_Node Outlook and VBA 6 June 7th 06 04:33 PM


All times are GMT +1. The time now is 05:05 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.