Hi,
You can save the form with the following code:-
XDocument..SaveAs(Path); //but the form shoud be full trusted
You can get the default form name by :-
XDocument.URI;
Is this what you are trying to ask ?
Thanks,
Gaurav
> Anybody can give me some indications about the code I need in order to have
> the default "Form1" changed into another text (for instance NameSurname) when
[quoted text clipped - 14 lines]
> Thanks in advanced.
> Francesco
Francesco - 17 Feb 2006 10:48 GMT
thanks for the reply.
So my question is : how can I overwrite the default XDocument.URI with
another text like "2006-02-15" ?
> Hi,
>
[quoted text clipped - 8 lines]
> Thanks,
> Gaurav
Francesco - 17 Feb 2006 11:01 GMT
I am trying to chang the name with some code like
XDocument.SaveAs("C:\MyForm.xml");
but I get an error
Is it correct what I am doing?
Francesco - 17 Feb 2006 11:43 GMT
ok, probably this error is due to the security level of the form...
I' ll try to install the form with Windows installer
> I am trying to chang the name with some code like
> XDocument.SaveAs("C:\MyForm.xml");
> but I get an error
>
> Is it correct what I am doing?