title: How can I save the progress of a game in Visual Basic 2010?
body: <p>I have created a hidden objects game, like this one: <a href="http://www.shazaml.com/archives/creating-a-hidden-object-game-in-silverlight-3" rel="nofollow">http://www.shazaml.com/archives/creating-a-hidden-object-game-in-silverlight-3</a>,  where the player has to find about 60 objects within a picture. There are eight labels, each populated with a string that contains the name of an object to find. This is taken from pictureArray().</p>
  
  <pre><code> Sub pictureArray()
  
      Randomize()
  
      pictures.Add("Cat")
      pictures.Add("Spade")
      pictures.Add("Butterfly")
      pictures.Add("Shoes")
      pictures.Add("Radio")
      pictures.Add("Grasshopper")
      pictures.Add("Lamp")
      pictures.Add("Coconut")
      pictures.Add("Clock")
      pictures.Add("Lightbulb")
      pictures.Add("Binoculars")
      pictures.Add("Diamond")
      pictures.Add("Hammer")
      pictures.Add("Bell")
      pictures.Add("Snail")
      pictures.Add("Bag")
      pictures.Add("Camera")
      pictures.Add("Pencil")
      pictures.Add("Horseshoe")
      pictures.Add("Brush")
      pictures.Add("Gloves")
      pictures.Add("Ball")
      pictures.Add("Umbrella")
      pictures.Add("Gnome")
      pictures.Add("Mouse")
      pictures.Add("Crown")
      pictures.Add("Torch")
      pictures.Add("Paperclip")
      pictures.Add("Handprint")
      pictures.Add("Hat")
      pictures.Add("Car")
      pictures.Add("Star")
      pictures.Add("Wheel")
      pictures.Add("Book")
      pictures.Add("Triangle")
      pictures.Add("Die")
      pictures.Add("Glasses")
      pictures.Add("One")
      pictures.Add("Shell")
      pictures.Add("Apple")
      pictures.Add("Bowling Pin")
      pictures.Add("Spoon")
      pictures.Add("Magnifier")
      pictures.Add("Letter R")
      pictures.Add("Aeroplane")
      pictures.Add("Scissors")
      pictures.Add("Mask")
      pictures.Add("Bow")
      pictures.Add("Coin")
      pictures.Add("Frog")
      pictures.Add("Snake")
      pictures.Add("Key")
      pictures.Add("Rope")
      pictures.Add("Peg")
      pictures.Add("Bottle")
      pictures.Add("Belt")
      pictures.Add("Angel")
      pictures.Add("Pawprint")
      pictures.Add("Clover")
      pictures.Add("Phone")
      pictures.Add("Ring")
  
      lblOne.Text = (pictures(RandIndex))
      pictures.RemoveAt(RandIndex)
      RandIndex = RandGen.Next(0, pictures.Count)
  
      lblTwo.Text = (pictures(RandIndex))
      pictures.RemoveAt(RandIndex)
      RandIndex = RandGen.Next(0, pictures.Count)
  
      lblThree.Text = (pictures(RandIndex))
      pictures.RemoveAt(RandIndex)
      RandIndex = RandGen.Next(0, pictures.Count)
  
      lblFour.Text = (pictures(RandIndex))
      pictures.RemoveAt(RandIndex)
      RandIndex = RandGen.Next(0, pictures.Count)
  
      lblFive.Text = (pictures(RandIndex))
      pictures.RemoveAt(RandIndex)
      RandIndex = RandGen.Next(0, pictures.Count)
  
      lblSix.Text = (pictures(RandIndex))
      pictures.RemoveAt(RandIndex)
      RandIndex = RandGen.Next(0, pictures.Count)
  
      lblSeven.Text = (pictures(RandIndex))
      pictures.RemoveAt(RandIndex)
      RandIndex = RandGen.Next(0, pictures.Count)
  
      lblEight.Text = (pictures(RandIndex))
      pictures.RemoveAt(RandIndex)
      RandIndex = RandGen.Next(0, pictures.Count)
  
  End Sub
  </code></pre>
  
  <p>As there are a lot of objects to find, the player may want to quit the game and return to it at a later date, therefore, I was wondering what's the best way I could save the current progress of the game so that the player can pick up from where they left off?</p>
  
  <p>I have done some research, trying to find a way online, but didn't understand it or know what would be best for this game? </p>