Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


"License not Found" error

Posted on 1998-07-06
Medium Priority
Last Modified: 2012-08-14
For backup purposes (due to a failing Hard Drive) I installed VB5 on a 2nd machine.  Then I copied a complete VB5 project to the second machine.  When I tried to Load and Run the project on the second machine I got dozens of errors (in the ".log" files for each form) which read something like this:

  "Line 36: cannot load control SSTab1; license not found"
  "Line 149: cannot load control MSFlexGrid1; license not found"
As far as I know both machines are identical and all relevant VB5 project files were copied correctly.
I vaguely remember a previous PAQ which dealt with this problem, but I can't find it.

Can anyone help?  Is there a simple solution?

Question by:dougr
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

Expert Comment

ID: 1465098
Hi Doug,
I think your problem is that ActiveX components must be registered before they can be used. It is probably not registered on the other computer. Although it would be registered on your computer because a component is always registered on a developer's system during compilation, but users must register the component on their own machines. If an ActiveX component is an in-process component, then you must use a utility such as Regsvr32.exe to register it. If you are using a Professional or Enterprise Edition of Visual Basic 5.0 then the registration of your component can be done through the use of a Setup program, which would be ideal.

I hope this helps you out.


Jason Gorman (jason_gorman@scholars.com)
Learning Advisor, scholars.com
Microsoft Authorized Technical Education Center
Novell Authorized Online Training Provider

Author Comment

ID: 1465099

Thank you for your comments, however I am not much closer to solving my problem. I am not an expert, so I am not sure how to go about doing what you described.

Just for your information, I have already searched the net and found the following 2 paragraphs which seem to relate to my problem:

"The setup program for Visual Basic 5 does not install the development license for the threed32.ocx control (although it does install the control itself).  If you have VB 5 Professional or higher, you own the necessary license needed to use the control in the development environment.  Run Regedit, and insert your VB 5 CD-ROM into your computer.  From the Registry menu, choose Import Registry File.  Browse to the location of your VB 5 CD, and select the Tools\Controls subdirectory.  Double-click on the file Vbctrls.reg.  The licensing issues have been resolved."

"This does not affect VB 4 users, as the setup for that program automatically registers the threed32.ocx control.  It also will not register the Sheridan Data Widget 2.0 or the Green-Tree DataList 1.0 controls."

I have VB5 Professional Edition and I followed the instructions of the first paragraph carefully.  It made a slight improvement but I still get the "license not found message".

Can you be more specific in your comments, so that a novice can follow it step by step to a solution?



Expert Comment

ID: 1465100
   I have had same problem, and I think it is because I have installed Microsoft Office 97 before VB5.
   Anyway I solved the problem editing the Registry (executing regedit) in the computer where it works fine, and saving the tree Software/Licences. After that I load the .reg into the 2nd computer registry, and it did it right.

Hope this helps.
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!


Author Comment

ID: 1465101
I seem to have found the answer to my own problem by searching the Web!
 I found a tip submitted by David McCarter on Web Page Address:

 Microsoft has admitted that there is a problem with the VB5 install that under certain circumstances cause the license information not to be entered into the Registration Database.

 Microsoft has put out a fix for this.
 Download http://support.microsoft.com/download/support/mslfiles/Vbc.exe
 I ran this and it fixed the problem.

 For more information see article Q181854 (dated 27 Feb 1998) in the Microsoft Technical Knowledge Base.

PS - althought neither Jason_G or Marce solved my problem they both gave me hints towards searching and finding my own solution.  I'd like to give each some points for this, but don't know how.

Expert Comment

ID: 1465102
I think it would be very helpful if this question with the solution you found could be saved in the previously asked questions.  To do this you will need to choose the option below "Reopen question to other experts".

I have posted questions for Jason_G and Marce in this topic area to award them points for their help with you question.

I also added the points you used to post this question to your account.

Linda Gardner
Customer Service @ Experts Exchange

Author Comment

ID: 1465103

What a generous lady you are! Thank you for solving my points problem and giving me an opportunity to reward those helpful people like Jason_G and Marce who give of their time to provide input to my questions.  Even though the answers do not always provide an actual solution, they often point me in the right direction.

I will do what you suggest and open the question to other experts, however I am not sure what happens next if someone else then answers the question.  

I would like to take this opportunity to commend you and your colleagues at Experts Exchange for the high quality of this web site.  It has saved me many hours of work for the past few months and its fundamental principle of mutual-self help seems almost unprecedented in today's money hungry world.

I am also impressed (with a few exceptions) by the overall quality  of the answers and the graciousness of those who contribute their expertise as a gift to those of us who are just starting.  It is like a breath of fresh air in an environment where the primary attitude is often "me first".

Thanks to all of you!


Accepted Solution

linda101698 earned 200 total points
ID: 1465104
I am posting the solution found by dougr so the question can be graded and moved to the previously asked questions.

Comment From: dougr
                                      Date: Tuesday, July 07 1998 - 10:12AM PDT

     I seem to have found the answer to my own problem by searching the Web!
      I found a tip submitted by David McCarter on Web Page Address:

      Microsoft has admitted that there is a problem with the VB5 install that under
     certain circumstances cause the license information not to be entered into
     the Registration Database.

      Microsoft has put out a fix for this.
      Download http://support.microsoft.com/download/support/mslfiles/Vbc.exe 
      I ran this and it fixed the problem.

      For more information see article Q181854 (dated 27 Feb 1998) in the
     Microsoft Technical Knowledge Base.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

610 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