?
Solved

VB5/COMCTL32.OCX

Posted on 1998-01-07
2
Medium Priority
?
258 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
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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

850 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