M
Michael Totschnig
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
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