Contents tagged with VB6

  • How to get the mouse wheel to work in VB6 IDE

    Visual Basic 6.0 (VB6) applications are still around and frequently I will have to work on some Visual Basic 6 COM Component DLL or application.   I would much rather prefer to work in c# or VB.NET but I completely understand a companies decision to not rewrite a reliable VB6 component but prefer to just make minor changes to it (especially when they have limited resources and the VB6 component does not provide value add to the customer). 

    So I have no problem working with Visual Basic 6 except for one of the most painful parts which is no mouse wheel support in the code window.  It sounds like just a minor inconvenience but in reality not having mouse wheel support slows down development dramatically when trying to find your way around some VB6 code.

    I was about to post my question on StackOverflow but as soon as I typed in my question this StackOverflow question popped up with the #1 answer pointing me to this Microsoft Support article for a Mouse Wheel Add-in for VB6: 

    Mouse wheel events do not work in the Visual Basic 6.0 IDE - http://support.microsoft.com/kb/837910

    Follow the instructions in Method 1 described on that page and then your mouse wheel will work within the Visual Basic 6.0 IDE code window.  Very, very nice!

    Technorati Tags: ,