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. |
|
Windows Vista File Management Issues or questions in relation to Vista's file management. (microsoft.public.windows.vista.file_management) |
|
LinkBack | Thread Tools | Display Modes |
|
|||
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? |
|
|||
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 | |
|
|