Hi
how I search text box for a specific word and if text box contain words msgbox shown (text founded) or (text not founded) ????
for exambel I have text and I want to search if this text contain (www.daniweb.com for visual basic and web development)
if text is \ www.daniweb.com visual basic for \ msgbox (text not founded) but if text is \www.daniweb for visual basic \ msgbox ( text founded)
thank you

Unhnd_Exception commented: Nice Job Responding to a thread you started. -2

Recommended Answers

All 2 Replies

You need to read this.

With TextBox1.Text.ToLower '// use .ToLower to NOT make it Case SensITive.
            If .Contains("something") Then MsgBox("Found.") Else MsgBox("Not Found.")
        End With
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.