PDA

Click to See Complete Forum and Search --> : ActiveX in a web page


hedonist
Sep 10th, 2001, 11:12 AM
I have created an ActiveX Control using VB6, packaged it and transferred it to a web server. The page displays correctly on my own computer (the one the control was written and tested on) but from any other computer the control frame (outline) appears but the control does not.

It does ask whether or not you wish to download the CAB file but that is as far as it gets. I've tried all I can think of and am getting stuck!

Any ideas?

aravindkoda
Oct 2nd, 2001, 09:07 AM
This problem could be due to various reasons.I have found that if the client machine runs on WIn2k professional machines some activex controls do not get downloaded.If ur client uses any other OS , then u can enable the downloading of activex controls by changing the Browsers settings.The problem could also occur if the client logs on to a NT machine where he has no permissions for updating th registry.

MagellanTX
Oct 2nd, 2001, 03:38 PM
Funny....I just posted the same kind of message a few days ago. I found out a few things:

1) If you do not have your control signed, then you need to adjust you security settings in your browser. (you need to allow unsinged ActiveX controls to be downloaded)

2) Set the CodeBase tag for the ActiveX control on the webpage. For instance http://myweb.com/mypage

3) You need to bring over all the required .dlls for the .ocx.

I hope this helps...