title: Combobox moving resources to disk
body: <pre><code>Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
      If ComboBox1.SelectedText = "Anaheim" Then Dim finalpath As String = "C:\hockey055f\data\model\ice0.png"
      My.Resources.anaice.Save("C:\hockey055f\data\model\ice0.png")
      MsgBox("Installed!", MsgBoxStyle.Information, "Installed by GoLeafsGo")
  
      ElseIf ComboBox1.SelectedText = "Boston" Then If System.IO.File.Exists("c:\hockey055f\data\model\ice0.png") Then 
      System.IO.File.Delete("c:\hockey055f\data\model\ice0.png")
      My.Resources.bosice.Save("C:\hockey055f\data\model\ice0.png")
      MsgBox("Installed!", MsgBoxStyle.Information, "Installed by GoLeafsGo")
  End Sub
  </code></pre>
  
  <p>This is my code. I am trying to make it so that when an item is selected by the user in the combobox and the user presses the button, the file will transfer from my resources to the directory shown above. When I click on the first value (Anaheim), the file "anaice.png" is transferred, but then the "bosice.png" from the (Boston) value is put in and overwrites the the other image. Help please!</p>