Results 1 to 2 of 2

Thread: Visual Basic 2013 - How to start up with loaded data (Database)

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2013
    Posts
    2

    Question Visual Basic 2013 - How to start up with loaded data (Database)

    I'm new to visual basic, i have programmed a few stuff such as simple calculators and stuff like that.
    I just have a question: What does programs use to save data like if you had some kind of game that it needs to save the score and start the game with the score.

    I have lots of computer games and i have seen config files for some of them and that could be.


    Player1: (playername)
    score: 10
    turns: 3

    player2: (Playername)
    score: 9
    turns 2


    but how do i read the text and get them as a variabel?

    that's kinda what i need, a way to read a specific line and save it in a variable and also be able to change the values in the text document.

  2. #2
    Fanatic Member Flashbond's Avatar
    Join Date
    Jan 2013
    Location
    Istanbul
    Posts
    646

    Re: Visual Basic 2013 - How to start up with loaded data (Database)

    Hi!

    Well, the best option would be writing to a text file or database.

    Here is a simple example: http://www.ilstours.net/Example.rar

    I dropped some useful tips in the project as comments. Feel free to ask anything.

    Have a good day
    Last edited by Flashbond; Nov 6th, 2013 at 09:01 AM.
    God, are you punishing me because my hair is better than yours? -Jack Donaghy

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width