0
Reply

app to create delete xml data in VB

frank hugh

frank hugh

Sep 21 2008 2:49 PM
2k
I am looking to write a very simply front end app that will display the contents of my xml file and allow me to amend or add and delete new lines to it

my file layout is as such

<?xml version="1.0" encoding="UTF-8"?>
<root> 
  <text>Line 1</text>
  <text>2</text>
  <text>3</text>
  <text>42</text>
  <text>35</text>
  <text>48</text>
  <text>57</text>
  <text>696</text>
</root>

i can have as few as one entry and an infinite amount of entries but probably not more than 15 or so.

i have vb6 and vb express 2008. I thought it would be a doddle but i immediately ran into class stuff and my programming skills are well below very average :(

in its simplest form i want a form that when loaded is already displaying the contents of the file and i simply hit a button to add a new one or over write an existing one. Also need the file to be automatically updated so when an entry is made it saves the xml file.

It goes without saying any help would be appreciated