VisualBasic 6 program cannot run on Windows 7


U

untisump

I have a Visual Basic 6 program and a new pc with Windows 7 64 bit Home
Premium.
Program reads data from DBF's and exports to text file.

When I try to setup or run this simple program on win7 I get errors and the
program will not run.

Setup fails = dll's are not registered.
Register dll's by hand (regsvr32) is not successful.
XP mode is not possible on Home Premium.

Googled alot with no success.

Please if any knows a solution to this or will I have to recode all VB6
programs to C# or similar?

TIA
 
Ad

Advertisements

P

Paul

untisump said:
I have a Visual Basic 6 program and a new pc with Windows 7 64 bit Home
Premium.
Program reads data from DBF's and exports to text file.

When I try to setup or run this simple program on win7 I get errors and the
program will not run.

Setup fails = dll's are not registered.
Register dll's by hand (regsvr32) is not successful.
XP mode is not possible on Home Premium.

Googled alot with no success.

Please if any knows a solution to this or will I have to recode all VB6
programs to C# or similar?

TIA
There are some ideas here.

"Installing VB6 Applications on VISTA or Windows 7"

http://www.daniweb.com/code/snippet313435.html

Paul
 
S

Sir_George

untisump said:
I have a Visual Basic 6 program and a new pc with Windows 7 64 bit
Home Premium. Program reads data from DBF's and exports to text file.

When I try to setup or run this simple program on win7 I get errors
and the program will not run.

Setup fails = dll's are not registered.
Register dll's by hand (regsvr32) is not successful.
XP mode is not possible on Home Premium.

Googled alot with no success.

Please if any knows a solution to this or will I have to recode all
VB6 programs to C# or similar?

TIA
The program you are trying to install is not compatible with Windows 7,
64 bit, edition. You need to run the program in XP mode, which is not
available in Windows 7 Home Premium. You can upgrade your Win 7 to one
of the following; Professional, Ultimate or Enterprise. Additionally,
your system requirements need to be at least; 2GB system RAM and a CPU
that supports chip-level virtualization.

HTH
 
U

untisump

I shall answer my own question now, and to all others:

The trick is:
1. change system date to US/UK format
2. make setup package with package and deployment wizard
3. on win7 (any) run setup as administrator

Problem solved (at least in my case).

cheers
 
S

Steel

I have a Visual Basic 6 program and a new pc with Windows 7 64 bit Home
Premium.
Program reads data from DBF's and exports to text file.

When I try to setup or run this simple program on win7 I get errors and the
program will not run.

Setup fails = dll's are not registered.
Register dll's by hand (regsvr32) is not successful.
XP mode is not possible on Home Premium.

Googled alot with no success.

Please if any knows a solution to this or will I have to recode all VB6
programs to C# or similar?

TIA
You can try a VB6 to VB.NET conversion utility, which is part of the
VB.NET 2008 Express edition. The conversion is only good for very
simplistic VB6 programs nothing more. VB6 is about a 13 years old legacy
solution. Maybe, it's time for you to rewrite it in VB.NET. The thing
with .NET DLL(s) is that they don't have to be registered with the O/S.
They only need to be located where the hosting .Net assembly is located,
and .NET will find the DLL and use it.
 
Ad

Advertisements

J

Joe91735

Did you create an installation - setup program to install the app on the win
7 pc.
I had your same problem and using the setup the program then worked on my
Win 7 PC


Steel" <""Fake99XX1199999fake\"@(Big)(Steel)theXfactor.com wrote:
: On 2/15/2011 5:06 AM, untisump wrote:
:: I have a Visual Basic 6 program and a new pc with Windows 7 64 bit
:: Home Premium.
:: Program reads data from DBF's and exports to text file.
::
:: When I try to setup or run this simple program on win7 I get errors
:: and the program will not run.
::
:: Setup fails = dll's are not registered.
:: Register dll's by hand (regsvr32) is not successful.
:: XP mode is not possible on Home Premium.
::
:: Googled alot with no success.
::
:: Please if any knows a solution to this or will I have to recode all
:: VB6 programs to C# or similar?
::
:: TIA
::
::
:
: You can try a VB6 to VB.NET conversion utility, which is part of the
: VB.NET 2008 Express edition. The conversion is only good for very
: simplistic VB6 programs nothing more. VB6 is about a 13 years old
: legacy solution. Maybe, it's time for you to rewrite it in VB.NET.
: The thing with .NET DLL(s) is that they don't have to be registered
: with the O/S. They only need to be located where the hosting .Net
: assembly is located, and .NET will find the DLL and use it.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top