954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to add search function in vb6

I am trying to add search function in my visual basic 6 project
plz help me.

tanvir0066
Newbie Poster
4 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
 

One, this is not a code snippet!!!

Two, what do you want to search for? Aliens? Cats? Dogs? Stars? Mice? Roaches? Farmland?

No! It couldn't be any of that could it??? Must be a hard drive, internet, LAN, WAN, words, machines, users, domains, or perhaps a database?

Hmmm... now if only the OP (that's Original Poster) only provided this information....

vb5prgrmr
Posting Virtuoso
1,912 posts since Mar 2009
Reputation Points: 156
Solved Threads: 296
 

what u want to search? like: from database, from text file or other? plz details.

abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
 

It wouldn't be difficult to do with Spectate Swamp Desktop Search SSDS. I do it all the time. When I want to display some random large font delayed print questions. The only change that would be required would be to modify the search string element for that background job. Be it photo display, Video play or song etc. The control.txt file lines 46, 47 and 48 control the background searches.

Running as a background job is an extremely useful feature of this desktop search engine.

SpectateSwamp
Light Poster
43 posts since Jan 2006
Reputation Points: 10
Solved Threads: 0
 

i have a datadrid view and i add a textbox for search text from access (database)through ado. if i enter any character into text box like a, b, c .. the information will come into datagrid view like name, address etc. plz give me code.

tanvir0066
Newbie Poster
4 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
 

i have a datadrid view and i add a textbox for search text from access (database)through ado. if i enter any character into text box like a, b, c .. the information will come into datagrid view like name, address etc. plz give me code.

tanvir0066
Newbie Poster
4 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
 

I think u can use it

Set rs = Adodc1.Recordset

With rs
        .Close
        .Source = "select * from Table where TITLE like '%" & Text1.Text & "%'"
        .Open
        
End With
    DataGrid1.ReBind
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You