Solved

Common Controls license problem

Posted on 1998-04-28
4
307 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
[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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

738 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