SaveAs Method

J

Juli V.

I've got a problem with SaveAs Method

I write:
XDocument.SaveAs("C:\MyForm.xml");

And get an error: "Permission Denied" in this line.

What can be the problem?

Thanx!
 
J

Juli V.

Oh! I've got it!
Now I have another error:
"InfoPath cannot save the form with the following name: c:\MyForm.xml"

What is the problem now?
 
Top