0

can anyone tell me how to convert this code to vb.net it's vb6.0 code and gives error in vb.net

Dim a As Integer
Dim b As Boolean
Do While Not b And a < cmbcust.ListCount
If UCase(Left(cmbcust.List(a), Len(txtname.Text))) = UCase(txtname.Text) Then
    cmbcust.ListIndex = a
    b = True
End If
a = a + 1
Loop

please help me

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by __avd
0

Use Visual Basic Upgrade Wizard (Open the VB 6.0 project with Visual studio 2003/2005/2008).

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.