Solved

Missing SSTab1 control

Posted on 2001-08-10
6
808 Views
Last Modified: 2012-06-27
I got a program from another guy that I am trying to compile.  
I am using VB5.
I keep getting three errors that say:
"Line 63:  Cannot load control SSTab1; license not found."
"Line 15:  Cannot load control LV_APfiles; license not found."
"Line 26:  Cannot load control CmnDlg; license not found."
Can anybody tell me how to solve this?
0
Comment
Question by:hotwheels
  • 3
  • 2
6 Comments
 

Expert Comment

by:praveenkumar_budamagunta
ID: 6373700
I also got these type of errors when i istalled the files. One way to over ocme it, is to open the form where the sstab control is there remove it () remember that you must know what exactly GUI is and replace that with a new control from the tool box. Name the new control with the same name as the old one so that there is no need of any code changes. This tyeps of errors will occur as the version of the fiels on your machine will be different from that of the other machine from where you have got it.

0
 

Author Comment

by:hotwheels
ID: 6374068
I cannot change the code.  That is not an option
0
 
LVL 17

Accepted Solution

by:
Suat Ozgur earned 50 total points
ID: 6374104
find threed32.ocx anywhere. (it is located also in your vb cd, do a find). Then also find vbctrls.reg copy then into system folder and double click on vbctrls.reg.

If you cannot fint vbctrls.reg then you can copy and paste code below into a file in notepad and save as it as vbctrls.reg and do what i told above.

--------------Dont copy this line
REGEDIT
HKEY_CLASSES_ROOT\Licenses = Licensing: Copying the keys may be a violation of established copyrights.


// The 16 bit and 32-bit OCX Professional license follows:
HKEY_CLASSES_ROOT\Licenses\DB4C0D00-400B-101B-A3C9-08002B2F49FB = mgkgtgnnmnmninigthkgogggvmkhinjggnvm
                                   
// The 32 bit OCX Professional license follows:
HKEY_CLASSES_ROOT\Licenses\7BC20EDC-4A42-101B-A3C9-08002B2F49FB = gifblihbhiiihbciocfbkifbqcfcdiebbiqh

// spin32 DB key
// anibtn DB key
// gauge  7B key
// grid   DB key
// keysta DB key
// msoutl DB key
// threed DB key
--------------Dont copy this line


You have probably have this file in your vb cd. This is the exact way so ask more if you cannot do that.

suat
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 17

Expert Comment

by:Suat Ozgur
ID: 6374117
hmmm, sorry. something missing. What i told above works for Sheridan Threed Controls, i mean just with SSTab1.


For

"Line 15:  Cannot load control LV_APfiles; license not found."
"Line 26:  Cannot load control CmnDlg; license not found."

You should check which files (ocx) stand for LV_APfiles and CmmDlg. After finding ocx name you can manually register them by typing regsvr32.exe c:\windows\system\filename.ocx and then clicking ok.

This second is not exact solution for last two controls.

suat
0
 
LVL 17

Expert Comment

by:Suat Ozgur
ID: 6383152
a "B" without any comment. Your problem could be solved or not. If you accepted my comment why B, if my comment isnot enough why accepted? You could wait for more comments.

I am confused.

regards
suat
0
 

Author Comment

by:hotwheels
ID: 6389066
The vbctls.reg file worked, but I didn't need to copy it to my system directory.  Sorry, didn't think it was that big a deal.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question