Ok i have a combo box... that gets populated apon running....
I want to be able to have something selected and click a button and have an action taken when the button is clicked...
Here is my Code:
VB Code:
  1. Dim pathC, PathA, PathD, PathE As Object
  2.     Dim mp3, wav As Object
  3.  
  4. Private Sub form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  5.         mp3 = ".Mp3"
  6.         wav = ".Wav"
  7.         pathC = "C:\"
  8.         PathA = "A:\"
  9.         PathD = "D:\"
  10.         PathE = "E:\"
  11.         cmbDrives.Items.Add(pathC)
  12.         cmbDrives.Items.Add(PathA)
  13.         cmbDrives.Items.Add(PathD)
  14.         cmbDrives.Items.Add(PathE)
  15.         cmbType.Items.Add(mp3)
  16.         cmbType.Items.Add(wav)
  17.     End Sub
When i Click the button Search i want it to look at the selected field in the combobox (CmbDrives) and just tell me what is selected...(through a msgbox)
there is more but that is my only question untill i get stuck again