469,626 Members | 1,466 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,626 developers. It's quick & easy.

Saving user's input

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
Nov 20 '05 #1
4 1526
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
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.

Nov 20 '05 #2
in addition
if your app uses a db store them there
or you could use encryption on a textfile

eric

"Cor" <no*@non.com> wrote in message
news:u3**************@TK2MSFTNGP12.phx.gbl...
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
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.


Nov 20 '05 #3
* "Amjad" <an*******@discussions.microsoft.com> scripsit:
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>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
"Amjad" <an*******@discussions.microsoft.com> schrieb
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.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Bill H | last post: by
7 posts views Thread by ConfusedAlot | last post: by
1 post views Thread by WebCM | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.