Noob XML question

Simulacra

New member
Joined
Jul 14, 2006
Messages
3
Programming Experience
Beginner
I have a small console app that has 1 module and 1 XML file. I am not sure how to call the xml doc from within module1. Can someone clear this up for me please?

thanks,

Norm
 
You will have to describe better what you are doing. I will take a wild guess even if I shouldn't, with 'call' you really mean 'load'? If so:
VB.NET:
Dim xdoc As New Xml.XmlDocument
xdoc.Load(filename)
 
Thanks. Load may be what I want to do. Here is a better description.

What I am writing is a server that accepts incomming text and writes it to a file, then sends an xml file back to the client as an acknowledgement that the text was received. The XML file resides in my "solutions explorer" window in Visual Studio 2005. So I have two files, one called Module1 and the other ACKN_OBJ.xml. I want to send ACKN_OBJ.xml to the client that connected.
 
Last edited:
Back
Top