Solved

VB6 32-bit app on W7 64

Posted on 2014-01-17
7
603 Views
Last Modified: 2014-01-20
Hi All,
Does anyone know whether any changes are required to the setup.lst before installing it via the standard (bundled with VB6) setup.exe? (I don't have VB6 for 64-bit so will need to edit the lst file manually.)
It appears most of the old OCXs etc are installed with W7 in syswow64 - are there multiple (32 and 64 bit) entries in the registry, or how does the app which to use?
thanks for any comment.
0
Comment
Question by:COACHMAN99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 40
ID: 39790286
Applications written in VB6 are supported even on W8 64-bit, but some don't work because they uses libraries (dlls) that are not compatible with 64-bit.

However, there is not VB6 64-bit, and the VB6 development environment is not supported on 64-bit, so you can have problems making changes to the code and/or recompiling it and/or recreating a new setup on a 64-bit computer.

It is thus suggested to make any changes and compiles to VB6 application on a computer that still runs on 32-bit. The applications compiled that way will work as they did unless they use non compatible dlls.
0
 
LVL 7

Author Comment

by:COACHMAN99
ID: 39791155
Thanks for the response.
My question relates to the setup.lst, and whether i need to edit it to accommodate syswow64?
0
 
LVL 7

Author Comment

by:COACHMAN99
ID: 39791166
Thanks for the response.
My question relates to the setup.lst, and whether i need to edit it to accommodate syswow64?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 39791209
No, the applications install the same way as they did before. WOW is simply Windows on Windows. It's an emulator that makes older application run on a 64-bit computer as they did on a 32-bit environment.

You thus not have to do anything. Install with the same setup package that you used before.

If it does not work, then there is nothing to do except communicate with the vendors of the libraries you use to know if they redesigned their 32-bit library to work in a 64-bit environment.

One other problem you might encounter is some older libraries that were automatically installed on Windows XP and are not anymore on newer versions of Windows. DAO is one I was confronted with. You might need to install these manually on the computers if you find out that this happens.
0
 
LVL 7

Author Comment

by:COACHMAN99
ID: 39792561
Thanks for the reassurance. I was wondering how the old vb6 install package knew to put the libraries in syswow but it sounds positive.
0
 
LVL 40

Assisted Solution

by:Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger) earned 500 total points
ID: 39792693
What you call the "VB6 install package" has not much to do with VB6. The setup and deployment wizard simply creates a standard .msi file. What you get finally is a standard "Windows install package".

Since most applications, not matter how they were developped, installed through .msi files in the past, the new versions of Windows know what to do with that.

It's the Windows Installer that detects that your application is 32-bit and store it so that it goes in the "special" Program Files (x86) directory, and handles it through WOW when you launch it. If your VB6 package did not work in 64-bit, none of the other 32-bit applications would work.

Microsoft already lived the pains of the passage from 16-bit to 32-bit in the 90's. They knew better how to prepare for 32 to 64 passage this time.

Programs and dlls that followed the rules still work. Those who tried to break the rules, by using undocumented features for instance, are the ones that crash.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
How many times a day do you open, acknowledge, or close an IT incident? What’s your process? Do you have a process depending on the incident, systems involved, and other factors? New Relic Alerts gives you options for how you interact with notifica…
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…
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…

710 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