Saving a document

N

Noga

I am trying to save the document to current directory through the code, using
one of the following:

XDocument.SaveAs("MyForm");
XDocument.DOM.save("MyForm");

And get "permission denied" error.
I made my form fully trusted by adding the attribute -
requireFullTrust="yes" - to xDocumentClass in the manifest.xsf file, and it
didn't help.

What can be the reason for that?

Thank you.
 
V

virgul

that don't work

go to the msdn->Office solution developpement->office 2003->infopath
2003 ->SDK documentation-> Common developer tasks-> Understanding fully
trusted forms

++

Thierry
 
C

christophe

for Write an XML file in my disk from an infopath's form, i have put my form
in fulltrust (by the menu) and I have create a certifact.

and it works.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top