Saving user's input

A

Amjad

Hi,
I'm trying to create dynamic default values in TextBoxes
that reflect the last user's input value.

How can I save the user's input in a textbox control so
that the user can see his last input in the textbox the
next time he runs the application?

I'm trying to avoid saving the user's inputs on a text
file, because it can be read and modified easily from
outside my application.

Amjad
 
C

Cor

Hi Amjad,

The user part of the registry is very simple reachable now from VB.net, just
take a look at that registry in/on msdn

I hope this helps a little bit?

Cor
 
E

EricJ

in addition
if your app uses a db store them there
or you could use encryption on a textfile

eric
 
A

Armin Zingler

Amjad said:
Hi,
I'm trying to create dynamic default values in TextBoxes
that reflect the last user's input value.

How can I save the user's input in a textbox control so
that the user can see his last input in the textbox the
next time he runs the application?

I'm trying to avoid saving the user's inputs on a text
file, because it can be read and modified easily from
outside my application.

As Cor wrote, you can also write it to the registry, but that doesn't
prevent the user from reading/changing the settings. You'd have to encrypt
the values no matter where you store them.
 
H

Herfried K. Wagner [MVP]

* "Amjad said:
I'm trying to create dynamic default values in TextBoxes
that reflect the last user's input value.

How can I save the user's input in a textbox control so
that the user can see his last input in the textbox the
next time he runs the application?

I'm trying to avoid saving the user's inputs on a text
file, because it can be read and modified easily from
outside my application.

Configuration Management Application Block
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/cmab.asp>

<http://www.palmbytes.de/content/dotnetlibs/optionslib.htm>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top