Page 1 of 1

[SOLVED] Transitioning from VB6 to VB5

PostPosted: Thu Jan 25, 2018 11:45 pm
by time-killer-games
VB6 can load VB5 projects, but VB5 cannot load VB6 projects without some minor tweaking of the VBP file in Notepad. For these reasons (among a few other reasons) I bought VB5 on eBay recently so that I could port my plugins to use VB5 instead. This will give people who don't own VB6 but do have VB5 the option to still modify my plugins out-of-the-box.

However, I tried compiling an empty ActiveX control project, along with my WebBrowser plugin, and neither worked in AM, I got the typical error you get when a control is not installed properly for both, which was very discouraging. I used the right method names and ProgID, and the OCX files I compiled could be reused in VB5 just fine, so I have the impression VB5-built ActiveX controls simply do not work in AM - Is this really the case? Has anyone else tried make VB5 AM plugins before?

I'd like to know I didn't just waste $32.50, while that was a great deal on the product, and it was in "like new" condition, there isn't near as much I intend to use it for now.

Thanks!
Samuel

Re: Transitioning from VB6 to VB5

PostPosted: Fri Jan 26, 2018 1:44 am
by reneuend
Sorry to hear that TKG. I have VB6, but not VB5. Are there people who use VB5 more widely than VB6? VB6 seems like the most popular version before VB.NET came along. I'm guessing that only GM could answer this one.

Re: Transitioning from VB6 to VB5

PostPosted: Fri Jan 26, 2018 2:39 am
by time-killer-games
Yes VB6 is more popular, but due to its demand it is also a lot more expensive. I wanted make things more accessible for people who can't afford VB6 or people who only happen to have VB5.

Re: Transitioning from VB6 to VB5

PostPosted: Mon Jan 29, 2018 5:08 pm
by time-killer-games
I heard from GM when I contacted him about this issue as well. He said that it should work and he doesn't understand why I am getting that error message. I dug a little further and I discovered that the OCX file I created, while it registers fine on the computer I created it on, it doesn't seem to register on any other PC I tried registering it on. So this leads me to believe the two are connected issues. I'm going to try reinstalling VB5 and hopefully that will fix it. Apparently I'm not the only one with this problem, I've found some people on several different sites who said they were having problems registering ActiveX controls made with VB5 on Windows 7 and newer versions of Windows.

Re: [SOLVED] Transitioning from VB6 to VB5

PostPosted: Mon Jan 29, 2018 9:07 pm
by time-killer-games
Turns out I needed to download and install the VB5 runtime, which is no longer included with Windows. Problem solved! :mrgreen:

Re: [SOLVED] Transitioning from VB6 to VB5

PostPosted: Mon Jan 29, 2018 9:35 pm
by Candle
Sounds like you have it lick. good luck with your projects

Re: [SOLVED] Transitioning from VB6 to VB5

PostPosted: Mon Jan 29, 2018 10:59 pm
by time-killer-games
Thanks Candle! :)