Link to home
Start Free TrialLog in
Avatar of jet46
jet46

asked on

Saving Data

Hi, I am new to vb.net.

I have a form with some fields on it.  I want to be able to save the data on the form and have it retrieved next time the program runs.  This is not a database application and there will not be more than one record.  I basically just want to save some user settings.  What is easiest way of doing this?
Avatar of tolgaong
tolgaong
Flag of Türkiye image

It will be more easy to use a text file I think. Or XML if you like

I personally do not recommend registry for this purpose because, some users do not have write access to the registry -for security reasons- and it is hard to back up that data.
Avatar of jet46
jet46

ASKER

How is this done?
ASKER CERTIFIED SOLUTION
Avatar of gbzhhu
gbzhhu
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jet46

ASKER

Sorry it took so long to get back.  What language is that?  How would this be done in VB?
That was C#, can you convert to VB.net?  if not let me know and I will do it but I am busy right now maybe later on today (maybe my lunch time break)
The only person who provided a solution is me and user didn't continue participating, therefore I believe I deserve the points