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

Saving user's input

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


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

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

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

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