Hi Ralf,
Did you try: XDocument.SaveAs(your path)
Form will need to be Full Trust
Regards,
Franck Dauché
> Hello,
>
[quoted text clipped - 7 lines]
>
> Ralf
AlexW - 06 Dec 2005 20:52 GMT
I am having the same problem. The form is fully trusted. I get the message
"Infopath cannot complete this action because of an error in the form's
code."
The code is:
Sub CTRL429_6_OnClick(eventObj)
XDocument.UI.Alert("Saving form...")
XDocument.SaveAs("D:\MyForm.xml")
End Sub
Thanks,
Alex
> Hi Ralf,
>
[quoted text clipped - 16 lines]
> >
> > Ralf