Showing posts with label Visual Basic. Show all posts
Showing posts with label Visual Basic. Show all posts

Wednesday, August 24, 2011

Mouse wheel events do not work in the Visual Basic 6.0 IDE

Download the VB6 Mouse Wheel.exe file that includes the add-in DLL and the code that is used to create the add-in DLL.
  1. Download the VB6 Mouse Wheel.exe file. The following file is available for download from the Microsoft Download Center:
    Download
    Download the VB6MouseWheel.EXE package now.

    For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
    119591  How to obtain Microsoft support files from online services
    Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
  2. Click Start, click Run, type regsvr32 <path>\VB6IDEMouseWheelAddin.dll, and then click OK.
  3. Start Visual Basic 6.0.
  4. Click Add-Ins, and then click Add-in Manager.
  5. In the Add-in Manager list, click MouseWheel Fix.
  6. Click to select the Loaded/Unloaded check box, and then click to select the Load on Startup check box.
  7. Click OK.
You can also build the add-in DLL in Visual Basic 6.0. If you do this, the add-in DLL is automatically registered. You can then follow steps 4 through 7 to enable the add-in DLL. To build the add-in DLL, click Make VB6IDEMouseWheelAddin.dll on the File menu.