ocx file not working in my htm page
|
hi all,
i have a simple test htm page that opens up a .ocx file and passes a value into it.
the ocx connects to a db retrieves a recordset of document paths using the value passed in and displays them in a list box for the user to click on and open.
i have this working on my PC, however when i have copied the .htm and .ocx files onto another PC the .ocx does not work and i just get a red X in the top corner.
do i have to register the ocx if its used on a web page?
is it something to do with the CLSID?
code in .htm is
HTML Code:
<HTML>
<BODY>
<OBJECT name="activeXControlName" id="activeXControlID" width="500" height="200" classid="clsid:6BB4BAEC-DB5D-4FEB-9B66-D8C04686A120">
<param name="propertyNameToBeExposedThroughParam" value="98" />
</OBJECT>
</BODY>
</HTML>
thanks in advance
Ian.
|
__________________
Were all going to heaven lads, wey heyy.....
|