title: visual basic 6 combobox get selecteditem value
body: <p>vb.net 2012 its works perfectly
  but now iam trying to work at vb6</p>
  
  <pre><code>Private Sub showSelectedButton_Click_1(sender As Object, e As EventArgs) Handles btn1.Click 
  If ComboBox1.SelectedItem = "one" Then
          MsgBox("ok")
      ElseIf ComboBox1.SelectedItem = "tow" Then
          MsgBox("no")
      End If
  End Sub
  </code></pre>
  
  <p>how to selecteditem on VB6 ?</p>