First of all thank you for looking.
Here's what I'm trying to do:
I have a program that I'd like to store some values in a simple XML file. I need for the program to check to see if the file exists, create it if it doesn't and then fill in the values. I also need to read the values into an object.
Below is the XML file. I know how to check for it's existence but I can't figure out how to create, modify, read from it. I've searched and do not understand the solutions others have found.
Thanks again for helping.
Ron
Here's what I'm trying to do:
I have a program that I'd like to store some values in a simple XML file. I need for the program to check to see if the file exists, create it if it doesn't and then fill in the values. I also need to read the values into an object.
Below is the XML file. I know how to check for it's existence but I can't figure out how to create, modify, read from it. I've searched and do not understand the solutions others have found.
VB.NET:
[size=2][color=#0000ff]<?[/color][/size][size=2][color=#800000]xml[/color][/size][size=2][color=#ff00ff] [/color][/size][size=2][color=#ff0000]version[/color][/size][size=2][color=#0000ff]="1.0"[/color][/size][size=2][color=#ff00ff] [/color][/size][size=2][color=#ff0000]encoding[/color][/size][size=2][color=#0000ff]="iso-8859-1"?>
<[/color][/size][size=2][color=#800000]WSLY[/color][/size][size=2][color=#0000ff]>
[/color][/size][size=2][color=#0000ff] <[/color][/size][size=2][color=#800000]Value1[/color][/size][size=2][color=#0000ff]>Value</[/color][/size][size=2][color=#800000]Value1[/color][/size][size=2][color=#0000ff]>
[/color][/size][size=2][color=#0000ff] <[/color][/size][size=2][color=#800000]Value2[/color][/size][size=2][color=#0000ff]>Another Value</[/color][/size][size=2][color=#800000]Value2[/color][/size][size=2][color=#0000ff]>
[/color][/size][size=2][color=#0000ff] <[/color][/size][size=2][color=#800000]Value3[/color][/size][size=2][color=#0000ff]>Still Another One</[/color][/size][size=2][color=#800000]Value3[/color][/size][size=2][color=#0000ff]>
[/color][/size][size=2][color=#0000ff] <[/color][/size][size=2][color=#800000]L1[/color][/size][size=2][color=#0000ff]>[/color][/size][size=2]0[/size][size=2][color=#0000ff]</[/color][/size][size=2][color=#800000]L1[/color][/size][size=2][color=#0000ff]>
[/color][/size][size=2][color=#0000ff] <[/color][/size][size=2][color=#800000]L2[/color][/size][size=2][color=#0000ff]>[/color][/size][size=2]0[/size][size=2][color=#0000ff]</[/color][/size][size=2][color=#800000]L2[/color][/size][size=2][color=#0000ff]>
[/color][/size][size=2][color=#0000ff] <[/color][/size][size=2][color=#800000]L3[/color][/size][size=2][color=#0000ff]>[/color][/size][size=2]0[/size][size=2][color=#0000ff]</[/color][/size][size=2][color=#800000]L3[/color][/size][size=2][color=#0000ff]>
[/color][/size][size=2][color=#0000ff] <[/color][/size][size=2][color=#800000]LS[/color][/size][size=2][color=#0000ff]>[/color][/size][size=2]0[/size][size=2][color=#0000ff]</[/color][/size][size=2][color=#800000]LS[/color][/size][size=2][color=#0000ff]>
</[/color][/size][size=2][color=#800000]WSLY[/color][/size][size=2][color=#0000ff]>
[/color][/size]
Thanks again for helping.
Ron