473,503 Members | 1,666 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Textbox 'remembering' previous entries

Hi,

How do I make a textbox remember previously entered data? You know,
like the "Address" field in the Internet Explorer browser. This
remembers previously entered URLs and drops them down...
How do you code this?

Any suggestions/comments/code-samples much appreciated.

With thanks
Al.

Apr 5 '06 #1
3 3875
..NET 1.1 or .NET 2.0? because 2.0 has something like this already in the
combo box that allows entries like this

<al*****@altavista.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
Hi,

How do I make a textbox remember previously entered data? You know,
like the "Address" field in the Internet Explorer browser. This
remembers previously entered URLs and drops them down...
How do you code this?

Any suggestions/comments/code-samples much appreciated.

With thanks
Al.

Apr 5 '06 #2
Hi Al,

The obvious answer would be to store the data (entries) somewhere.

If this functionality is needed even after the program is restarted,
then you would need to serialize it to a file, or store all entries in
the registry perhaps.

If, however, you need to persist such functionality only till the
program is running, then you might consider storing it in an arraylist.

HTH,

Regards,

Cerebrus.

Apr 6 '06 #3
You may try Dynamic AutoComplete Tool
http://www.lamarvin.com/dact_default.asp

--
Peter Macej
Helixoft - http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
..NET and ASP .NET code
Apr 6 '06 #4

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

Similar topics

3
3038
by: Marcel | last post by:
Hello, I'm working on a search application for my website. The website contains a lot of pictures, and a search should return clickable thumbnails. No problems there. My problem started when I...
3
11228
by: jason | last post by:
I've got this javascript routine (i found on google - thank you) in an asp.net page that on page reload sets the cursor of a textbox to the last line. It works great! Using a similar concept, I...
6
2700
by: A P | last post by:
Hi! I have seen some techniques like this on the web. Currently, I'm using Combo box which values came from database table. One disadvantage is when the combo box have lots of values, users are...
4
1444
by: Kav | last post by:
As the title states, on my development PC there is a textbox which allways displays as a textbox. However on the clients PC it is showing previous entries he has made to the TextBox as a ListBox. ...
0
3512
by: Paul Rees | last post by:
I am wondering if anyone has encountered a similar problem to the one that I am having. I have an ASP.NET page which has a table and a dropdownlist that was added at design time. The majority of...
6
5004
by: Dixie | last post by:
I have asked this question before, but I could not get the suggested solution work. So I will give more details this time. I have an append query that adds several hundred records to a table...
5
5591
by: Steve | last post by:
I have created my own context menu. Everything works except undo'ing deleted text. My code for these two events are: Private Sub tsmiUndo_Click(ByVal sender As Object, ByVal e As...
5
2827
by: Gilberto | last post by:
Hello, I have a textbox where the user enters a category for a product selected on a combo box. The user has to select a LOT of products and most of the time he enters them in order of category,...
11
2714
by: Mark | last post by:
My browser "remembers" what I typed previously in text fields and gives me a drop-list of "suggestions" as I type. I generally like this feature, but was asked to disable it for a specific text...
0
7087
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
7281
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
7334
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...
1
6993
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
5579
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,...
0
4675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
383
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.