|
-
Oct 12th, 2000, 12:43 PM
#1
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?
-
Oct 12th, 2000, 02:51 PM
#2
Frenzied Member
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...
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Oct 12th, 2000, 03:32 PM
#3
Hyperactive Member
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.
-
Oct 13th, 2000, 01:41 PM
#4
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.
-
Oct 13th, 2000, 02:33 PM
#5
Frenzied Member
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.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Oct 13th, 2000, 02:47 PM
#6
Hyperactive Member
Thanks Monte96
Yep that's exactly what I meant. Sorry for not being clearer.
-
Oct 13th, 2000, 03:28 PM
#7
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?
-
Oct 13th, 2000, 03:30 PM
#8
Hyperactive Member
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?
-
Oct 13th, 2000, 03:39 PM
#9
-
Oct 13th, 2000, 04:12 PM
#10
Hyperactive Member
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.
-
Oct 13th, 2000, 04:34 PM
#11
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|