-
Oct 4th, 2004, 06:30 AM
#1
Thread Starter
New Member
Problem with SSPanel & SSFrame
Hi
I’m VB6 programmer and used to write VB code for developing a special system for my company. However I didn’t develop anything in that system for about 2 weeks. Last week when I opened the project in VB6 and tried to open a form that include SSPanel & SSFrame I get the following massage:
Error during the loading, see log file for details.
When I opened the form was all of my SSPanel & SSFrame gone. In the log file I saw information about some control names that couldn’t be loaded because the licences not founded.
I deg further and found out that the error number is 429. The description of error 429 says that the object is in the machine but is a licensed automation object. The only suggestion followed that reinstall the licensed object.
In hope that it means to reinstall the VB6, I reinstall VB6. But it didn’t work.
I don’t know what the problem is. I have license for VB6 and used VB6 at several years. I haven’t touch anything in my computer that causes the registration key disappears. Furthermore SSPanel & SSFrame are standard VB objects. The licenses shouldn’t just disappear.
Can anyone help me?
Yours Sincerely
Nash
-
Oct 4th, 2004, 08:10 AM
#2
Re: Problem with SSPanel & SSFrame
Originally posted by nash10
... Furthermore SSPanel & SSFrame are standard VB objects. ...
I don't think so, only SSTab control is included in the VB Enterprise package. This ocx is ANA "Microsoft Tabbed Dialog Control x.x" and was licensed to MS By Sheridan.
So, what you most probably need is to properly install those controlls and then include them in your distribution.
Good luck.
-
Oct 5th, 2004, 01:26 AM
#3
Thread Starter
New Member
Re: Re: Problem with SSPanel & SSFrame
Originally posted by RhinoBull
I don't think so, only SSTab control is included in the VB Enterprise package. This ocx is ANA "Microsoft Tabbed Dialog Control x.x" and was licensed to MS By Sheridan.
So, what you most probably need is to properly install those controlls and then include them in your distribution.
Good luck.
Hi again
Thanks for the answer. The problem is that I didn’t buy these OCX separately. They were included in VB6 program that my company bought some years ago. That’s why I can’t just install these controls separately.
-
Oct 5th, 2004, 05:50 AM
#4
Create usercontrols that behave like the controls you used. If I remember right, those controls weren't all that complex and it should take only a day worth of work or little over to code both of them (well, something similar).
-
Oct 5th, 2004, 06:17 AM
#5
Thread Starter
New Member
Originally posted by Merri
Create usercontrols that behave like the controls you used. If I remember right, those controls weren't all that complex and it should take only a day worth of work or little over to code both of them (well, something similar).
Thank you Merri. You’re right. I can create a usercontrol but that’s the worth case. Because it has 3 disadvantage:
1) It takes time that I don’t have.
2) I can’t neither write a program as well as the supplier or I can’t compete to suppliers that upgrade their applications program to a better and more complete program later on.
3) The knowledge of the usercontrol disappears eventually when I leave the company.
-
Oct 5th, 2004, 07:37 AM
#6
Re: Re: Re: Problem with SSPanel & SSFrame
Originally posted by nash10
Hi again
Thanks for the answer. The problem is that I didn’t buy these OCX separately. They were included in VB6 program that my company bought some years ago. That’s why I can’t just install these controls separately.
That explains. Unfortunately you must have a developer's license to be able to include any ocx into any of your new apps. Sorry pal ...
On the other hand SSPanel could easily be replaced with Picturebox and SSFrame with a regular Frame. Don't know how much extra work will be involved but it is certainly doable and also headach free.
Good luck.
-
Oct 5th, 2004, 08:03 AM
#7
Thread Starter
New Member
Re: Re: Re: Re: Problem with SSPanel & SSFrame
Originally posted by RhinoBull
That explains. Unfortunately you must have a developer's license to be able to include any ocx into any of your new apps. Sorry pal ...
On the other hand SSPanel could easily be replaced with Picturebox and SSFrame with a regular Frame. Don't know how much extra work will be involved but it is certainly doable and also headach free.
Good luck.
Thanks again guys. But my application & my licenses worked properly until 3 weeks ago (the last time I checked). I didn’t install anything new in my computer during this period. The problem is that I can’t even open the project, on another computer.
-
Oct 5th, 2004, 01:18 PM
#8
Nash.
SSPanel & SSFrame are controls that come from Threed32.ocx. This is an old ocx first used in VB4, I still use it.
Threed32.ocx can be found in the VB6 CD under:
Common\Tools\Vb\Controls
You will have to register this ocx and run vbctrls.reg from the same folder. This is an extra reg file thats need.
You will also see anibtn32.ocx, dbgrid32.ocx, gauge32.ocx, graph32.ocx, grid32.ocx, mschart.ocx, msoutl32.ocx, spin32.ocx
These are also older ocx's used with VB4.
Any problems locating these files let me know I will send them over.
Last edited by Keithuk; Oct 5th, 2004 at 01:48 PM.
Keith
I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
-
Oct 5th, 2004, 02:14 PM
#9
Originally posted by Keithuk
... Any problems locating these files let me know I will send them over.
That might be illegal, though.
-
Oct 5th, 2004, 05:25 PM
#10
Keith
I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
-
Oct 6th, 2004, 02:25 AM
#11
Thread Starter
New Member
Thanks a lot Keithuk. I tried your suggestion and everything works properly now.
-
Oct 6th, 2004, 07:26 AM
#12
Originally posted by Keithuk
Why is it illegal? ...
I didn't say it is ... - I said It might be .... There is a difference.
EDIT: although, you may download lots of goodies from the internet these nova days but that doesn't necessary mean you have a rights to redistribute any of them. In most cases it is recommended to contact original vendor unless EULA is included in the download.
Cheers.
Last edited by RhinoBull; Oct 6th, 2004 at 07:35 AM.
-
Feb 17th, 2022, 04:43 PM
#13
Lively Member
Re: Problem with SSPanel & SSFrame
I'm having this problem. If you could please send me those files I would appreciate it. I did a download of the VB6 and has the folder Common\Tools, but no subfolder VB or controls under that. Appreciate the help.
-
Feb 17th, 2022, 05:51 PM
#14
Re: Problem with SSPanel & SSFrame
Originally Posted by fpojre
I'm having this problem. If you could please send me those files I would appreciate it. I did a download of the VB6 and has the folder Common\Tools, but no subfolder VB or controls under that. Appreciate the help.
They are on the CD
-
Feb 17th, 2022, 10:23 PM
#15
Lively Member
Re: Problem with SSPanel & SSFrame
-
Feb 17th, 2022, 10:27 PM
#16
Re: Problem with SSPanel & SSFrame
Originally Posted by fpojre
I don't have a CD
So you downloaded a pirated version that does not include all the files?
-
Feb 18th, 2022, 10:03 AM
#17
Re: Problem with SSPanel & SSFrame
I feel sorry for people trying to maintain old code with third-party closed-source controls within it.
I remember when VB first came out, and we got this little booklet of all the "wonderful" third party controls we could get to make it even "better". And I remember trying out a few of them, but quickly came to realize that they were all buggy, and basically garbage ... even the Sheridan controls.
The only one that was worth anything was the SSTab control, which Microsoft bought and then subsequently had someone go through it and made sure it worked as intended (and I still have a little CLS I always attach to it when I use it to fix a few bugs still in it).
But, regarding the rest of them, IMHO, pure garbage, and that's evidenced by the fact that they're seldom mentioned in these forums.
Personally, fpojre, if I were in your position, I'd do one of two things: 1) just replace your Sheridan controls with the standard controls, or 2) write my own custom-UCs and replace those Sheridan controls with my own custom-UCs.
In either of those cases, it'll take some careful Notepad++ search-and-replace to swap out the controls. I say NP++ because it's really nifty at doing multi-file search and replaces. You'll also still need to delete the old Sheridan references from your code, even after you have things swapped out.
Last edited by Elroy; Feb 18th, 2022 at 10:06 AM.
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Feb 18th, 2022, 06:02 PM
#18
Hyperactive Member
Re: Problem with SSPanel & SSFrame
Some of those controls are old enough that they actually came with 16-bit installers and/or registration programs!
-
Feb 22nd, 2022, 11:32 AM
#19
Lively Member
Re: Problem with SSPanel & SSFrame
I appreciate your suggestion, however, I'm not a VB programmer and this was just dumped on me because I was a former programmer in Fortran & Pascal (years ago). I have no idea what Sheridan controls are or how to replace them. If you could offer some direction I'd appreciate it. I just need this one more thing fixed and I hope it will run.
-
Feb 22nd, 2022, 02:04 PM
#20
Hyperactive Member
Re: Problem with SSPanel & SSFrame
When I ditched SSFrame many years ago, it was literally just doing a mass search and replace in the .frm and .ctl files using notepad++ - replacing "Threed.SSFrame" with "VB.Frame". Threed.SSPanel could be replaced by VB.PictureBox, but you'd probably have to manually set the color and border properties to get the exact same look. Once all of the Threed controls are gone you can drop the reference from the project components.
-
Feb 22nd, 2022, 02:11 PM
#21
Re: Problem with SSPanel & SSFrame
Hi fpojre,
I'd help more but I'm traveling and just on a Surface Tablet, so I can't do much. But yeah, all those custom controls starting with "SS" were done by a company named Sheridan.
And ahenry has outlined how to get rid if them. You should be able to get rid of the SSFrame very easily. The SSPanel, truth be told, I'm not sure what that was. Maybe you could describe its functionality. If it's just a container control, then yeah, just use the PictureBox to replace it.
Good Luck.
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Feb 23rd, 2022, 10:16 AM
#22
Lively Member
Re: Problem with SSPanel & SSFrame
Thanks Elroy, I'll give this a try and do some research and get back to you with the results. Thanks.
-
Feb 23rd, 2022, 10:36 AM
#23
Re: Problem with SSPanel & SSFrame
Originally Posted by Elroy
The only one that was worth anything was the SSTab control, which Microsoft bought and then subsequently had someone go through it and made sure it worked as intended (and I still have a little CLS I always attach to it when I use it to fix a few bugs still in it)..
We use such "extension" classes for *all* controls in use incl. builtin TextBoxes, Labels, and VB.Forms. Helps fix bugs and implement standard features on all textboxes/combos/whatever very easily.
We code all UI stuff against these extension classes and never touch the actual controls so our UI handling code is usually placed in a separate class next to the form designer, thus keeping the form code-pane empty which is a bit startling for someone outside our dev team :-))
This is our secret sauce for a robust UI in any million LOC project -- wrap the sh*t so it does not contaminate the rest of the code.
cheers,
</wqw>
-
Feb 23rd, 2022, 11:52 AM
#24
Lively Member
Re: Problem with SSPanel & SSFrame
Believe me, in other programs we do the same, except we call it subroutines and we always comment in notes to let others know EXACTLY what and where changes were made and why. Had this been done properly, I wouldn't be having these issues, but I'm cleaning up as i go. Thanks for the input.
-
Feb 23rd, 2022, 02:48 PM
#25
Lively Member
Re: Problem with SSPanel & SSFrame
update, went into the object code and removed a picture box that was showing as error loading. Saved the project, reloaded, NO ERRORS on reload.
Is it safe to say I've corrected the load errors and I can run "Make CraneTracker.exe" under the file tab OR under the project there is a choice of "Publish" "Source Files or Build Outputs".
-
Feb 23rd, 2022, 03:09 PM
#26
Re: Problem with SSPanel & SSFrame
Presumably, the PictureBox was likely VB6's "replacement" for the control it was unable to load, the SSPanel/SSFrame (I can't remember which one your code uses). Which means that any code that references the original control that was replaced by the PictureBox will prevent it from being able to be compiled.
But trying to compile it won't hurt, it's not like it will break it further if already broken.
-
Feb 23rd, 2022, 03:45 PM
#27
Re: Problem with SSPanel & SSFrame
From your other thread, you acquired a copy of Threed32.ocx, registered it, but the errors related to Threed.SSPanel persisted when loading your project.
Try this:
-Start a blank Project
-Click Project->Components
-Scroll down to the components starting with the letter S
-Is Sheridan 3D Controls listed?
-If so, click the box next to Sheridan 3D Controls and click Ok
-Do you see several new controls appear in the Toolbox (Checkbox, Frame, Button, Panel, etc.)?
-If so, are you able to double-click these new controls and add them to the blank form?
-At any point in this process, do you get an error along the lines of "License information for this component not found..."
-
Feb 24th, 2022, 01:05 PM
#28
Lively Member
Re: Problem with SSPanel & SSFrame
I followed the above and No Sheridan controls are listed.
I've reloaded the project, checked and logs and have no errors listed.
I did go in previously and add the VB6 Controls and that appeared to help.
I'm going to double check everything this afternoon and then try to make the exe.
-
Feb 24th, 2022, 01:42 PM
#29
Re: Problem with SSPanel & SSFrame
Yeah, you mentioned in your other thread that you downloaded the Threed32.ocx file from some 3rd party website. The fact that no Sheridan controls show up now tells me that the file you downloaded wasn't the file you need, and, who knows, may have been malicious.
You need the actual Threed32.ocx file that was distributed on the VB installation media. Unless and until you get that, your program will likely not compile. That is, unless you remove all dependencies and code related to any Sheridan controls used and replace them with controls and code that are available to you, and I don't get the impression that you have enough experience with VB6 to do that at this point.
Good luck.
-
Feb 24th, 2022, 03:59 PM
#30
Lively Member
Re: Problem with SSPanel & SSFrame
I appreciate your time and effort on this. The link didn't work. I have resolved to buy the VB6.0 so I can have the CD and all the files. I've ordered and will get it next week. I'll just put this on hold till then. Luckily the book comes with it.
-
Feb 25th, 2022, 02:56 PM
#31
Lively Member
Re: Problem with SSPanel & SSFrame
I've downloaded and installed the Controls from the ftp you sent and the treeed32.ocx and have successfully registered the ocx.
I've restarted Windows, as normal when a change is made. Do I need to do anything else ie.. in the components? What is the next step so I don't screw this up?
-
Feb 25th, 2022, 03:12 PM
#32
Re: Problem with SSPanel & SSFrame
If you didn't run the license .reg file that is referenced above in post 8, you will need to do that as well.
Presumably you still have a completely unmodified copy of this project from before you've attempted any changes. Make sure you keep that unmodified copy unmodified so that there is always a "Clean" version of the project to fall back on.
That original .vbp file I believe requires one change, and that was to change the version of the MsComCtl.ocx referenced in the vbp file from 2.0.0 to 2.1.0 or something along those lines.
Disregard any copies of this project you have made up to this point (they've all likely been tainted by PictureBox replacements for missing components), make a fresh copy of the original project, make the change to the vbp file referenced above (using Notepad), and then try to open the project.
-
Mar 15th, 2022, 12:24 PM
#33
Lively Member
Re: Problem with SSPanel & SSFrame
I have been looking for the complete program of VB6 since it appears I'm missing some files. I've looked on Amazon and attempted to find something on Google with no luck. I have found something on EBAY, but I'm sometimes hesitate about those products. I have posted the link below. if someone would give me an idea if this would provide me all the files I need to complete this programming it would be greatly appreciated.
https://www.ebay.com/itm/28468679204...UAAOSwd85iJRMV
-
Mar 15th, 2022, 02:56 PM
#34
Re: Problem with SSPanel & SSFrame
First, why pick on an 18 year old thread, rather than start a new thread with your question?
Secondly, that's the "Learning Edition" which doesn't allow you to compile. That's probably not what you want.
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Mar 15th, 2022, 04:06 PM
#35
Lively Member
Re: Problem with SSPanel & SSFrame
Thanks, good point and I"ll repost in a new Thread and take out the ebay learning edition.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|