?
Solved

VB5/COMCTL32.OCX

Posted on 1998-01-07
2
Medium Priority
?
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Expert Comment

by:yronnen
ID: 1449816
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 300 total points
ID: 1449817
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

764 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