We help IT Professionals succeed at work.

How to find what component has license information not found

I am getting the message
"License information for this component not found. You do not have the appropriate license to use this functionality in the design environment"

... but it does not say which component is causing the error.

I've visited the following Microsoft articles, but they haven't helped:
Microsoft Knowledge Base Article - 177799 - PRB: "License Information for This Component Not Found" Error
Microsoft Knowledge Base Article - 194751 - FILE: VB6Cli.exe Fixes License Problems with Visual Basic 6.0
Microsoft Knowledge Base Article - 195353 - FILE: VBUSC.EXE Provides Licensing for Discontinued Controls

Does anyone have a suggestion, please, for tracking down which component is causing this error
(I don't know why MS don't make the message more helpful and include the control name!)
Comment
Watch Question

What components are you trying to use?  It may not be a Microsoft component at all.

AW
dbruntonQuid, Me Anxius Sum?  Illegitimi non carborundum.

Commented:
Looks like Microsoft.  Visual Basic error.

More links but don't know if they'll help.

http://support.microsoft.com/kb/200271
http://support.microsoft.com/kb/175289
http://support.microsoft.com/kb/156845
I have gotten that same error message, using other Third-party controls/components which were separately licensed for development and for production.

AW

Author

Commented:
Thanks for the replies
I am sure the problem is not a MS control
I have checked thase articles thanks but they do not tell me how to find what the control is that is causing the error.
Its a pity that MS could not exert themselves a little and include the control name in the error message - that would be a real help.
The problem is that we use many 3rd party controls in the project and I thought I had installed them all - but obviously I have missed one.
So I was hoping there was some way to find which one is not installed.

Commented:
are you getting this error when you open the form in design mode?
if so once you get the error check the folder where you have the form file(.frm). you should find a .log filr with same name as the above form. open the log file either post the content from log file here or you can see the message and find the control causing the error.

one more thing is open the dialog where you add controls to the current project and see for any entries starting with [missing] keyword. do the same in refereces dialog. if you find something starting with missing keyword check if that component or control is installed properly.

Author

Commented:
The components are not "missing" just not licensed
No I do not get errors in the IDE

Commented:
OK, then only option is create a new sample project and keep adding the custom controls(custom controls used in your main project) one at a time add an instance of the control to the default form and run the project and Identify the control causing the license error.

Author

Commented:
So you are saying that there is no way to find what control produced the error?
As the compiler knows what caused the error, I would have thought that there should be an error file or logging or something.
Or is this one of Microsoft's "it will do - why make it better" functions?
I did find a program that someone at MS had developed that tracked the dlls and messages during a programs startup - but I have lost the reference.
Guy Hengel [angelIII / a3]Billing Engineer
Most Valuable Expert 2014
Top Expert 2009

Commented:
any luck yet?
I found this page to be very helpful in my past :
http://www.angelfire.com/biz/rhaminisys/vboledll.html
Guy Hengel [angelIII / a3]Billing Engineer
Most Valuable Expert 2014
Top Expert 2009

Commented:
I found the application you where referring to: dependency walker:
http://www.dependencywalker.com/