Link to home
Start Free TrialLog in
Avatar of bryanford
bryanford

asked on

Simple XML settings file reading and writing - newbie

Hello,

I dont have much experience with vb.net and i need some help.

I have a form that has a few text boxes for entering in credentials to connect to a mysql database.

I want to have the settings read from an xml file when its loaded, and written to the xml file when its closed.

I also want to put as much of the reading and writing code in a module, and call it from the form when needed.

Can someone please give me a basic guide and/or examples to achieve this?

thanks,

bryan
ASKER CERTIFIED SOLUTION
Avatar of cubixSoftware
cubixSoftware

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
SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada 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 bryanford
bryanford

ASKER

i was also looking around and found this:

http://www.codeproject.com/vb/net/ConfigOpt.asp

which i tried and works really good and is very simple.

Thanks for your posts though, i'll split the points between you

bryan