-
Hi all,
I have some ActiveX (ocx file) and I want to use it on HTML page.
my code is
<object id ="Shape1" classid="clsid:B1208012-35A6-11D0-A01A-00A024D06631"
codebase="http://servername/shape.dll">
</object>
and I copied shape.dll to home directory (/wwwroot) on the server. But this isn't work correctly. I think the dll file is downloading to client machine but it isn't installing (or registering).
Any help would be greatly appreciated.
Thanks
Dilfuruz
-
.ocx and .dll are tow entirely different things. I may be mistaken, but i was under the impression that .dll's were meant to run on client machines only. .ocx would be the way to go if you're looking to deploy on the web. So, make sure that your VB project is for an ActiveX control, and you generate a .ocx file.
Another problem might be that your security setting on your browser are set too high. double check those. If you want to license your activex control, you need to use the LPKtool. Just look up lpkfile in your vb help and that should give you a pretty good idea of what to do.
i have some questions about LPKtool myself. But i doubt I'm going to get much help from this board!
hope i helped!
Shaheeb R.
www.ahmonra.com