Hi all.
i am in the process of making an educational maths program for a tutoring place which I will be working at. I am writing it with VB 6 and I was wondering how i would make a save/load user system for it. The part I am having trouble with is when users make a new user, which I want a save file to be made with their user name. So basically, i want to do this
NEW GAME
ENTER <USER NAME>
(press ok)
GETS <USER NAME>
MAKES FILE <USERNAME>.TXT IN \SAVE\ folder
I have yet to accomplish this. Just so you know I just started this project. If anyone knows how to make a code for that please tell as I am quite desperate.
Also, I am hoping to make the <USERNAME> a global variable that is callable througout the game. SO, if I wanted their username to appear in the right hand corner after they login, what would i need to do?
Ps the only time they enter in their user is when they start a new game. This will need to be changed for loading a game as the username will have to be loaded from the text file.
If anyone understands what I have said please message me or email me at jhend60<at>gmail<dot>com
To end off, how will i make the load feature work? I know that i need to load the txt save file, but what will i need to write(when it is saved) and what will i need to write(when i am trying to load)
Please, this is a really difficult thing for me so id appreciate it if youd all foward this to more experienced coders like thomisback or ronsta.
Thanks, jhend60