-
[Semi-RESOLVED] Vista and VB6.0 Components issue...
Hey,
My company just bought me a Vista machine unfortunately. I have been writing all my apps in VB6 on my old XP pro machine. Now I am trying to open them up on my Vista pos and getting loading errors. I bassically narrowed it down to 2 components missing 1) Sheridan 3d controls and 2) vbAccellerator VB6 Grid control 2.0. Anyone know how I would get this stuff loaded on my Vista machine? I am ready to throw it through a wall.
-
Re: Vista and VB6.0 Components issue...
The vbAccellerator thing is probably free, so you could go back there an download it again.
The Sheridan controls, however, are probably not free. Do you have the original CD that they came on?
-
Re: Vista and VB6.0 Components issue...
I downloaded the .ocx from vbaccellerator and put it in my system32 folder and it still doesn't work. Is there a special way I should be registering it? I can't find any documentation.
-
Re: Vista and VB6.0 Components issue...
Open up your VB project, click Project/Components/Browse
Browse over to that folder and double click on it.
That should make it a part of your project and register it. (At least it does in other OS's)
-
Re: Vista and VB6.0 Components issue...
The file 'C:\Windows\System32\vbalGrid6.ocx' was not registerable as an ActiveX Component.
Vista is terrible.
-
Re: Vista and VB6.0 Components issue...
I think, so the sake of your productivity, you need to get back to XP and your project, and perhaps persue this issue when the resolution isn't as critical.
-
Re: Vista and VB6.0 Components issue...
Yeah that is probably what I am going to do... was just throwing it out there in hopes of someone already finding the answer. Been working on this app for over a year now... would be impossible to take out all of the references to these components. Thanks for the attempt tho!
-
Re: Vista and VB6.0 Components issue...
Another thing that I just thought off....is there a "Contact Us" link on vbAccellartor that would put you in touch with the developers of this control?
It would be worth while, I think, to contact them and see if they have a solution, or, at least, log the issue with them.
-
Re: Vista and VB6.0 Components issue...
Oddly enough I installed a package of the app that I made on the XP machine on the Vista machine and it did the registering of the components. Now they show up in the component window so I can select them.
I guess I can mark this semi-resolved =/
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Including the Sheridan controls?
Installation will register the components, but many require a license file to be present in order to use the controls in design.
Can you now open your project, in design, and have access to them?
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Yes all the sheridan controls are there now. I just tried opening another app that used winsock and for some reason it wasn't checked off in the component list but that was an easy fix.
I am still alittle skeptical to continue working on the vista machine with the experience I have had so far.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Do you have an XP machine, or is this the only box available to you?
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
I am actually typing this on the XP box. Got the Vista machine right next to it.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
If you run into any oddities on our Vista box, be sure to post them. I'm certain many would be interested.
Thanks.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Also, make sure you run VB 6 as Admin or else you cant access certain features of it. Right click your shortcut or vb6.exe and select "Run As Administrator".
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
BTW Besoup, have you seen this FAQ?
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Thanks for the link Hack, I think I am clear of all the issues listed there.
RobDog is there a way around having to right click run as admin everytime? I see how it is extra security for some but it gets annoying fast. :P
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Yes, in your shortcut properties you can check the box for "Run as Administrator" and then save the change to your shortcut. Then each time when run via the shortcut it will run under admin credentials.
I got allot of that info in the link Hack posted but never got any credit from the poster. :( Oh well.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Rob: Perhaps an FAQ on some of the gotchas on running VB, itself, as opposed to an application made in VB, would be a good idea.
The tip you just posted for Besoup, as well as some of the others, could be very helpful to people like Besoup who are just getting into the Vista world.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Yeah any info on how to get the mouse wheel fix to work would be awesome too... getting DllRegisterServer failed with error code 0x80004005 when executing the run command.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Oh I have a bunch of stuff more still. :D I havent worked on fixing the mouse in the VB 6 IDE but we shall see how far I get with it.
* Vista FAQ to come *
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Quote:
Originally Posted by Besoup
Yeah any info on how to get the mouse wheel fix to work would be awesome too... getting DllRegisterServer failed with error code 0x80004005 when executing the run command.
I know this is a bit off topic, but, since you brought it up, I'll comment. (NOTE: This is pure speculation on my part.)
This will depend the driver you're using and whether the makers of that driver decide to upgrade it for Vista.
Remember VB6 came out in 1998 before wheels on mice were common. As such, VB didn't natively support a wheel. For the wheel to work in the VB IDE, the driver and related mouse software that needed to provide this functionality had to be developed. I would check the web site of your mouse manufucturer for specific Vista drivers and software, if any, that may provide. I wouldn't get my hopes up.
You may have a problem with ANY hardware older than just a couple years finding official support under Vista.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
I have a newer MS Wheel Optical mouse and it needed special drivers for Vista. Even after I installed them still no wheel support in the VB 6 IDE. It does work in all other apps including .NET IDEs
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
To add to the frustration... when I step through code then stop the code, it crashes the IDE everytime... unbelievable.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Looks like it corrupted my project file because now it is crashing the same way on my xp machine...
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Are you getting one of those memory errors?
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
I get a crash error on vista and on xp it just shuts down the program without any errors at all... think im gonna cry. :P
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Did you copy the project to the Vista box, and then copy it back to the XP box?
(Do you have an XP backup of the project?)
Explain a bit more about "shuts down the program without any errors at all".
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
I am going to try to dig up a copy off my tape backup... tho it doesn't look very hopeful. It seems to only be happening in this one form I was working in so far. Basically I was trying to find a logic error in one of my routines so I inserted a break in the code. Then I just do the usual F8 and go through some variables. When I find what I am looking for, I hit the stop and my whole IDE disappears.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Does this happen on any other form, or just this one (hopefully)?
I've never encountered this situation before.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
You can recreate the project file and add the forms that are good to it. Then for the one that is bad you can at least get the code out of it if you open the frm file in notepad or wordpad. The frx is the part with the binary resources which is probably corrupt.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Rob: Have you seen this behavior on Vista with respect to .frx files before?
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
yeah I am probably gonna try that when I get some time... unfortunately this app is huge.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Quote:
Originally Posted by Hack
Rob: Have you seen this behavior on Vista with respect to .frx files before?
Not on Vista but on XP I have.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Quote:
Originally Posted by Besoup
Hey,
I bassically narrowed it down to 2 components missing 1) Sheridan 3d controls and 2) vbAccellerator VB6 Grid control 2.0.
I think you are talking about Threed32.ocx which is a Sheridan 3d control. This is on the VB6 CD along with an extra reg file in the same folder. You can register it with regsvr32.exe Threed32.ocx. Then run the reg file will do an extra registration for this ocx. ;)
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Just noticed that the .frx's are missing for alot of my forms... what's the best way to reproduce them? I am guessing new forms but there is like 20+ missing....
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Try a little skullduggery.....delete a component that you have added to the form, then readd it, give it the name it had, and save the form.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
no luck with the suggestion... thanks tho.
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
Did you run it afterward and use the forms in question?
-
Re: [Semi-RESOLVED] Vista and VB6.0 Components issue...
yeah just tried that too... no luck.