tags:

views:

1532

answers:

4

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?

+4  A: 

The solution that worked for me was to execute the file VBCTRLS.REG on the installation disc (common/tools/VB/controls). It registered the control. I stopped getting the error and I was able to run the program from the IDE

CarolinaJay65
+2  A: 

If the application is one that is to be maintained over the long term I strongly recommend making a programmer pack, create an ISO, and burn a CD. Maintain all three in separate locations. The programmer pack should contain all the tools, libraries, and license codes needed to build that application.

Once we started to do this in the late 90's it has saved us a bundle of time.

RS Conley
that's a good tip
CarolinaJay65
+1 although nowadays I think the cool kids set up a programmer "virtual machine" template
MarkJ
+5  A: 

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 has a kb article which addresses this issue: http://support.microsoft.com/kb/177799

The file VBUSC.exe seems to have fixed it.

law1185
+1  A: 

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