Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
2.22/5 (9 votes)
See more:
I am looking for an auto-complete textbox (similar to the one used on the Google home page). This is for a VB.NET application. Thanks.
Posted
Updated 2-Nov-10 5:13am
v3
Comments
JF2015 2-Nov-10 11:03am    
Nobody's going to give you a full application that will fit your needs. Explain more what you really need and we may be able to help you on some parts.
Scubapro 2-Nov-10 11:11am    
I want to win the lotery. I need it badly. Please give me the winning numbers..
Nish Nishant 2-Nov-10 11:13am    
Edited your question so people know what you are talking about (based on what I assume you meant to ask).
Nish Nishant 2-Nov-10 11:17am    
Unfortunately, people did not understand your question since it was not written very clearly, and so you have got a few insult-answers here. Sorry about that.

Looks like you are looking for an auto-complete textbox. If so, see:

http://www.codeproject.com/KB/cs/AutoCompleteTextBox.aspx[^]

It's written in C#, but you can use that from VB.NET.
 
Share this answer
 
Comments
Tarun.K.S 2-Nov-10 12:38pm    
My vote of 5: perfect answer and thanks to Nishant for handling the question well!
You have to download AJAX Control Toolkit, it's free.

and then you can use the AutoComplete Extender for your text box.

Here is an example[^], you can download it from here[^], and then take a look at the sample code.

and this is how you install it.[^] :)
 
Share this answer
 
Comments
Simon_Whale 2-Nov-10 11:46am    
good answer
The easiest thing is to interface to google.com and process the results,
like this[^].
 
Share this answer
 
Comments
Nish Nishant 2-Nov-10 11:15am    
I think he just worded it incorrectly, English not being his primary language. I've edited his question and also answered it down below. He is not asking for Google like functionality, all he wants is an autocomplete textbox.
This is a wind up ?

You want the same as google search?
Why not just use Google.

You need it badly?
Well I need a Ferrari and a selection of playmates of the month badly.
And like you, I am going to have to learn to live with my disappointment.

You want the source code?
3 million lines of code that you obviously wouldn't understand?
Dear me, you have had a somewhat sheltered life haven't you.

Edit.
Oddly, since Nish Edited the Question I have gone from getting plus votes to minus ones.
Perhaps I should have put a copy of the original question here as well to see why my response was as it is.
 
Share this answer
 
v2
Comments
OriginalGriff 2-Nov-10 11:13am    
"Well I need a...selection of playmates of the month badly."
How much not to tell Michelle? :laugh:
Nish Nishant 2-Nov-10 11:16am    
Dalek, he just worded that incorrectly. I've edited his question. No, he's not trying to rewrite Google - he just wants an auto-complete textbox.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900