VB Custom ActiveX in WebPage
Hi All,
I have a question regarding using an ActiveX control I created in VB on a webpage.
So I used the Visual Basic 6.0 ActiveX control project and created a control. This control has a bunch of command buttons and other stuff for a little interface I need. I compiled it and made the .ocx file (clientside.ocx in my case).
Now to use it in my webpage, I used the following HTML code:
<OBJECT ID="MyObject1" CLASSID="CLSID:7267BCED-B206-47A4-8E8D-B34600461863"
CODEBASE="/control/client side.ocx">
</OBJECT>
The class ID is from the registry. I tested this on my laptop locally and it obviously worked fine. Then I deployed it to my Apache 2.2 webserver hosted on my laptop. Tried it from a different computer and the ActiveX control wouldn't show up. IE asked me to install the ActiveX, I did. Then there was just a little "X" mark on the screen where my ActiveX object should have been. Rest of the page loaded normally.
Any ideas as to what I'm doing wrong? Please help!!!
Thanks!
Re: VB Custom ActiveX in WebPage
Quote:
Originally Posted by vik_221
Then I deployed it to my Apache 2.2 webserver hosted on my laptop.
Did you register that file also using the RegSvr utility? Does this file exist beneath your "website directory\control\" path with the name of "client side.ocx"? Have you checked your local IE web browser security settings and that they permit you using ActiveX controls?