Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting VB6 to reveal which component doesn't have a design time license installed

Tags:

licensing

dll

vb6

I've inherited a VB6 project that I'm trying to "Make".

The build fails on the "Making EXE" step with a licensing error:

License information for this component not found. 
You do not have an appropriate license to use this functionality 
in the design environment.

How can I figure out which component is missing the license?

The project has about 15 references; a mixture between commercial and Microsoft. I've installed development versions / licenses for all the obvious references - and checked that I can compile their sample apps successfully.

Of the remaining 13 odd references; how I can get more information as to which component is throwing the licensing error?

Any tips / techniques on how to get a more verbose error message would be greatly appreciated!

like image 812
David Laing Avatar asked Jan 27 '10 04:01

David Laing


1 Answers

It's worth trying both the Microsoft fixes - one and two - for this error, in case you've run into one of the known issues.

If that doesn't work, open the form designer for every single form in the VB6 IDE. Look out for an error message box on displaying a form. When this error is displayed, the IDE writes a log file formname.log that gives more information on which control caused the problem.

like image 98
MarkJ Avatar answered Nov 12 '22 18:11

MarkJ