support > knowledge base > knowledge base article

KB0004 - Radium.ocx failed to register

 
The information in this articles applies to:
 
Diet Pro (all versions)
Symptoms
 

When you attempt to install Diet Pro, the following error occurs:

 
  Error 1904.module c:\program files\diet pro\radium.ocx failed to register HResult. Contact your support personnel.
 

If you attempt to run Diet Pro, you will get the following error:

 
  Application terminated. Error: Error calling external object function enablebutton at line 34 in function of _enabletoolbarbutton of object nfc_u_tabpg_task_calendar.
Cause
 

Radium.ocx is a resource file that contains the Living Cookbook toolbar controls. This toolbar uses a dropdown date picker control that is found in another resource file - mscal.ocx.

mscal.ocx is part of the Windows operating system. If this file is missing, damaged, or incorrectly registered, radium.ocx will not install. Without radium.ocx installed and registered, Diet Pro cannot display any toolbars.

Resolution
 
1. Download the following file: ocx.zip.
2. Unzip ocx.zip to your desktop. If you don't have an unzip utility, you can download a free evaluation version from winzip.com.

3.

The ocx.zip file contains three ocx files. Copy them to the following directory:

C:\Windows\System (if you are running Windows 95/98/Me/XP Home Edition)

C:\WINNT\System32 (if you are running Windows NT/2000/XP Professional)

4.

Now that the ocx files are in the correct locations, you will need to register them with the operating system. Click Start->Run and paste each of the following commands (one at a time) into the Open box and click OK:

regsvr32 c:\windows\system\mscomctl.ocx

regsvr32 c:\windows\system\mscomct2.ocx

regsvr32 c:\windows\system\mscal.ocx (Windows 95/98/Me/XP Home Edition)

-or-

regsvr32 c:\winnt\system32\mscomctl.ocx

regsvr32 c:\winnt\system32\mscomct2.ocx

regsvr32 c:\winnt\system32\mscal.ocx (Windows NT/2000/XP Professional)

5. Download the following file: radium.zip.
6. Unzip radium.zip to your desktop.
7.

The radium.zip file contains a new copy of radium.ocx. Copy the file to the Diet Pro program directory:

c:\program files\radium technologies\diet pro.

8.

Now that all of the prerequisite files are in place, we can register radium.ocx. Click Start->Run and paste the following command into the Open box and click OK:

regsvr32 "c:\program files\radium technologies\diet pro\radium.ocx"

9. Reinstall Diet Pro.
Status
  This issue has been resolved.
 

If this article does not solve your problem or if you cannot find a resolution to your problem, please let us know. Please post your question or the details of your problem on the Diet Pro Support Forum.

Steps to Reproduce the Problem
 
1. Install Diet Pro on a PC without mscal.ocx.
2. Run Diet Pro.

 

Copyright 2008 Radium Technologies, Inc. All rights reserved.   Disclaimer | Privacy | Contact Us