ActiveX Control will not instantiate

C

Connah

Hi all.

Does anyone know of any utility out there that will help me determine
why IE will not instantiate an ActiveX control?

I have written a custom ActiveX control in Visual Basic 6. It has no
GUI, it simply exposes a few methods that are accessed by VBScript. On
some computers, I am having trouble getting the control to instantiate
consistently. The kicker is that SOMETIMES it instantiates without any
changes to the control, client, or HTML. If you refresh and clear your
cache enough (or so it seems), eventually it will work. Reload a few
more times, and it stops instantiating! Instead of the control, I get a
small square box with a dot in the middle where it should be. The
control is properly registered and I can instantiate it inside of a
Visual Basic program on the same computer consistently.

Thank you!

Matthew Connor
 
R

Rob ^_^

Hi Connah,

Apartment threaded? What does your active X do? Any browser hooks? ISetSite
method calls:

Regards.
 
R

Rob ^_^

Hi Connah,

Try breaking ActiveX compatibility and recompiling you activex exe with
different class names. I am only guessing that since clearing the cache
sometimes makes it work, and that it works on other computers that the
problem may lay with your development machine's configuration.

A test for this may be to reboot your machine completely before running your
browser and scripts and activex, so that the cache and protected dll folder
(I am guessing that IE will treat your activex exe as an in process dll and
place a copy there ).

If you are able to run your activex in debug mode in VB6, check that the
inprocessserver32 is calling vbdebug.dll

All guesses. Hope they help.

Regards.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top