473,385 Members | 1,727 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to display the autocomplete source programmatically

Hello there
i have a big big problem in vb.net
i have this scenario:

1 textbox
1 database with 5000 codes
1 AutoCompleteStringCollection wich retains those 5000 codes extracted from database

textbox.AutoCompleteMode = AutoCompleteMode.SuggestAppend
textbox.AutoCompleteSource = AutoCompleteSource.CustomSource

codes are like this one for autocomplete:

5941141002070 ->Ulei esential rozmarin 10ml - fares(3 X 7.5 $)

i want to do something like this:

if the user for example write not the beginning of the word .. and write the <esential> word .. i want to pop-up the autocomplete window .. and show all the codes who contains the <esential> word in ...
i create the function who search in an AutoCompleteStringCollection and populate the textbox autocomplete ... but is no visible ...
i don't know how to trigger the autocomplete pop-up .. if the word not begining with 594 in our case , and begin with <esential>

the application i wrote is in vb.net and database frontend is mysql ..
sorry for my english ..
have a nice day and thanx in advance
Apr 10 '08 #1
0 1475

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: thubba2000 | last post by:
We have a web application developed using IBuySpy. In older versions, Autocomplete on all web forms works. In our latest version, it stopped working on all clients. I have gone through all the...
5
by: Andrus | last post by:
I'm creating a database Winforms application using VCS Express 2005 I have some large lookup tables (may be up to 500000 records) which contains name and id and are stored in sql server. I...
1
by: Bob | last post by:
Hi, Hope you can help me with this one. I'm at my wits end. I'm trying to create an intelligent edit-box like the excellent "Customer" one at the URL: ...
5
by: Doug | last post by:
Hi I have a simple form, just with one combo box and an OK button - and i have tried to use the autocomplete routine and I have enabled autocomplete in the combo box properties. ...
3
by: John | last post by:
AC2007 I changed my combo's row source and then the autocomplete stopped working. The combo is two columns, bound to the first. First column is primary key (ID). Second column is a...
2
nev
by: nev | last post by:
i would like to display my autocomplete list even if i haven't typed a character yet. how is it done?
0
by: =?Utf-8?B?Qm9i?= | last post by:
I have a datagridview bound to a linq-to-sql dataset expenses. The grid has columns for Description, Amount and Tax Rate. The Description column has an AutoComplete source derived from another...
7
by: babitha162 | last post by:
I have a combobox with a list of items in it. Now when the user enters a character I want the combox show the list of items that starts with the specified character. Could someone please help me...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.