Saving data In VB.net

CodeCruncher

Newcomer
Joined
Aug 6, 2006
Messages
1
Hello I’m a beginner VB.Net programmer. The program I’m building requires that I save user information. I would like the score of a game to be saved the next time the player plays. Can anyone help me with this? I know khow to build the program. I just don’t know how to build it to save data.


Thanks for any help
 
Where do you want to save the data? Once upon a time an INI was the place to put it. More recently the registry was a great place to put that kind of thing. Now the trendy thing to do would be to use an XML file. A web app should probably use a DB. If you want to keep it simple, though, a plain text file would work. If you want to make it more tamper proof you could run the high score data through an encryption stream. But still, the main question is where do you want to put it. There are tutorials around the net that will go over almost kind of data storage you want to use.
 
Back
Top