Saving user's input

  • Thread starter Thread starter Amjad
  • Start date Start date
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
 
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
 
in addition
if your app uses a db store them there
or you could use encryption on a textfile

eric
 
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.
 
* "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>
 
Back
Top