The way of using socket control in Win7 x64 + excel word VBE environment

WIN10 64-bit installation vb6.0 stuck in the installation program is updating your system

1. It is prompted whether to use Visual SourceSafe during installation, and choose No.
2. Customize the installation, then select "Data Access", and then click "Change Options" twice to remove the tick in front of ADO and RDS.
3. Restart normally according to the prompts.

 

Due to some special needs, I need to use the socket control in the Win7 x64 + excel word VBE environment, but most of the methods on the Internet are not complete, I summarized it myself, and share it as follows:
First, the socket controls that can be downloaded online are all old versions When using the control, there will be problems such as unable to register, unable to drag and drop, and the program does not respond. It is recommended to use the latest socket control
VB60SP6-KB2708437-x86-CHS.MSI. After downloading, unzip msiexec /a "VB60SP6-KB2708437-x86- CHS.MSI" /qb TARGETDIR="D:\abc"
 After decompression, copy the MSWINSCK.dep and MSWINSCK.ocx files in the SYSTEM directory of the decompression directory to C:\Windows\System32, and copy the MSWINSCK.ocx file separately to C :\Windows\SysWOW64 (If you don’t copy this in a 64-bit system, you will not be able to register the control with the regsvr32 command), the next step is to add registration information


Windows Registry Editor Version 5.00


[HKEY_CLASSES_ROOT\Licenses\2C49F800-C2DD-11CF-9AD6-0080C7E7B78D]
@="mlrljgrlhltlngjlthrligklpkrhllglqlrk"


Save the above text as a reg file and import it into the registry.
(If you do not import the registration information, you will be prompted when dragging the control: For the specified operation, the user is not trusted.) To
register the MSWINSCK.ocx control, run regsvr32 C:\Windows\System32\mswinsck.ocx at the command prompt, and prompt After success, it can be referenced in the vbe environment and the controls can be attached.

Guess you like

Origin blog.csdn.net/xcntime/article/details/88581788