Application with User Profiles

Joined
Jan 5, 2008
Messages
8
Programming Experience
Beginner
I want my program to be able to have profiles and to load user settings and stuff like that. Does anyone have a tutorial on how to make something like this? Would I need to save the profiles to a seperate .txt file or another kind of file for profiles?
 
Last edited by a moderator:
Firstly, please provide meaningful titles for your threads. Everyone who posts here has a VB.NET question so that's meaningless. I have provided a title for this thread that indicates the topic of the thread. Please do the same yourself in future.

Secondly, please keep each thread to a single topic and each topic to a single thread. I have removed your edit, which was completely unrelated to the original question, and placed it in its own thread here.

As for your question, you need to store the profile information somewhere. The most likely place would be a database, particularly if you're using a database to store other data. If you don't use a database then you can store them anywhere you like. A good option might be XML file(s) as .NET has extensive XML handling capabilities. You could certainly use text file(s) instead of you wanted, but you'd have to handle parsing yourself.

Also, you should note that if each profile is going to be linked to a Windows user, as opposed to just users of your app, then .NET already provides the ability to store user-specific data in My.Settings.
 
Back
Top