A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Windows Vista File Management
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Windows Vista File Management Issues or questions in relation to Vista's file management. (microsoft.public.windows.vista.file_management)

Finding user's Contacts folder programmatically



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 12th 07, 12:02 AM posted to microsoft.public.windows.vista.file_management
Skip Bremer
external usenet poster
 
Posts: 9
Default Finding user's Contacts folder programmatically

A user can change where their Contacts folder (and other user folders) is
located by accessing the folder's Properties and going to the Location tab.
For my programs, I use the CurrentVersion - User Shell Folders key in the
Registry (via the CSIDL API stuff) to determine where dedicated folders are
located. But the Contacts folder is not part of that key's data and I don't
think it is listed as a CSIDL constant, so how are we now supposed to locate
these new folders, like the user's actual Contacts folder, for example?

  #2 (permalink)  
Old May 12th 07, 03:38 AM posted to microsoft.public.windows.vista.file_management
Ramesh, MS-MVP
external usenet poster
 
Posts: 1,595
Default Finding user's Contacts folder programmatically

By reading the Value "{56784854-C6CB-462B-8169-88E350ACB882}" under "User Shell Folders" key.

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\User Shell Folders

{56784854-C6CB-462B-8169-88E350ACB882} is the folder ID for Contacts.

As you said there is not a CSIDL value for "Contacts" folder.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Skip Bremer" wrote in message ...
A user can change where their Contacts folder (and other user folders) is
located by accessing the folder's Properties and going to the Location tab.
For my programs, I use the CurrentVersion - User Shell Folders key in the
Registry (via the CSIDL API stuff) to determine where dedicated folders are
located. But the Contacts folder is not part of that key's data and I don't
think it is listed as a CSIDL constant, so how are we now supposed to locate
these new folders, like the user's actual Contacts folder, for example?

 




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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2024 Vista Banter.
The comments are property of their posters.