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.