Run an ActiveX through Web

Posted by balexandre on Stack Overflow See other posts from Stack Overflow or by balexandre
Published on 2010-04-21T07:08:03Z Indexed on 2010/04/21 7:13 UTC
Read the original article Hit count: 350

Filed under:
|
|
|

We have a webpage that works fine on the local computer as it uses a COM Object that is only available in the local computer.

the program generates HTML code:

<html>
  <head>
     <script type="text/javascript">
     <!--
       function ResizeControl(){Y = document.body.clientHeight;if (Y < 1) {Y = 1}X = document.body.clientWidth;if (X < 1) {X = 1}ActiveX.width = X;ActiveX.height = Y}
     -->
     </script>
     <style type="text/css">html, body { overflow:hidden; } </style>
  </head>
  <body OnResize="ResizeControl()" OnLoad="ResizeControl()" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0">
     <object id="ActiveX" classid="CLSID:8EC68701-329D-4567-BCB5-9EE4BA43D358" width="14" height="14">
         <PARAM NAME="tabName" VALUE="Complaints">
     </object>
  </body>
</html>

and shows fine

alt text

My question is, How can we port this into a web environment? As the Delphi developer has no idea and I'm not a Delphi fellow.

I want to be able to use this "webpage" on a web address

http://INTRANET/mysite/thispage.html

Any idea, any though, any door to open is greatly appreciate :)

© Stack Overflow or respective owner

Related posts about activex

Related posts about delphi