Click to See Complete Forum and Search --> : ActiveX won't download into IE
I have a home-brewed ActiveX control on a webpage. On some stations the page pulls up great, but there's this one station that won't pull up the page and would just hang (i.e. there's a Not Responding message when I Ctrl-Alt-Delete)..it can't be a missing CAB file cause I can download the control from other PC's. I've also enabled all activex-related options in the Internet Options.
Can anybody help?
monte96
Oct 12th, 2000, 02:51 PM
Check under View Objects and see if your control has been registered. Or better yet, check the registry on the problem pc and see if it was registered. If it's an NT machine, make sure the logged in user has admin rights or it won't be able to register the component.
If it was registered, you'll need to unregister it.
I run into this sort of problem all the time with Crystal Reports' ActiveX viewer control...
barrk
Oct 12th, 2000, 03:32 PM
Un-registering the ocx will work but I think it's easier to do the following:
Bump the version number on the ocx. recompile and rebuild your cab file. Once you have registered the ocx (even if it is a non-working ocx) it won't re-register unless it detects a different version! Be sure to bump the version number in your object tag on your page too.
how do you unregister a component?
barrk, how do you "bump" stuff?
sorry, but this whole activex thing is new to me, and i need help.
monte96
Oct 13th, 2000, 02:33 PM
from the start menu, click on Run
Then type:
regsvr32 <name of your control> /u
By bumping he means just increment the version number of your control. When you compile, click on options and you can set the Major/Minor/Revision version numbers for the project.
By changing it to use a new version you have essentially created a new control and will overwrite the old one provided you have your OBJECT tag defined to use the new one.
barrk
Oct 13th, 2000, 02:47 PM
Yep that's exactly what I meant. Sorry for not being clearer.
when i change the version number, is it gonna be fine if it's just the revision number that's changed? or should i change the major version number too?
barrk
Oct 13th, 2000, 03:30 PM
You only need to increment the minor. Be sure that you recompile and repackage your control though! Are you using the package and deployment wizard?
barrk
Oct 13th, 2000, 04:12 PM
PDW is a good thing! It makes life a lot easier. since you said you were new at this schtick I just wanted to make sure you were aware of the many virtues of using PDW...that's all.
barrk
yeah, i know. PDW is a big help specially since i barely know anything about activex controls.
monte96
by <name of your control> you mean like myControl.ocx?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.