Question Locked

insertion in xml file

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

i have an xml file name as saved.xml

amol

223

whwn i run my application and enter keyname=manish and keyvalue=200 through textboxex want following insetion in my xml file

amol

223

manish

22o

my application is in vb6.0
please help me its argent

5 replies

by robo_dev

Is there a particular question, problem, or error you get? If so, paste a code snippet (not the whole program) and maybe somebody here can help.

It's been a long time since I've had to do homework for school, but I seem to recall that I learned the most when I did the work myself.

by slayer_

Dim oElement as Object = XMLObject.CreateElement("Test")
oElement.text="value"

XMLObject.SelectSingleNode("RootNode").addchild(oElement)

XMLObject.Save("Filepath")

by amolsy

Sir its not working for me,tell another answer

by amolsy

Now I got the answer thank you very much

This discussion is closed to new replies.