Best Place To Store Personal Information

M

Marco

Hi to All,

I'm developing an application in VB .NET. I have a question: what is the
best place to save personal settings of my users? I mean, when a user uses
my application, it can create a personal profile (e.g. last files opened,
custom settings, etc...). What is the best place to save them? At first, I
thought to save them in the registry, in the CURRENT_USER section, but I'm
not sure every user can have read/write access to it.

What do you suggest? Where can I find more information?
Thanks,

Marco
 
J

John Vottero

Marco said:
Hi to All,

I'm developing an application in VB .NET. I have a question: what is the
best place to save personal settings of my users? I mean, when a user uses
my application, it can create a personal profile (e.g. last files opened,
custom settings, etc...). What is the best place to save them? At first, I
thought to save them in the registry, in the CURRENT_USER section, but I'm
not sure every user can have read/write access to it.

What do you suggest? Where can I find more information?
Thanks,

Your best bet is to keep this information in isolated storage. See
System.IO.IsolatedStorage or go to www.genghisgroup.com and download the
free software (you want the Preferences.cs class).
 
G

Gevik Babakhani

Assuming you have XP of 2000 you can save yourself a lots of truble by just
saing your user information in the local or network user directory.

this is also safe becouse only the designated user can read or write to
his/her 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

Top