ActiveX control - RaiseEvent doesn't work

J

JOnathan Doyle

I've developed an ActiveX control in VB6. This control is
used in Active Server Pages and uses RaiseEvent to pass
event to the ASP. This works fine most of the time,
however the events are not raised in the ASP if both of
the following conditions are true:

1) An instance of IE is already opened (doesn't matter
which website is loaded).
2) The ASP that contains the ActiveX control is then
loaded into a second instance of IE - not by launching IE
and then navigating to the ASP, but by clicking on a link
to the ASP (desktop link, link in email, etc.) which then
launches IE.

I'm using IE6 with all of the latest updates applied.
Any ideas?
 
J

Jonathan Doyle

One more bit of info - there's no problem if the ActiveX
control is apartment-threaded. Unfortunately my ActiveX
control contains an a single-threaded third party control.
 

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