Log in

View Full Version : Using UCase and LCase in vb6.0


Y_Nessi
Sep 22, 2011, 07:06 PM
Private Sub cmdFindNext_Click()
If txtFind <> "" Then
txtFile.SelStart = txtFile.SelStart + 2
If InStr(txtFile.SelStart, txtFile, txtFind) <> 0 Then
txtFile.SelStart = InStr(txtFile.SelStart, txtFile, txtFind) - 1
txtFile.SelLength = Len(txtFind)
Else
MsgBox "Not found", vbCritical, "Finding Problem"
End If
End If
End Sub