A Microsoft Office (Excel, Word) forum. OfficeFrustration

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 » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Linking to Outlook Contacts (Office 2007)



 
 
Thread Tools Display Modes
  #1  
Old October 29th, 2008, 07:00 PM posted to microsoft.public.access.formscoding,microsoft.public.access.modulesdaovba,microsoft.public.outlook.general,microsoft.public.access
Dale Fye
external usenet poster
 
Posts: 2,651
Default Linking to Outlook Contacts (Office 2007)

I'm trying to write some code that will allow my application users to link to
their Outlook contacts list.

I have figured out how to link to this list using the External Data - Import
- Outlook Folder, but cannot seem to figure out how to do this
programmatically. I've tried using the Transferdatabase method, but that
doesn't seem to have an appropriate database type.

I'm sure I can probably do this by using the CreateTableDef method, but need
to know the connection string. Anyone have the specifics for this?

When I look at the connection string in mSysObjects, it lists a Mailbox and
a profile, which are identical, in a format similar to :

LastName, FirstName MI Mr CTR xxx yyyyy

Could I use the Windows userid instead of this value? Is there anyway to
query Outlook to get this value based on the windows userid? Any help would
be greatly appreciated.

--
HTH
Dale

Don''t forget to rate the post if it was helpful!

email address is invalid
Please reply to newsgroup only.

  #2  
Old October 29th, 2008, 10:47 PM posted to microsoft.public.access.formscoding,microsoft.public.access.modulesdaovba,microsoft.public.outlook.general,microsoft.public.access
Peter Hibbs
external usenet poster
 
Posts: 871
Default Linking to Outlook Contacts (Office 2007)

Dale,

Have a look at http://www.helenfeddema.com/CodeSamples.htm
which has some code for Outlook Access. There may be something there
which helps.

Peter Hibbs.

On Wed, 29 Oct 2008 11:00:04 -0700, Dale Fye
wrote:

I'm trying to write some code that will allow my application users to link to
their Outlook contacts list.

I have figured out how to link to this list using the External Data - Import
- Outlook Folder, but cannot seem to figure out how to do this
programmatically. I've tried using the Transferdatabase method, but that
doesn't seem to have an appropriate database type.

I'm sure I can probably do this by using the CreateTableDef method, but need
to know the connection string. Anyone have the specifics for this?

When I look at the connection string in mSysObjects, it lists a Mailbox and
a profile, which are identical, in a format similar to :

LastName, FirstName MI Mr CTR xxx yyyyy

Could I use the Windows userid instead of this value? Is there anyway to
query Outlook to get this value based on the windows userid? Any help would
be greatly appreciated.

 




Thread Tools
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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.