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:
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)VB Code:
Dim pathC, PathA, PathD, PathE As Object Dim mp3, wav As Object Private Sub form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load mp3 = ".Mp3" wav = ".Wav" pathC = "C:\" PathA = "A:\" PathD = "D:\" PathE = "E:\" cmbDrives.Items.Add(pathC) cmbDrives.Items.Add(PathA) cmbDrives.Items.Add(PathD) cmbDrives.Items.Add(PathE) cmbType.Items.Add(mp3) cmbType.Items.Add(wav) End Sub
there is more but that is my only question untill i get stuck again




Reply With Quote