Design UI

Code
 Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, _
        ByVal e As System.EventArgs) Handles MyBase.Load
        RadioButton1.Text = "DropDown"
        RadioButton2.Text = "DropDownList"
        RadioButton1.Select()
        ComboBox1.Items.Add("English")
        ComboBox1.Items.Add("Indonesian")
        ComboBox1.SelectedIndex = 0      
    End Sub

   
Private Sub RadioButton1_Click(ByVal sender As Object, _
      ByVal e As System.EventArgs) Handles RadioButton1.Click
        ComboBox1.DropDownStyle = ComboBoxStyle.DropDown
        ComboBox2.DropDownStyle = ComboBoxStyle.DropDown
    End Sub

   
Private Sub RadioButton2_Click(ByVal sender As Object, _
      ByVal e As System.EventArgs) Handles RadioButton2.Click
        ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList
        ComboBox2.DropDownStyle = ComboBoxStyle.DropDownList
    End Sub

   
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender _
      As System.Object, ByVal e As System.EventArgs) Handles _
      ComboBox1.SelectedIndexChanged
        ComboBox2.Items.Clear()
        Select Case ComboBox1.SelectedIndex
            Case 0
                With ComboBox2.Items
                    .Add("Monday")
                    .Add("Tuesday")
                    .Add("Wednesday")
                    .Add("Thursday")
                    .Add("Friday")
                    .Add("Saturday")
                    .Add("Sunday")
                End With
            Case 1
                With ComboBox2.Items
                    .Add("Senin")                      

                    .Add("Selasa")
                    .Add("Rabu")
                    .Add("Kamis")
                    .Add("Jumat")
                    .Add("Sabtu")
                    .Add("Minggu")
                End With
        End Select
        ComboBox2.SelectedIndex = Now.DayOfWeek - 1
    End Sub

End Class


Run Time



Click here if you like this article.


Artikel Terkait:
ComboBox Properties
ComboBox Event
ComboBox Control
Common Control Visual Basic.NET
Tutorial Visual Basic .NET

Contoh Project:
ComboBox Control Sample Project