Saving form XML to a local directory

S

STom

I'm new to InfoPath.

I created myself a form based on an existing .xsd. I then created the
fields.

When I submit, what I want to do is just save the xml file to a particular
directory. So, I setup my submit so that it uses custom code and it created
a function for me that passes in an 'eventObj'.

How do I get the XML document from the eventObj and save it to my hard
drive. I"m assuming SaveXML of course but I'm curious about how to get the
document.

Thanks.

STom
 
Top