I made an Infopath 2007 form with C# code.
I dont know how to get a filename of a document to with an opened form is
assigned.
I've read responses telling about Xdocument.URI but my Visual Studio doesnt
recognize 'thisXDocument' ...
Even after adding "using Microsoft.Office.Interop.InfoPath.SemiTrust;" there
still is no thisXdocument to find.
S.Y.M. Wong-A-Ton - 21 Apr 2007 11:36 GMT
'thisXDocument' was replaced by 'this' in InfoPath 2007. You may want to
refer to http://msdn2.microsoft.com/en-us/library/aa941030(VS.80).aspx when
using managed code. This link
http://msdn2.microsoft.com/en-us/library/aa948789(VS.80).aspx might also help.
---
S.Y.M. Wong-A-Ton
> I made an Infopath 2007 form with C# code.
>
[quoted text clipped - 6 lines]
> Even after adding "using Microsoft.Office.Interop.InfoPath.SemiTrust;" there
> still is no thisXdocument to find.