![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | 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? |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: 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\CurrentVersion\Explorer\UserShell 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" <f4jock@gmail.com> wrote in message news:OG$3mjClHHA.4592@TK2MSFTNGP05.phx.gbl... 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? |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to remove a user's account folder? | W.H. Meyberg | Vista General | 0 | 07-12-2008 03:24 PM |
| finding contacts by first name | Lainey | Vista mail | 1 | 11-16-2007 09:56 PM |
| Acquire User's Roaming Folder | Superfreak3 | Vista General | 1 | 08-13-2007 06:02 PM |
| Finding a user's total writeable namespace | Roof Fiddler | Vista security | 0 | 09-05-2006 03:53 PM |
| Read only on my user's folder -> Firefox can't save history | cf | Vista security | 0 | 07-01-2006 06:24 AM |