Results 1 to 11 of 11

Thread: ActiveX won't download into IE

  1. #1
    Guest
    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?

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    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..

  3. #3
    Hyperactive Member barrk's Avatar
    Join Date
    Sep 2000
    Location
    My own little world
    Posts
    274
    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.

  4. #4
    Guest
    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.

  5. #5
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    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..

  6. #6
    Hyperactive Member barrk's Avatar
    Join Date
    Sep 2000
    Location
    My own little world
    Posts
    274

    Smile Thanks Monte96

    Yep that's exactly what I meant. Sorry for not being clearer.

  7. #7
    Guest
    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?

  8. #8
    Hyperactive Member barrk's Avatar
    Join Date
    Sep 2000
    Location
    My own little world
    Posts
    274
    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?

  9. #9
    Guest
    yeah i am, why?

  10. #10
    Hyperactive Member barrk's Avatar
    Join Date
    Sep 2000
    Location
    My own little world
    Posts
    274

    Thumbs up

    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.

  11. #11
    Guest
    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
  •  



Click Here to Expand Forum to Full Width