Best Approach for handling application config files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

It appers that System.Windows.Forms.Application.UserAppDataPath changes
drastically when the application is installed via "click once"; (as opposed
to setup or good old file copy). I'm looking for a place to put user data
that spans versions. In the non-click once scheme, all I had to do was back
up one level.

Is System.IO.IsolatedStorage.IsolatedStorageFile the preferred approach? Or
is there some other mechinism for storing application settings for a user?

Thanks for the ideas...Chuck
 
Isolated storage has the same problem. So my guess is that the best approach
is to call SHGetFolderPath with CSIDL_APPDATA and then create your directory.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top