Solved

VB6 32-bit app on W7 64

Posted on 2014-01-17
7
610 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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Suggested Courses
Course of the Month5 days, 19 hours left to enroll

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