473,396 Members | 2,092 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,396 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 1238
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
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.