title: Saving/Loading My.Settings with ListView Control - vb.net
body: <p>I am making a game in Visual Basic that has to contain a high score table.
  I am using a <code>ListView</code> control named <code>lstscores</code> to store rows of scores in 2 columns called <code>Name</code> and <code>Score</code>.
  The user has to guess words that are entered into a ListBox called <code>lstwords</code> when correct.
  I have set up 2 things in <code>Application.Settings</code>: <code>settingname</code> and <code>settingscore</code> both with type: <code>System.Collections.Specialized.StringCollectino</code>, Scope: <code>user</code> and Value: <code>Nothing</code>. </p>
  
  <p>When user clicks on a save button, I basically want to take the username and score and store it in the settings respectively. So when I open the form up next time I can load the settings back into the same <code>ListView</code> control.</p>
  
  <p>I have been researching for a few hours, and I haven't been able to find anything exactly suited to my needs.</p>
  
  <p>I cannot provide my code, as i have tried everything possible to my knowledge, and nothing has worked.</p>
  
  <p>If someone could please give me advice or a direction on how to go about doing this, I would be very grateful.</p>
  
  <p>Thanks</p>
  
  <pre><code>Dim arr(1) As String
      Dim score As Integer
  
      inputname = txtname.Text
      score = lstwords.Items.Count
  
      arr(0) = inputname
      arr(1) = score
      lstscores.Items.Add(New ListViewItem(arr))
  </code></pre>