ADO DOT NET Posted December 7, 2007 Posted December 7, 2007 Hi, This is a special folder in XP: - C:\Documents and Settings\User Name\Application Data - But what's its name in Vista? Quote
Administrators PlausiblyDamp Posted December 7, 2007 Administrators Posted December 7, 2007 Use Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData) and it will work regardless of OS or configuration differences. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
ADO DOT NET Posted December 7, 2007 Author Posted December 7, 2007 Thanks:) Just 1 thing, is this folder different for each user? I need to store sensitive user information, so each user must have its own database. Quote
Administrators PlausiblyDamp Posted December 8, 2007 Administrators Posted December 8, 2007 http://msdn2.microsoft.com/en-us/library/system.environment.specialfolder.aspx Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.