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

Tip: Looking for answers? Try searching our database.

Opening a new form from the OnLoad event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Segfault - 19 May 2006 19:49 GMT
Is there a reason the code:
thisApplication.XDocuments.Open(sForm,
CType(XdDocumentVersionMode.xdCanOpenInReadOnlyMode, Integer))
will not execute in the onLoad event?

I have a form that checks whether the form is out-of-date and reloads if
necessary.  This code snippet seems to run fine when I put it in a button
handler, but does nothing when in the onload event.
Kalyan Reddy - 23 May 2006 09:08 GMT
Hi Segfault,

Yes it does not work Onload
you cannot open a new infopath window in onload

Signature

Kalyan Reddy
Visit http://www.autonomysystems.com

> Is there a reason the code:
> thisApplication.XDocuments.Open(sForm,
[quoted text clipped - 4 lines]
> necessary.  This code snippet seems to run fine when I put it in a button
> handler, but does nothing when in the onload event.
 
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.