Discussion:
Legacy VB6 program. Problems related to the controls and license not found. License!?
(too old to reply)
Benny Ng
2009-01-14 17:43:19 UTC
Permalink
For the requirement of the company. We need to modify one big VB program
that done at 7 years ago.

But when we started to do the debug with the program.

It's prompted some controls are not registered.

For example the below, When we run the program, and open some forms.

It said some control are not registered. And it will genereated one log
file automatically.

I open the log file. (Like the below)

Line 101: Cannot load control SSCommand2; license not found.
Line 101: Cannot load control SSCommand2; license not found.
Line 101: Cannot load control SSCommand2; license not found.
Line 252: Cannot load control cmdAdd; license not found.
Line 344: Cannot load control SSCommand1; license not found.
Line 682: Cannot load control cmdDelete; license not found.
Line 707: Cannot load control cmdSearch; license not found.
Line 731: Cannot load control cmdClose; license not found.
Line 755: Cannot load control cmdMoveLast; license not found.
Line 778: Cannot load control cmdMovePrev; license not found.
Line 801: Cannot load control cmdMoveNext; license not found.
Line 824: Cannot load control cmdMoveFirst; license not found.
Line 847: Cannot load control CmdSave; license not found.
Line 1031: Cannot load control cmdOrderAddNewColorCodes; license not found.
Line 1138: Cannot load control cmdStyleDetails; license not found.
Line 1598: Cannot load control CmdOk; license not found.
Line 1622: Cannot load control CmdCancel1; license not found.
Line 1647: Cannot load control cmdPackingDetails; license not found.
Line 1671: Cannot load control cmdModify; license not found.
Line 1695: Cannot load control CmdCancel; license not found.
Line 1720: Cannot load control cmdRefresh; license not found.


And please also check the attached pictures on this topic.

I have already registered some necessary controls in system. (For
example the Crystal Report OCX)

Maybe I still missed another controls?

But you see the log, It said even the "CmdClose" is license not found?

I don't know what is the meaning here of the "License". The 3rd parties
controls?

We are rarely used VB6 so that don't know what is the meaning of it.

Could you help me?

Thanks,

Benny Ng
Mike Williams
2009-01-14 18:41:38 UTC
Permalink
Post by Benny Ng
For the requirement of the company. We need to modify one
big VB program that done at 7 years ago. But when we started
to do the debug with the program. It's prompted some controls
are not registered. For example the below, When we run the
program, and open some forms. It said some control are not
registered. And it will genereated one log file automatically.
Line 101: Cannot load control SSCommand2; license not found.
Line 101: Cannot load control SSCommand2; license not found.
Line 101: Cannot load control SSCommand2; license not found.
It looks as though they are Sheridan command buttons rather than standard VB
command buttons. I've never used them myself but I believe that many years
ago Microsoft included them with VB but that they later stopped doing that
and they became commercial controls. Other people here who have actually
used them will be able to give you more information. For what it's worth
I've just located this web page which I think refers to the controls you are
using, but I'm not absolutely sure:

http://www.xtras.net/products/activethreedplus/

If the author has used only Command Buttons and not any other Sheridan
Controls then you should be able to replace them with standard VB Command
Buttons, although you'll need to make some code modifications because I
believe the Sheridan buttons had all sorts of options that standard buttons
do not have.

As I've said, I'm not really sure about any of this having never used them
myself, but it should give you something to think about while you're waiting
for a reply from someone who actually has experience with them.

Mike
Abhishek
2009-01-14 18:47:49 UTC
Permalink
Open the VB project file .vbp in notepad then look for the .ocx and .dll
entries. and try to get those files with their license files.
MikeD
2009-01-14 21:41:36 UTC
Permalink
For the requirement of the company. We need to modify one big VB program that done at 7 years ago.
But when we started to do the debug with the program.
It's prompted some controls are not registered.
For example the below, When we run the program, and open some forms.
It said some control are not registered. And it will genereated one log file automatically.
I open the log file. (Like the below)
Line 101: Cannot load control SSCommand2; license not found.
Line 101: Cannot load control SSCommand2; license not found.
Line 101: Cannot load control SSCommand2; license not found.
Line 252: Cannot load control cmdAdd; license not found.
Line 344: Cannot load control SSCommand1; license not found.
Line 682: Cannot load control cmdDelete; license not found.
Line 707: Cannot load control cmdSearch; license not found.
Line 731: Cannot load control cmdClose; license not found.
Line 755: Cannot load control cmdMoveLast; license not found.
Line 778: Cannot load control cmdMovePrev; license not found.
Line 801: Cannot load control cmdMoveNext; license not found.
Line 824: Cannot load control cmdMoveFirst; license not found.
Line 847: Cannot load control CmdSave; license not found.
Line 1031: Cannot load control cmdOrderAddNewColorCodes; license not found.
Line 1138: Cannot load control cmdStyleDetails; license not found.
Line 1598: Cannot load control CmdOk; license not found.
Line 1622: Cannot load control CmdCancel1; license not found.
Line 1647: Cannot load control cmdPackingDetails; license not found.
Line 1671: Cannot load control cmdModify; license not found.
Line 1695: Cannot load control CmdCancel; license not found.
Line 1720: Cannot load control cmdRefresh; license not found.
Looks like you're probably using the command button in THREED32.OCX. That OCX is not installed by default with VB6 and was actually
discontinued as of VB5. However, it is still on the VB6 disc. It's in a folder called "Unsupprt\Controls" or something like that (I
don't have a VB6 disc right now to check; sorry). Anyway, you have to copy THREED32.OCX to your System folder AND double-click a
file named vbctrls.reg (again, or something close to that). The .reg file adds the license information into the Registry to allow
the controls to be used in the IDE.

