Home > Back-end >  How to use the MSCOMM control?
How to use the MSCOMM control?

Time:10-10

Everybody:
Delphi is the mscomm control how to use, how to add, use?

CodePudding user response:

The general steps are:

1. Need to file Mscomm. Reg, Mscomm32. Ocx, Mscomm32. Dep, can be found in the VB in the installation directory, and can be downloaded on the Internet, actually I only use the Mscomm32. Ocx this file, copy them to the system32 folder,

2. To register, run -> regsvr32 mscomm32. Ocx

3. Modify the registry information in the registry under HKEY_CLASSES_ROOT \ Licenses to build a primary key:

4250 e830-6 ac2-11 cf - 8 adb - 00 aa00c00905, the content of the primary key for

Kjljvjjjoquqmjjjvpqqkqmqykypoqjquoun.

Without this step, at the time of use will be prompted to "registration information not found, can't use this control in design mode",

4. ADD it to the Component in Delphi environment bar: the Component menu to select the Import ActiveX Control, in the list can see Microsoft Comm Control options, 6.0 (if not, click the ADD button in the talk about the dialog box found in the path system32/Mscomm32. Ocx file, click open, and then click the Install button), select this option to click on the Install button, complete the installation,
5. Complete the above steps in the ActiveX components can see the control, as a phone icon, can be used like other controls,

CodePudding user response:

No is the control in VB, Delphi, to install the VB, and then by adding can get,
  • Related