473,320 Members | 2,117 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,320 software developers and data experts.

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.
Jul 21 '05 #1
2 1235
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
Jul 21 '05 #2
On Wed, 21 Jul 2004 16:46:04 -0700, spirit1101 wrote:
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/DB...pleteCombo.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.
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Guy | last post by:
I've written a DLL assembly in C#. I've built the DLL, and reference it from other projects. The assembly contains a single file, containing a single abstract class. This class contains loads of...
4
by: D Witherspoon | last post by:
Sometimes if I build the app I will get intellisense, undo, and code completion (automatic completion of if stataments etc), but after a few lines of code this stops. I lose any code completion...
3
by: Don | last post by:
Hi: I want to limit the values that can be entered for particular attributes. 1) I have created an XSD from my XML document. 2) I dropped that XSD file into the following directory...
0
by: Jim | last post by:
I had a strange problem the other day when using Intellisense, and wondering if anyone has any experience with or advice on this... Just to give some quick background, I have a multi-tier...
1
by: Yaron | last post by:
Hi, I have a custom ListView-type control that I designed a few months ago. The control is completely stable and functional. However, often, the Visual Studio .NET IDE's Intellisense will lose and...
18
by: Euphor2 | last post by:
I'm in school, taking a VB .NET 2003 course, and the teacher taught us how to use Sender.Focus() to return focus to the control from which focus was received. However, when I got home, and tried...
2
by: Ron | last post by:
Hello, Is there intellisense for vb.net dll's? Here is a simple dll I wrote which I invoke in MS Access. Note: I set the build property to include registration for Com Interop = True:...
12
by: johannblake | last post by:
First off, I am NOT a beginner. I have lots of experience developing professional web sites and am a professional software developer. Unfortunately I've been out of web site development for the...
19
by: Hendrik Schober | last post by:
Hi, as of last Friday VC8's intellisense started to completely block one CPU (our developer machines have two) without getting anywhere. This is a 1.2MLOC solution with 28 projects. We have...
1
by: RLN | last post by:
Re: Access 2003 I found a method here in the newsgroup that works for clearing checkboxes, but don't understand a particular line of code and how it works. Here is the code: 1. Dim ctrl As...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.