Link to home
Start Free TrialLog in
Avatar of drimando
drimando

asked on

Deploying ActiveX Control in HTML

I have added an html doc that uses a VB ActiveX control to our existing in house program.  It works great on my computer but when I try to deploy it to our IIS it doesn't work( blank page).  I am using Package and deployment wizard.  Any suggestions would be appreciated.
Avatar of Sicos
Sicos


Did you add the codebase tag to youre object defenition in youre html file?

<OBJECT classid=CLSID:1C8E277D-983E-11D3-B106-0008C7A07EFA
codeBase=download/PropertiesLib.CAB#version=2,100,0,1 id=AddTab
style="LEFT: 7px; POSITION: absolute; TOP: 7px; VISIBILITY: hidden; Z-INDEX: 100">
      <PARAM NAME="_ExtentX" VALUE="1191">
      <PARAM NAME="_ExtentY" VALUE="1191">
</OBJECT>

in this example I have a directory on my webserver called download where the PropertiesLib.CAB file is

Greeting,
Sicos
Avatar of drimando

ASKER

My html file is as follows:

<HTML>
<HEAD>
<TITLE>QWeb.CAB</TITLE>
</HEAD>
<BODY>
<OBJECT ID="QWeb"
CLASSID="CLSID:16B88676-6B53-4CE5-A847-ED6B7AA821AB"
CODEBASE="QWeb.CAB#version=1,0,0,0">
</OBJECT>
</BODY>
</HTML>

I just noticed, however, that on my computer it doesn't matter if QWeb.CAB is present or not - it works based on the CLSID alone.


Yeah I know. But when other people don't have the activex component installed then Internet Explorer tries to download the component from the webserver using the CODEBASE tag and youre CAB file.

Greetings,
Sicos
Does anyone else have any suggestions?  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of stripathi
stripathi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can you please delete this question.  Thanks.
I did gave the solution