Solved

VB6 running under Win7

Posted on 2014-12-07
4
204 Views
Last Modified: 2014-12-08
I am maintaining a few rather large legacy programs written in VB6 running under XP. My new machine OS is Win7. I have kept my old XP machine for use in maintaining these VP6 programs. (The XP machine runs strictly off line, so I do not worry about security.)

It is a nuisance to transfer all the devices from one machine to the other. Mouse, Keyboard, Printer, etc. I'm thinking of installing VB6 on my Win7 machine to avoid all that hassle.

Question: Are there any issues I should know about running VB6 under Win7? I'm aware of the OCX problems. My question pertains to running the VB6 development suite itself.

I have an external USB hard drive with plenty of room on it. I could fire up my old XP machine and simply copy the existing VB6 studio suite to the external drive. Then it will be there when I plug the external drive into the Win7 machine.

Question: Would it be better to make a fresh install under Win7? (I have all the VB6 CDs.)
0
Comment
Question by:NormaPosy
4 Comments
 
LVL 142

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 100 total points
ID: 40486233
the compilation of the VB6, if it refers to "old" OCX, may not run on non-win7 machines...

for avoiding the switching of the devices, you could consider a device switch like this one:
http://www.gdsys.de/en/products/kvm-switches/

or to "move" the XP machine to a virtual machine (maybe you have VM in your enterprise?)
0
 
LVL 11

Accepted Solution

by:
Dany Balian earned 300 total points
ID: 40486282
I still use VB6 to maintain many of my old programs.. and i have workstations here at work with windows xp, windows 7, and windows 8.. they all run vb6 successfully!  you have to make a fresh install from the cds though!

the only thing that you can't do from a windows 7 pc is distribute a software and make it work on older versions (xp) however software compiled on xp, works successfully on future versions. (of course there are ways to make them work by downgrading the main ocx components on your windows 7 installations, but i personally don't recommend that)

one last note, you have to make sure if you have any third party components that you have purchased for xp, if they also can be installed on windows 7..

hope this helps!
0
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 100 total points
ID: 40486560
If you want to avoid any risks, you can run VB6 on a XP VM on your Windows 7 computer.
0
 

Author Closing Comment

by:NormaPosy
ID: 40486907
Thank you.
- - Norma
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

786 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