Solved

Setting up Visual Basic 6 on Dual-Boot system

Posted on 2004-04-23
6
232 Views
Last Modified: 2013-11-25
Hi!

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.

Thanks!
0
Comment
Question by:dbrckovi
6 Comments
 
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.
0
 
LVL 11

Expert Comment

by:jmwheeler
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.
0
 
LVL 28

Accepted Solution

by:
vinnyd79 earned 250 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.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 28

Expert Comment

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

Expert Comment

by:jmwheeler
ID: 10901491
No problem.
0
 
LVL 11

Author Comment

by:dbrckovi
ID: 10958903
Thanks!

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.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now