By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,639 Members | 1,326 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,639 IT Pros & Developers. It's quick & easy.

Textbox 'remembering' previous entries

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
..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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.