Solved

VB5/COMCTL32.OCX

Posted on 1998-01-07
2
243 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 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

739 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