Solved

Common Controls license problem

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

Technology Partners: 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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…

707 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