Need Help with Intellisense

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • spirit1101

    #1

    Need Help with Intellisense

    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.
  • Cor Ligthert

    #2
    Re: Need Help with Intellisense

    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.publi c.dotnet.langua ges.Csharp.

    Probably there are more persons who mayby know the answer.

    I hope this helps?

    Cor


    Comment

    • Chris Dunaway

      #3
      Re: Need Help with Intellisense

      On Wed, 21 Jul 2004 16:46:04 -0700, spirit1101 wrote:
      [color=blue]
      > 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:[/color]

      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:



      --
      Chris

      dunawayc[AT]sbcglobal_lunch meat_[DOT]net

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

      Comment

      Working...