VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Search for a string in Listbox

Download Land Software  (1 Submission)   Miscellaneous   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

Search for string in listbox

Assumes
This project needs a ListBox, named List1 and a TextBox, named Text1

Returns
the Listindex of the string that is found.

API Declarations
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Integer, ByVal lParam As Any) As Long
Const LB_FINDSTRING = &H18F

Rate Search for a string in Listbox (3(3 Vote))
Search for a string in Listbox.bas

Search for a string in Listbox Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters