![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Saving User data in Visual Basic within the Everything Windows forums, part of the General PC Forums category; Ok, So basically I want to save data that a user has entered into the program somehow, be that via ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
Ok,
So basically I want to save data that a user has entered into the program somehow, be that via textbox or inputbox and then save that data onto a file that will be located on the users PC somewhere. Or save the data from variables in the program. Im not sure how easy or hard this is to do because I am quite new to VB [new as in 1 month into A level new]. I have tried Google and MSDN but I cant seem to find what i want. Oh, and I am using VB 2003 (College uses that version so I have to use that version) Any help apreciated
__________________
[CENTER][IMG]http://img232.imageshack.us/img232/7619/gggggggzq2.png[/IMG][/CENTER][CENTER][B]PSP[/B]: Black (JP) 1.50 + White (UK) 1.50 | [B]PSN[/B]: FranzH - Feel free to add [/CENTER] [CENTER][SIZE=1]Currently Playing:[B] PC[/B]: WoW + GHIII | [B]PS3[250GB][/B]: TimeCrisis 4 + MGO Beta + COD4 [/SIZE][/CENTER] |
|
|
|
|
|
#2 | |
![]() |
Quote:
Code:
Dim strTextBox As String strTextBox = txtTextBox.Text if that is what you want |
|
|
|
|
|
|
#3 |
![]() |
Its not storing the data in a variable, I can do that.
What I am looking for is a way to store the data once the program is closed since the variable looses its data once program is closed. Thus the data saved outside of the program can be loaded back into the program. Sort of like a 'save game' so to speak just very very simple, like storing the data a variable holds. Thanks for the help though, I should have made it clearer what I was looking for, sorry
__________________
[CENTER][IMG]http://img232.imageshack.us/img232/7619/gggggggzq2.png[/IMG][/CENTER][CENTER][B]PSP[/B]: Black (JP) 1.50 + White (UK) 1.50 | [B]PSN[/B]: FranzH - Feel free to add [/CENTER] [CENTER][SIZE=1]Currently Playing:[B] PC[/B]: WoW + GHIII | [B]PS3[250GB][/B]: TimeCrisis 4 + MGO Beta + COD4 [/SIZE][/CENTER] |
|
|
|
|
|
#4 |
![]() |
I used to do .NET 2003 in college but I forgot most of it. Anyway this should help http://www.freevbcode.com/ShowCode.Asp?ID=4492
__________________
I R homaki on [URL=http://forums.**********.net/]M4M[/URL] i.e. im not on QJ for anything anymore. |
|
|
|
|
|
#5 |
![]() |
Thanks, ill give it a go later.
__________________
[CENTER][IMG]http://img232.imageshack.us/img232/7619/gggggggzq2.png[/IMG][/CENTER][CENTER][B]PSP[/B]: Black (JP) 1.50 + White (UK) 1.50 | [B]PSN[/B]: FranzH - Feel free to add [/CENTER] [CENTER][SIZE=1]Currently Playing:[B] PC[/B]: WoW + GHIII | [B]PS3[250GB][/B]: TimeCrisis 4 + MGO Beta + COD4 [/SIZE][/CENTER] |
|
|
|
![]() |
| Tags |
| basic , data , saving , user , visual |
| Thread Tools | |
|
|