I have a VB6 legacy program which I need to change. I am unable to run the program from the IDE. When I activate one of the forms in the IDE I get an error which refers me to an error log file. The log file has the following in it
"Cannot load control SSPanel; license not found"
The SSPanel is part the Sheridan 3D controls (THREED32.ocx) and the component is selected.
How can I fix the error?
Having come across this question, and tried all the answers without success, I thought I'd add an additional piece of information that solved the issue for me.
The problem appears to be linked to a Windows 7 update pack. A colleague running a slightly out of date version of the OS managed to get our VB6 projects working fine, but my new machine with an up-to-date Win7 install had this problem.
Anyway, the solution is this:
Locate
regtlibv12.exe
(it's normally inC:\Windows\Microsoft.NET\Framework\[version]
.. e.g.C:\Windows\Microsoft.NET\Framework\v4.0.30319
if that's what you've got installed)Run a command prompt as administrator and navigate to that files' location
Execute
regtlibv12.exe C:\Windows\SysWOW64\msdatsrc.tlb
for 64bit windowsregtlibv12.exe C:\Windows\System32\msdatsrc.tlb
for 32bit windows.I registered the DLL using cmd window (run as administrator):
Then using the folder that VB6 was stored in
I ran
vbctrls.reg
The error is gone and my old programs that have ThreeD Panel now load and run properly.
Just had to deal with this in some legacy code. The issue seems to be with controls that were discontinued before vb6. Didn't have the setup disk readily available, so i did a little digging and found an executable that you can download from microsoft.com.
Microsoft had a kb article which addresses this issue: https://jeffpar.github.io/kbarchive/kb/177/Q177799/ (archived copy)
The file VBUSC.exe seems to have fixed it.
unregister the all your threed32.ocx if you have registered in multiple places.
register the threed32.ocx in sys32 folder.
run the VBCTRLS.REG (some times it will be in sys32, some times it will be in common/tools/VB/controls)
now try i am sure it will work
One possibility was in Microsoft article kb177799 "License Information for This Component Not Found Error" (also Q177799)
Though the original article is gone, an archive is here and here and relevant text reproduced as follows:
Another possibility was the Microsoft article Q195353
FILE: VBUSC.EXE Provides Licensing for Discontinued Controls
which is archived here and here.Key summary: VBUSC.EXE installs the design-time licenses for the controls listed above if Visual Basic is detected on the computer.
The VBUSC program can be downloaded here (still direct from Microsoft).
Original article text was: