How to convert an txt file to a XML document?

F-U

New member
Joined
May 17, 2005
Messages
2
Programming Experience
Beginner
Hi there

I'm pretty new to VB so pardon me :eek:
Is there a way to convert a text file into a XML document after i choose the selected text file in a selected from a file chooser.

Regards
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
the best way to convert a text file to xml (in my opinion) is to read all the values from the text file into a dataset then use the .SaveXML method of the dataset to save it as an xml file
 
Top Bottom