Setting up Visual Basic 6 on Dual-Boot system

Posted on 2004-04-23
Medium Priority
Last Modified: 2013-11-25

I have Windows2000 and Windows 98 both set up on the same machine (dual boot)   on separate partitions

I have Visual Basic 6 SP5 installed on Win2000.
Can I make this instalation of Visual Basic work under Win98 also?    ( without installing it to a different directory )

At the moment, when I try to run VB6.exe from Win98, I get error saying that some dll's are missing.
Is it enough to just copy the missing dll's OR is there something else I can do OR do I have to install it again under Win98?

Note: I don't need the intire Visual Studio nor MSDN. Just Visual Basic being able to open and compile a project under Win98.

Question by:dbrckovi
LVL 76

Expert Comment

by:David Lee
ID: 10901151
I've never tried anythign like this myself so my statements here are just an opinion.  At the very least you'd have to copy all the dll's that VB depends on and you'd have to register them (i.e. via regsvr32 or whatever there is on Win98 that's analogous to that) so they're added to the registry.  But even then I'd be concerned about registry entries that VB makes during installation and depends on for VB to operate properly.  In short, I'd say it's a bad idea to try this.
LVL 11

Expert Comment

ID: 10901266
Why not try installing it again in Win98 but install it into the same directory as the WIN2000 install, overwriting the files.  This (hopefully) would create all the necessary dll's and registry entries and still only have one copy of the files on your hard drive.
LVL 28

Accepted Solution

vinnyd79 earned 1000 total points
ID: 10901279
I think you will have to install on win98 also.What you could do though,is rename the Microsoft Visual Studio directory before install and then install to the path where it was on 2K. Then test to make sure it works on both OS.If it does you can delete the renamed dir as both installs should work sharing the same install dir.
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

LVL 28

Expert Comment

ID: 10901284
Sorry jmwheeler,didn't see your comment there when I posted.
LVL 11

Expert Comment

ID: 10901491
No problem.
LVL 11

Author Comment

ID: 10958903

It's working now.

I had some trouble at the beginning becouse projects created and saved under Win2k were bound to several ActiveX controls in WinNT/System directory, and thus were not working under Win98.
Manual redirection solved it.

Funny thing is that not all controls were miss-bound. Some were redirected automaticaly.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

627 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