• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 830
  • Last Modified:

Missing SSTab1 control

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
hotwheels
Asked:
hotwheels
  • 3
  • 2
1 Solution
 
praveenkumar_budamaguntaCommented:
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
 
hotwheelsAuthor Commented:
I cannot change the code.  That is not an option
0
 
Suat OzgurWeb / Application DeveloperCommented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Suat OzgurWeb / Application DeveloperCommented:
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
 
Suat OzgurWeb / Application DeveloperCommented:
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
 
hotwheelsAuthor Commented:
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now