Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Activex won't Load... Please Help!

Status
Not open for further replies.

pcwilson

Programmer
Jan 27, 2003
4
US
Hi

I'm new to Activex so excuse me if this is a stupid question. I have a VB6 Activex control that does a simple print function through a web page. I packaged it using the Package and Deployment Wizard for VB6 and created an internet .CAB with all the dependencies. The problem is I can't get the control to load. When I access the page it gives me a message that the Activex control need to be loaded. I click install and nothing happens but there are no errors. If I click somewhere else on the page, again I get the message that I need to install this Activex. I'm running XP SP2 and have the "download signed Activex Controls" option set to enable. Is there anywhere on the system that I can find an error log that will tell me why it doesn't load? Any help would be appreciated.

Thanks
Wilsonp770
 
Hi Greg.

Yes the control was signed. I did figure out part of the problem. It was compiled with binary compatibility set but was not pointing to the correct previous version of the OCX so the CLSID didn't match the web page. I can now get it to install on my machine and any other machine running XP sp2, but I still can't get it to install on anyone running Windows 2000. Is there something different that needs to be done to get it to run on 2000?

Thanks for your help.
Pam
 
No, there isn't. You either have the wrong clsid, or the component got installed and you didn't know it. You should check your registry (hkey_classes_root/clsid) to see if it was in fact installed.

HTH

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top