none
Cannot Call another Sub. Help! RRS feed

  • Question

  • Private Sub ToolStripComboBox1_KeyDown(sender As Object, e As KeyEventArgs) Handles ToolStripComboBox1.KeyDown
            If e.KeyCode = Keys.Enter Then
                Try
                    Populate(ToolStripComboBox1.Text)
                Catch ex As Exception
                    MsgBox(ToolStripComboBox1.Text & " does not exist as a path.", MsgBoxStyle.Critical)
                End Try
            End If
        End Sub
    
        Private Sub DriveList_DoubleClick(sender As Object, e As EventArgs) Handles DriveList.DoubleClick
            ToolStripComboBox1.Text = DriveList.SelectedItem.ToString
            Call ToolStripComboBox1_KeyDown()
        End Sub

    Thursday, August 21, 2014 10:44 AM

All replies