The VB6.0 code window does not support the operation of the scroll bar in the middle of the mouse. Solution

Source: Internet
Author: User

This article is used to solve the problem that you cannot scroll the screen in the code editing window of VB6 development environment. Refer to a blog post and write a summary after testing.

1. Download the plug-in

Microsoft has provided an add-in feature that allows VB6 to support scroll wheel operations. For: http://download.microsoft.com/download/e/f/ B /efb39198-7c59-4ace-a5c4-8f0f88e00d34/vb6mousewheel.exe

2. Unzip and install

Download and decompress the package. Five files are displayed, including vb6idemousewheeladdin. dll, and copy it to C:/Windows/system32.

Click Run in the Start menu and enter

Regsvr32 vb6idemousewheeladdin. dll

3. Configuration

3.1 configure the VB development environment

Start VB.

(1) English version: click "add-in Manager" under "add-ins", select "mousewheel fix" in the dialog box, select "Loaded/unloaded" and "load on startup", and click "OK.

(2) Chinese version: click "external program"-"external program manager" in the menu, select "mousewheel fix", and select "load (s)" during startup ), load/uninstall (l ). These two are OK.
3.2 configure VBA

This patch can also be used to solve the problem that VBA does not support scroll wheel. You can enter Regedit in the running window to open the Registry Editor, find HKEY_CURRENT_USER/software/Microsoft/VBA/VBE/6.0/addins/vb6idemousewheeladdin. connect, (if there is no key, you need to create a new one), then add the string value friendlyname, whose value is mousewheel fix, add the DWORD Value commandlinesafe, whose value is 0, and add the DWORD Value loadbehavior, the value is 3. In this way, we are done.

Note: The extracted five files contain VBA mouse wheel fix. in the reg file, the loadbehavior value is 0, which is different from the one mentioned above. As for which pair, I don't know because I didn't test VBA.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.