Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

comdlg32.ocx license error

126 views
Skip to first unread message

Kevin Cullen

unread,
Jul 25, 1998, 3:00:00 AM7/25/98
to
I just bought VB5, and as I was working through a "Teach
Youself..." book, I tried to add a common dialog box
(comdlg32.ocx) to a form. This got me the following error:

License information for this component
not found. You do not have an
appropriate license to use this
funtionality in the design environment.

I have a licensed, registered copy of VB5 Pro. I have
uninstalled and re-installed it, then installed SP3. I tried
running "regsvr32 comdlg32.ocx", based on a post about a
problem someone else had. Nothing worked. How do I fix this?

Kevin Cullen

Brian Wooten

unread,
Jul 30, 1998, 3:00:00 AM7/30/98
to
Kevin,

I have had this problem with several VB5 controls. The solution is in
Microsoft's knowledge base article Q177799 and Q181854. Portions listed
below:

FROM Q177799

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 the file Vbctrls.reg in the VB5.0\Tools\Controls
folder on the Visual Basic CD- ROM and double-click the file:

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
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:

1.Locate Regsvr32.exe on your machine. Note its path.

2.Locate the offending OCX file(s), usually found in the
Windows\System folder for Windows 95 and Windows 98, or the
Windows\System32 folder for Windows NT.

3.On the Start menu, click Run.

4.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.

5.Repeat steps 3 and 4 for each offending OCX.

6.On Control Panel, click Add\Remove Programs.

7.Select Visual Basic, and click Add\Remove.

8.Click Reinstall when the options (Add\Remove, Remove All,
Reinstall) dialog box appears.

If the problem persists, please see the following article in
the Microsoft Knowledge Base:

ARTICLE-ID: Q181854

I have never needed to use the file from Q181854.

Hope this helps

Brian

0 new messages