Solved

VB5/COMCTL32.OCX

Posted on 1998-01-07
2
238 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 100 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
MS Access Search and Replace Using VBA 6 80
Recommendation vb6 to vb.net or others 14 175
Need Nag Screen for Reboot if system up time is over 14 days 12 61
Problem to line 23 53
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…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

839 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