Need Help with Intellisense

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have been searching for several hours in the newsgroups now and am not finding anything on what I want to try to do, so I am hoping someone can help :)

I have a WINDOWS form that has a combo box. this combo box has already been populated by a database. I would like to have the program fill in the main combo box line with the closest matching value as the user types. I have found things that say to change the combo boxes attributes to dropped down or to set it as simple. The problem is that is not what I am trying to do. I want it to do the following:

if the list is:
smtp
snmp
smpp
snnm


then if the user types 's' I want the line to show smtp. then if they put in a 'n' so they have 'sn' it will change to snmp, it they type a 3rd character 'n' to have 'snn' the box fills to snnm.

That is what I am trying to do. the 2 attribute changes I mentioned before, do not do this. Please if anyone has any ideas it would be appreciated. Note, I am using C#. Thanks.
 
Spirit,

I have seen solutions for this, however I do not know anymore where.
(It will be hard because there is a bug about the first character in a
combobox).

However this in the newsgroup

Microsoft.public.dotnet.languages.Csharp.

Probably there are more persons who mayby know the answer.

I hope this helps?

Cor
 
I have been searching for several hours in the newsgroups now and am not finding anything on what I want to try to do, so I am hoping someone can help :)

I have a WINDOWS form that has a combo box. this combo box has already been populated by a database. I would like to have the program fill in the main combo box line with the closest matching value as the user types. I have found things that say to change the combo boxes attributes to dropped down or to set it as simple. The problem is that is not what I am trying to do. I want it to do the following:

Google is your friend! Go to Google and search for the follwoing:

Autocomplete combo box VB.Net

It brings up a number of entries, but I think the first one on the list
should do.

Here's the first link:

http://www.codeproject.com/vb/net/DBAutoCompleteCombo.asp

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 
Back
Top