PRB: "License Information for This Component Not Found" Error (177799)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
This article was previously published under Q177799 SYMPTOMS
When you try to add a control to a form, the following message may appear:
License information for this component not found. You do not have an appropriate license to use this functionality in the design environment.
CAUSE
When a control is installed for run time use only (such as those installed
by an application created with Visual Basic), if the Visual Basic
Development Environment is installed onto the same machine afterwards and
the existing control is of equal or higher version than that from the CD,
the license key for that control is not updated.
RESOLUTION
If the control in question is any of the ones listed below, then find and double-click on the file Vbctrls.reg on the Visual Basic CD-ROM: - AniBtn32.ocx
- Gauge32.ocx
- Graph32.ocx
- Grid32.ocx
- KeySta32.ocx
- MSOutl32.ocx
- Spin32.ocx
- Threed32.ocx
This will update the design-time licenses for these controls. For Visual Basic 5.0, Vbctrls.reg is found in the \Tools\Controls folder. For Visual Basic 6.0, it is found on Disk 1 in the \Common\Tools\Vb\Controls folder, and for Visual Studio 6.0, it is in the same folder of Disk 3.
The Visual Basic 6.0 CD-ROM also contains these files for the Visual Basic 5.0 Custom Controls that were discontinued in Visual Basic 6.0:
For more information, please refer to the Readme.txt file in the same folder.
If the control in question is not among the controls listed above, please
do the following:
- Locate Regsvr32.exe on your machine. Note its path.
- Locate the offending OCX file(s), usually found in the Windows\System folder for Windows 95, Windows 98, and Windows Me, or the Windows\System32 folder for Windows NT and Windows 2000.
- On the Start menu, click Run.
- In the Run dialog box, type the following:
<Path to RegSvr32>\REGSVR32.EXE /u <Path to OCX>\OCXFILE.OCX
For example:
C:\Devstudio\VB\REGSVR32.EXE /u C:\Winnt\System32\COMCTL32.OCX
NOTE: If Regsvr32.exe is in the System or System32 folder, the path is optional. - If you are reinstalling an older version of the control, you should delete/remove the .OCX, .OCA and .DEP files so they will be replaced.
- Repeat the previous 3 steps for each offending OCX.
- On Control Panel, click Add\Remove Programs.
- Select Visual Basic, and click Add\Remove.
- Click Reinstall when the options (Add\Remove, Remove All, Reinstall) dialog box appears.
Reapply the latest Visual Studio Service Pack, which can be obtained from:
If the problem persists, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
181854 FILE: VB5cli.exe Fixes Visual Basic 5.0 Control Installation Problem
194751 FILE: VB6Cli.exe Fixes License Problems with Visual Basic 6.0
195353 FILE: VBUSC.EXE Provides Licensing for Discontinued Controls
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
REFERENCES
Please see the RESOLUTION section of this article for additional Microsoft Knowledge Base articles.
For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
172193 INFO: List of VB 4.0 Custom Controls Discontinued in VB 5.0
Modification Type: | Major | Last Reviewed: | 5/10/2006 |
---|
Keywords: | kbCtrl kberrmsg kbpending kbprb kbRegistry kbtophit kbpubtypekc kbmsccsearch KB177799 |
---|
|