However, IMO, a better option would be to replace those SSCommand buttons with VB's instrinsic CommandButton.
--
Mike
Abhishek
2009-01-14 22:28:43 UTC
Permalink
hmm, I far as I remember, microsoft gave away license to older components in
VS.NET 2003 DVD, search for file 'vb6controls.reg'

infact I have this reg file with me, but dont know if its legal to paste the
license here. so look for VS.NET 2003 DVD
Abhishek
2009-01-15 01:25:36 UTC
Permalink
the solution

http://www.google.com/search?hl=en&q=vb6controls.reg
expvb
2009-01-15 01:03:30 UTC
Permalink
Check this article:

PRB: "License Information for This Component Not Found" Error
http://support.microsoft.com/kb/177799
dinesh rajput
2010-11-15 16:29:15 UTC
Permalink
sir i know u r problem if u want to solve it please send to me software setup than i will say somthing
Post by Benny Ng
For the requirement of the company. We need to modify one big VB program
that done at 7 years ago.
But when we started to do the debug with the program.
It's prompted some controls are not registered.
For example the below, When we run the program, and open some forms.
It said some control are not registered. And it will genereated one log
file automatically.
I open the log file. (Like the below)
Line 101: Cannot load control SSCommand2; license not found.
Line 101: Cannot load control SSCommand2; license not found.
Line 101: Cannot load control SSCommand2; license not found.
Line 252: Cannot load control cmdAdd; license not found.
Line 344: Cannot load control SSCommand1; license not found.
Line 682: Cannot load control cmdDelete; license not found.
Line 707: Cannot load control cmdSearch; license not found.
Line 731: Cannot load control cmdClose; license not found.
Line 755: Cannot load control cmdMoveLast; license not found.
Line 778: Cannot load control cmdMovePrev; license not found.
Line 801: Cannot load control cmdMoveNext; license not found.
Line 824: Cannot load control cmdMoveFirst; license not found.
Line 847: Cannot load control CmdSave; license not found.
Line 1031: Cannot load control cmdOrderAddNewColorCodes; license not found.
Line 1138: Cannot load control cmdStyleDetails; license not found.
Line 1598: Cannot load control CmdOk; license not found.
Line 1622: Cannot load control CmdCancel1; license not found.
Line 1647: Cannot load control cmdPackingDetails; license not found.
Line 1671: Cannot load control cmdModify; license not found.
Line 1695: Cannot load control CmdCancel; license not found.
Line 1720: Cannot load control cmdRefresh; license not found.
And please also check the attached pictures on this topic.
I have already registered some necessary controls in system. (For
example the Crystal Report OCX)
Maybe I still missed another controls?
But you see the log, It said even the "CmdClose" is license not found?
I don't know what is the meaning here of the "License". The 3rd parties
controls?
We are rarely used VB6 so that don't know what is the meaning of it.
Could you help me?
Thanks,
Benny Ng
Post by Mike Williams
It looks as though they are Sheridan command buttons rather than standard VB
command buttons. I've never used them myself but I believe that many years
ago Microsoft included them with VB but that they later stopped doing that
and they became commercial controls. Other people here who have actually
used them will be able to give you more information. For what it's worth
I've just located this web page which I think refers to the controls you are
http://www.xtras.net/products/activethreedplus/
If the author has used only Command Buttons and not any other Sheridan
Controls then you should be able to replace them with standard VB Command
Buttons, although you'll need to make some code modifications because I
believe the Sheridan buttons had all sorts of options that standard buttons
do not have.
As I've said, I'm not really sure about any of this having never used them
myself, but it should give you something to think about while you're waiting
for a reply from someone who actually has experience with them.
Mike
Post by Abhishek
Open the VB project file .vbp in notepad then look for the .ocx and .dll
entries. and try to get those files with their license files.
Post by MikeD
Looks like you're probably using the command button in THREED32.OCX. That OCX is not installed by default with VB6 and was actually
discontinued as of VB5. However, it is still on the VB6 disc. It's in a folder called "Unsupprt\Controls" or something like that (I
don't have a VB6 disc right now to check; sorry). Anyway, you have to copy THREED32.OCX to your System folder AND double-click a
file named vbctrls.reg (again, or something close to that). The .reg file adds the license information into the Registry to allow
the controls to be used in the IDE.
However, IMO, a better option would be to replace those SSCommand buttons with VB's instrinsic CommandButton.
--
Mike
Post by Abhishek
hmm, I far as I remember, microsoft gave away license to older components in
VS.NET 2003 DVD, search for file 'vb6controls.reg'
infact I have this reg file with me, but dont know if its legal to paste the
license here. so look for VS.NET 2003 DVD
Post by expvb
PRB: "License Information for This Component Not Found" Error
http://support.microsoft.com/kb/177799
Post by Abhishek
the solution
http://www.google.com/search?hl=en&q=vb6controls.reg
Submitted via EggHeadCafe
Microsoft .NET DataBase Access For Beginners
http://www.eggheadcafe.com/training-topic-area/Microsoft-NET-DataBase-Access/1/SQL-Server-Oracle-DB2-Informix-Query-Samples.aspx
Continue reading on narkive:
Search results for 'Legacy VB6 program. Problems related to the controls and license not found. License!?' (Questions and Answers)
3
replies
What processes are vital to the operation of Windows XP SP2?
started 2006-08-29 00:52:34 UTC
software
Loading...