Question

Is it possible to host/embed/reparent a normal Windows Application into a web page loaded into Internet Explorer on our Intranet?

I'd like to do something like have the user press a button on our intranet site, and have the Windows application start and look like it's inside our application, as if it was "framed". I believe it's possible to do this with Windows applications that reparent other applications.

I'm happy to elevate permissions, use trusted sites, make it a HTA, and/or change the registry on the client machine if necessary as we have full control over the machines on our Intranet. This also only needs to work on Internet Explorer.

Was it helpful?

Solution

To use ActiveX you need to modify the application to render to a different window handle. What language is your target application written in?

You need to change your application that it can be called with some parameters or as a dll with a window handle (one from internet explorer) as parameter. Your application instead of creating it's own window need to use the window handle from ie to render. Then you need to implement a simple ActiveX object that does nothing than to instanciate your application with the proper arguments.

OTHER TIPS

Sounds like you want to write an ActiveX control.

I've heard of embedding winforms into wpf, though I've never done it, this code project article claims to.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top