ODE97: "You Don't Have a License" Error Using ActiveX Control (172859)
The information in this article applies to:
- Microsoft Office 97 Developer Edition
This article was previously published under Q172859 SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
When you insert an ActiveX control that shipped with the Microsoft Office
97 Developer Edition (ODE) Tools, or when you attempt to access the
properties of the ActiveX control, you receive the following error message:
You don't have the license required to use this ActiveX control.
CAUSE
Before you installed the ODE Tools, you installed an application that uses
run-time versions of the ActiveX controls. If more recent versions of the
files for these controls already existed on your computer when you
installed the ODE Tools, the ActiveX control (.ocx) files were not updated.
As a result, the corresponding dependency (.dep) files were not installed,
and registry entries required to give the controls design-time
functionality were not made.
RESOLUTION
You can use either of the following methods to resolve the problem, but
Method 1 is the recommended resolution.
Method 1
Download the Odelic.exe file from the Microsoft Download Center.
The following file is available for download from the Microsoft Download Center:
The Odelic.exe file contains the following files:
OdeOcxFx.exe Office Developer Edition ActiveX Control Update
Readme.txt Readme file
Running OdeOcxFx.exe provides you with a design-time license to the ActiveX
controls that ship with the ODE; it updates the registry and copies the
.dep files onto your computer if they do not already exist.
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
Method 2- Rename Comctl32.ocx, Comdlg32.ocx, and Richtx32.ocx, which are files
that are located in the Windows\System folder.
- Rename the Setup.stf file in the ODETools\Setup folder; the default
location of this folder is C:\Program Files\Microsoft Office.
- Reinstall the ODE Tools.
- Replace Comctl32.ocx, Comdlg32.ocx, and Richtx32.ocx with the original
files that you renamed in Step 1.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Office 97
Developer Edition Tools.
Modification Type: | Minor | Last Reviewed: | 8/9/2004 |
---|
Keywords: | kbdownload kbbug kbfix KB172859 kbAudDeveloper |
---|
|