Results 1 to 3 of 3

Thread: Saving scores for a game

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Posts
    1

    Exclamation Saving scores for a game

    I am having trouble saving a name and the score and then displaying the information that was save. I need some code!!! Please help!!! OH I also need help in clearing a Text box.

  2. #2
    1. You can use the SaveSetting command and GetSetting command:
    VB Code:
    1. SaveSetting App.Title, "Scores", "Player 1", 5000
    2. Text1.Text = GetSetting(App.Title, "Scores", "Player 1", 0) ' default of 0
    2. To clear a text box:
    VB Code:
    1. Text1.Text = ""

  3. #3
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Bollox to using the registry.
    Vyvette, how are you storing information regarding the player in your game at the moment ?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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