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 / February 2006

Tip: Looking for answers? Try searching our database.

open a form from anohter form and export the opened form by coding

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mancha - 31 Jan 2006 15:41 GMT
Hi to all,

>From one form I open another form by code (C#). I have to export the
view from the opened form.

The code is
XDocument xDocPrevious =
thisApplication.XDocuments.Open("c:\\openFile.xml", 1);
DocPrevious.View.Export(Environment.GetFolderPath("C:\\test.mht",
"MHT");

It seems an error when the opened form is exported. The error is that
the view isn't ready. What should I do?
Sandeep - 03 Feb 2006 11:50 GMT
HI Mancha

Check out this link

http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1260&SearchTerms=user,infor
mation,from,AD
,,,

I hope this will help U
Signature

Sandeep
www.autonomysystems.com

 
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.