Home > Software engineering >  Vb6 can write database applications, can't use in Windows 7 32 bit system
Vb6 can write database applications, can't use in Windows 7 32 bit system

Time:09-26

Vb6 can write database applications, can't use in Windows 7 32-bit system
Prompt ACTIVEX components can't create objects

This program can be used in the 64 - bit Windows 7 system,

CodePudding user response:

What database? Did you install the database driver?
Deal with Microsoft secretly in the operating system before bound the SQL Server 2000, Access 9 x their database driver, such as
Using the database usually need to install the driver first/client component,

CodePudding user response:

In a 64 - bit Windows:
64 exe and DLL in the directory c: \ Windows \ sys tem32 directory.
32 bit exe and DLL in the directory c: \ Windows \ sys wow64 directory.
So pay attention to:
In win64 system registered under 32-bit ocx DLL to 32 ocx or copy the DLL to the c: \ Windows \ syswow64 \ directory,
And registered to c: \ Windows \ syswow64 \ regsvr32 XXXXXXX ocx or DLL
Under win64 a system set up 32-bit programs use a database alias to c: \ Windows \ \ syswow64 \ cliconfg exe
Under win64 a system set up a 32-bit application system DSN to c: \ Windows \ \ syswow64 \ odbcad32 exe

CodePudding user response:

Is a 32-bit Windows 7 operating system, database driven, using ADO can also open the database, just can't execute SQL statements, a performing tips "unspecified error!"
Who can solve, there will be a ChongXie,

CodePudding user response:

On a 32-bit Windows 7 install a office2000, access to open the MDB database table, I written in VB program can not open the data table,

CodePudding user response:

How do you write code in the ConnectionString?

CodePudding user response:

Close the UAC, firewalls, antivirus software
As an administrator to run
In XP compatibility mode

CodePudding user response:

You under 32-bit vb source code to generate a is ok

CodePudding user response:

The c # compiler has the option of a x86, vb should be no, so direct change environment.
  • Related