Solved

Common Controls license problem

Posted on 1998-04-28
4
298 Views
Last Modified: 2008-02-01
   Hi there!

   I have just instaled VB5 at home, in Win NT 4 (Service Pack 3), and when I try to paste the Windows common controls in any project (even an empty one), it gives me this error:
     "License information for this component not found. You do not have an appropiate license to use this functionality in the design enviroment."

I have also installed Visual Studio Service Pack 3, indeed Windows common controls are SP2.
I have installed the same VB5 at work in the same circumstances (NT4 withSP3, and VB's SP3) and works perfectly. The COMCTL32.OCX, .OCA and .LIB are the same at home and at work
   Can anybody help me? Thanks!
0
Comment
Question by:taco
  • 2
4 Comments
 
LVL 4

Expert Comment

by:zsi
ID: 1432364
I had this same problem, also under NT4-SP3.  I think the way that I fixed it was to go to Microsoft's site and download the new Common Control distribution pack.  You can find it at http://www.microsoft.com/msdn/downloads/files/40comupd.htm

I think that this might solve your problem.  I am not sure that this problem is caused by Visual Studio SP3, but I had not experienced it before hand.

Hope this helps!
zsi
0
 

Author Comment

by:taco
ID: 1432365
 I have tried that, but with no results. I also have the same problem with SS TAB control.
I have even re-installed entire VB, and it did the same.

Thanks, zsi, anyway.
0
 

Accepted Solution

by:
naveedi earned 70 total points
ID: 1432366
I have run into this problem many times. The problem normally stems from having differing versions of VisualBasic and the ComCtl32.ocx installed. The best solution is to insure that you install the version of VisualBasic on the target machine that contains the ComCtl32.ocx version you require. This will guarantee you have the proper license info register. If it is a machine that you do frequent uninstalls and reinstalls of VB, like a test machine, you are likely to run into this problem often. The expedient solution is to go to the machine it works on, export all the HKEY_CLASSES_ROOT\Licenses to a .REG file. Import that file on to the target machine. If you know the license key you need than you could export just that key instead of the whole Licenses section. This should do it. BTW this approach will fix the SSTABCTL.OCX problem as well.
0
 

Author Comment

by:taco
ID: 1432367
Thank you, naveedi.

   Coying the Licence section did solve the problem. :-)

0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

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.
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…
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…

760 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

20 Experts available now in Live!

Get 1:1 Help Now