PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
What si the best way to store a variable value between program shutdowns
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
What si the best way to store a variable value between program shutdowns
![]() |
What si the best way to store a variable value between program shutdowns |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I need to store a user entered value such that I still have it after
shutting down the program and running it again. In my old eVb version I stored the value in a text file and just read it out again on startup of the program. Is there a better way in VB.NET? James |
|
|
|
#2 |
|
Guest
Posts: n/a
|
There is no 'best'. Registry, XML file, plain binary or text file all come
to mind, probably in that order. Paul T. "James L" <1of04@earthlink.net> wrote in message news:1114460986.212195.190140@l41g2000cwc.googlegroups.com... >I need to store a user entered value such that I still have it after > shutting down the program and running it again. In my old eVb version > I stored the value in a text file and just read it out again on startup > of the program. Is there a better way in VB.NET? > > James > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Then I guess in the category of "If it aint broke don't fix it" i will stay
with the text file since I have that all worked out and funcitonal already anyhow. James "Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com> wrote in message news:uq$MwXdSFHA.3544@TK2MSFTNGP12.phx.gbl... > There is no 'best'. Registry, XML file, plain binary or text file all > come to mind, probably in that order. > > Paul T. > > "James L" <1of04@earthlink.net> wrote in message > news:1114460986.212195.190140@l41g2000cwc.googlegroups.com... >>I need to store a user entered value such that I still have it after >> shutting down the program and running it again. In my old eVb version >> I stored the value in a text file and just read it out again on startup >> of the program. Is there a better way in VB.NET? >> >> James >> > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

