# IE events and conflict with VB6 DLL

**URL:** <https://www.ruby-forum.com/t/ie-events-and-conflict-with-vb6-dll/75834>\
**Category:** Ruby\
**Created:** [November 13, 2006, 8:02pm UTC](https://www.ruby-forum.com/t/ie-events-and-conflict-with-vb6-dll/75834 "2006-11-13T20:02:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkspence](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a88e57/32.png) [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Post date:** [November 13, 2006, 8:02pm UTC](https://www.ruby-forum.com/t/ie-events-and-conflict-with-vb6-dll/75834/1 "2006-11-13T20:02:01Z")

</div>

I’ve written a ClickRecorder class that monitors the “onContextMenu”  
click events in Internet Explorer. It’s working just fine. Then I put  
together a VB6 activex DLL that displays a simple dialog that queries  
the user for information about the web app control that fired the  
event. That information is added to the SQL Server table along with the  
other information about the control. The “onContextMenu” event handler  
creates an instance of the class in the DLL and is supposed to display  
the dialog. However, it’s locking up IE. My thoughts are that the event  
monitoring bit is probably causing the problem.

Has anyone done something like this before?

TIA

---

<div class="post-metadata">

**Author:** ![pkspence](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a88e57/32.png) [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Post date:** [November 15, 2006, 7:29pm UTC](https://www.ruby-forum.com/t/ie-events-and-conflict-with-vb6-dll/75834/2 "2006-11-15T19:29:13Z")

</div>

I re-wrote the COM dll in [VB.NET](http://VB.NET) and no more IE lockup problems.
