Solved

Common Controls license problem

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

809 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