473,325 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

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 1753
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bill H | last post by:
I'm really new to Internet apps and such sorry, if this is a "duh" question. What is the standard approach to saving input from a form if on submit the database connection fails? I'm thinking...
18
by: TORQUE | last post by:
Hi, Im wondering if anyone can help me with a problem. I have a form with more than 50 unbound fields. Some of the fields will be blank from time to time. This seems to be where im having...
6
by: NutsAboutVB | last post by:
Hello, I am a .NET programmer and I have a JPEG image file (from digital camera) of about 109 KB's in size, when I open it and save it (without making any alterations at all, just going to File...
4
by: Pedro Leite | last post by:
Good Afternoon. the code below is properly retreiving binary data from a database and saving it. but instead of saving at client machine is saving at the server machine. what is wrong with my...
6
by: Mark Denardo | last post by:
My question is similar to one someone posted a few months back, but I don't see any replies. Basically I want to be able to have users upload photos and save them in a database (as byte data)...
7
by: ConfusedAlot | last post by:
This is my code for a database, whenever i save the database to the file 'database.txt' and display the results i get this; name - (correct, is what i put in) pin - 3435973836 slew rate -...
1
by: WebCM | last post by:
We can do it in different ways. Configuration data are sent by POST. Some of them should be parsed before saving to file. Perhaps, I will use var_export(). However, how to do it best? 1....
3
by: pozze | last post by:
Hi, I've just made the change from ASP to .net. I have a file (code below) that saves a user submitted file to a MS SQL 2005 database. It collects the file name, file size, file type, and lastly...
9
by: Yamasassy | last post by:
HI im having problems to saving to a .txt file, i need to be able to store a number of employees to this file (and beable to open and these files to load in to text boxes)and retrieve then for later...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.