Solved

VB5/COMCTL32.OCX

Posted on 1998-01-07
2
225 Views
Last Modified: 2008-02-01
Help!  I have recently made the jump from VB4 to VB5.  All is well except for one problem.  For some reason, VB5 won't let me use the Microsoft Windows Common Controls (COMCTL32.OCX).  Every time I try to add one of these controls, I get a message telling me that I don't have the proper liscence to use it.  This a new (legally purchased) copy of VB5 Pro. edition.  I have tried re-installing and re-registering the component but that didn't help.  Any suggestions?  Thanks.
0
Comment
Question by:STKeith
2 Comments
 
LVL 5

Expert Comment

by:yronnen
Comment Utility
You have problems with comctl32.oca (the license file), probably from upgrading the versions. I had this problem too and the only way for me to fix it was the dirty one:
Uninstall the versions of vb5 and vb4. Then, delete comctl32.oc? from your hard disk - this will delete more than one file..but it's ok.

Then reinstall vb5.

Since eveerything comes on cd now, this won't be a long proccess.
0
 
LVL 6

Accepted Solution

by:
anthonyc earned 100 total points
Comment Utility
You can also attempt to install service pack 3..  this will install a new copy of the comctl32.ocx (which you want anyway, since there are bug fixes) and fix the licensing problem.  At least it did for me!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now