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

Tip: Looking for answers? Try searching our database.

bring infopath window to foreground

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Totschnig - 26 Jan 2006 21:42 GMT
Probably the answer is something obvious, but I could not find how I
can bring an Infopath window to the foreground, when I conncet to it
with external automation.
The use case is a web page, from which I want to call a function in an
open Infopath form that loads data and as a result the form should be
displayed to the user. I successfully implemented both a javascript
function directly inserted into the page (for Internet Explorer) and a
small helper exe which is called via a private MIME type (for Firefox).
Both use the Infopath.Application object and execute the function.
I tried Xdocument.View.Window.Activate(), but it does not foreground
the application window.
Regards,
Michael Totschnig
Greg Collins [InfoPath MVP] - 27 Jan 2006 00:04 GMT
If you've already tried Activate(), then I am not sure what else you could try.

Signature

Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com

Probably the answer is something obvious, but I could not find how I
can bring an Infopath window to the foreground, when I conncet to it
with external automation.
The use case is a web page, from which I want to call a function in an
open Infopath form that loads data and as a result the form should be
displayed to the user. I successfully implemented both a javascript
function directly inserted into the page (for Internet Explorer) and a
small helper exe which is called via a private MIME type (for Firefox).
Both use the Infopath.Application object and execute the function.
I tried Xdocument.View.Window.Activate(), but it does not foreground
the application window.
Regards,
Michael Totschnig
 
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.