Got it

How to manually register the IVS_OCXPlayer.ocx in the Windows 10 system

Created: Jul 10, 2019 11:22:47Latest reply: Jul 16, 2021 07:30:04 2188 5 0 0 1
  Rewarded HiCoins: 0 (problem resolved)

Hi,All

How to manually register the IVS_OCXPlayer.ocx in the Windows 10 system

Featured Answers
Hike
Created Jul 10, 2019 12:02:24

Hi there,

Because the permission control of the C disk of the Windows 10 system is strict, the IVS_SDK cannot register the control via double-clicking regsvrOCX.bat to replace the IVS_SDK library. Therefore, you need to manually register the control as an administrator.

1. Right-click on the cmd command as prompted and select Run as administrator.

2. After the command is opened, it should be in the system directory, as shown in the following figure:

How to manually register the IVS_OCXPlayer.ocx in the Windows 10 system-2995819-1

3. In this case, you can register the IVS_OCXPlayer.ocx in the corresponding directory to replace the IVS_SDK package.

How to manually register the IVS_OCXPlayer.ocx in the Windows 10 system-2995819-2

4. Registration is successful:

How to manually register the IVS_OCXPlayer.ocx in the Windows 10 system-2995819-3

5. Note: In some win7 systems, if users do not obtain complete administrator rights, double-clicking the regsvrOCX.bat script to register may also fail. In this case, you can use the preceding method to register.

6. In some cases, the CU of the Windows 10 system always prompts the login failure. However, after checking the network (using the ping or Telnet connection port), it is found that the network is normal. In this case, the possible cause is that the IVS_SDK is not registered successfully. As a result, the CU fails to invoke the OCX interface, if the login fails, repeat the preceding steps to register OCX.
View more

This article contains more resources

You need to log in to download or view. No account? Register

x
  • x
  • convention:

Recommended answer

yogijain
HCIE Created Jul 10, 2019 12:00:07

Hi there!

Summary

When distributing a Microsoft Visual FoxPro application that uses an ActiveX control (.ocx file), the .ocx file must be registered correctly for it to work correctly. The Visual FoxPro Setup Wizard or InstallShield Express in Visual FoxPro 7.0 or a later version of Visual FoxPro will register an .ocx file correctly, provided that you select the OLE check box in Step 6 for the .ocx file. 

If a Visual FoxPro application that uses an .ocx file is distributed by some other method, the .ocx file must be registered manually. This article describes how to register an .ocx file manually.

More information

You can use the Microsoft Register Server (Regsvr32.exe) to register a 32- bit .ocx file manually on a 32-bit operating system. In Visual FoxPro 3.0 and 3.0b, Regsvr32.exe is located in the \Vfp\Samples\Ole directory and in Visual FoxPro 5.0 Regsvr32.exe is located in the \Vfp directory. 

In Visual FoxPro 6.0, Regsvr32.exe is found in the Distrib.src directory of the Visual FoxPro directory. It may be distributed with a Visual FoxPro application. The syntax for using Regsvr32.exe is as follows:

Regsvr32 <OCX File Name>

Note /u means Unregister the .ocx file.

/s means Silent Mode (display no messages).

The following example registers the Microsoft MAPI ActiveX Control without displaying any messages:

Regsvr32 /s MSMAPI32.OCX

To implement this example in a Visual FoxPro application, use the RUN command as follows:

RUN /N Regsvr32 /s MSMAPI32.OCX

Note:

If an error occurs when registering a control, do the following:

1. Verify in the Registry that the control has not been registered before.

2. Verify that the following files are in the Windows\System directory:

mfc30.dll     olepro32.dll     msvcrt20.dll
mfc40.dll     msvcrt40.dll 

If one of these files is missing, you may receive the following error message: Error: OLE Error Code 0x80040112: Appropriate license for this class not found.
View more
  • x
  • convention:

All Answers
Hi there!

Summary

When distributing a Microsoft Visual FoxPro application that uses an ActiveX control (.ocx file), the .ocx file must be registered correctly for it to work correctly. The Visual FoxPro Setup Wizard or InstallShield Express in Visual FoxPro 7.0 or a later version of Visual FoxPro will register an .ocx file correctly, provided that you select the OLE check box in Step 6 for the .ocx file. 

If a Visual FoxPro application that uses an .ocx file is distributed by some other method, the .ocx file must be registered manually. This article describes how to register an .ocx file manually.

More information

You can use the Microsoft Register Server (Regsvr32.exe) to register a 32- bit .ocx file manually on a 32-bit operating system. In Visual FoxPro 3.0 and 3.0b, Regsvr32.exe is located in the \Vfp\Samples\Ole directory and in Visual FoxPro 5.0 Regsvr32.exe is located in the \Vfp directory. 

In Visual FoxPro 6.0, Regsvr32.exe is found in the Distrib.src directory of the Visual FoxPro directory. It may be distributed with a Visual FoxPro application. The syntax for using Regsvr32.exe is as follows:

Regsvr32 <OCX File Name>

Note /u means Unregister the .ocx file.

/s means Silent Mode (display no messages).

The following example registers the Microsoft MAPI ActiveX Control without displaying any messages:

Regsvr32 /s MSMAPI32.OCX

To implement this example in a Visual FoxPro application, use the RUN command as follows:

RUN /N Regsvr32 /s MSMAPI32.OCX

Note:

If an error occurs when registering a control, do the following:

1. Verify in the Registry that the control has not been registered before.

2. Verify that the following files are in the Windows\System directory:

mfc30.dll     olepro32.dll     msvcrt20.dll
mfc40.dll     msvcrt40.dll 

If one of these files is missing, you may receive the following error message: Error: OLE Error Code 0x80040112: Appropriate license for this class not found.
View more
  • x
  • convention:

Hi there,

Because the permission control of the C disk of the Windows 10 system is strict, the IVS_SDK cannot register the control via double-clicking regsvrOCX.bat to replace the IVS_SDK library. Therefore, you need to manually register the control as an administrator.

1. Right-click on the cmd command as prompted and select Run as administrator.

2. After the command is opened, it should be in the system directory, as shown in the following figure:

How to manually register the IVS_OCXPlayer.ocx in the Windows 10 system-2995819-1

3. In this case, you can register the IVS_OCXPlayer.ocx in the corresponding directory to replace the IVS_SDK package.

How to manually register the IVS_OCXPlayer.ocx in the Windows 10 system-2995819-2

4. Registration is successful:

How to manually register the IVS_OCXPlayer.ocx in the Windows 10 system-2995819-3

5. Note: In some win7 systems, if users do not obtain complete administrator rights, double-clicking the regsvrOCX.bat script to register may also fail. In this case, you can use the preceding method to register.

6. In some cases, the CU of the Windows 10 system always prompts the login failure. However, after checking the network (using the ping or Telnet connection port), it is found that the network is normal. In this case, the possible cause is that the IVS_SDK is not registered successfully. As a result, the CU fails to invoke the OCX interface, if the login fails, repeat the preceding steps to register OCX.
View more

This article contains more resources

You need to log in to download or view. No account? Register

x
  • x
  • convention:

Posted by Hike at 2019-07-10 12:02 Hi,There.Because the permission control of the C disk of the Windows 10 system is strict, the IVS_SD ...
Thanks for your help.It's useful.
View more
  • x
  • convention:

Posted by yogijain at 2019-07-10 12:00 SummaryWhen you distribute a Microsoft Visual FoxPro application that uses an ActiveX control (.ocx ...
Thanks for your help.
View more
  • x
  • convention:

Y_T_Z
Y_T_Z Admin Created Jul 16, 2021 07:30:04

t_0006.gif

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.