Board index » Visual Studio » Form Fields

Form Fields

Visual Studio20
I have a Form with about 20 text boxes. The user opens the

application and then fills the text box.



I want the user to be able to save the textbox values so

the next time the user opens the application the textbox

is filled these values.



My question is how do I save text box values that were

entered by the user and then populate the text fields with

these saved values.



thanks for your assistance


-
 

Re:Form Fields

"sunil" <nfpaccounting@hotmail.com>wrote in message

Quote
I have a Form with about 20 text boxes. The user opens the

application and then fills the text box.



I want the user to be able to save the textbox values so

the next time the user opens the application the textbox

is filled these values.



My question is how do I save text box values that were

entered by the user and then populate the text fields with

these saved values.



on exit you write the values to an INI file, the registry, a database, a

flat file or whatever makes sense for your app. when the app starts you

read in the saved values and put them back in the appropriate textboxes.



-

Re:Form Fields

Bob,



I was just about to post the same reply. Glad I read yours first ;^)



Al Reid





Albert E. Reid, Jr. Solution Specialist Chapman Corporation Imaging & Engineering Technology Division 331 S. Main Street Washington,

PA 15301 (724) 250-2116 aereid@chapmancorp.com www.chapmancorp.com

"Bob Butler" <tiredofit@nospam.com>wrote in message news:#lX2QG4gDHA.408@TK2MSFTNGP10.phx.gbl...

Quote
"sunil" <nfpaccounting@hotmail.com>wrote in message

news:175801c38380$2bce9fc0$a001280a@phx.gbl

>I have a Form with about 20 text boxes. The user opens the

>application and then fills the text box.

>

>I want the user to be able to save the textbox values so

>the next time the user opens the application the textbox

>is filled these values.

>

>My question is how do I save text box values that were

>entered by the user and then populate the text fields with

>these saved values.



on exit you write the values to an INI file, the registry, a database, a

flat file or whatever makes sense for your app. when the app starts you

read in the saved values and put them back in the appropriate textboxes.







-