Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2007

Tip: Looking for answers? Try searching our database.

Xdocument problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jangeedts - 19 Apr 2007 18:58 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.