Error: architecture mismatch between the driver and the app

dormdaz Posted messages 361 Status Member -  
michel_m Posted messages 18903 Registration date   Status Contributor Last intervention   -
Hello,
to connect to my Access database with VB6, I include these 2 lines in my program:

Adodc1.ConnectionString = "DSN=Data source name"
Adodc1.Password = "password"

with the 32-bit operating system it normally works, but with the 64-bit operating system it shows me the following message:
"[Microsoft] [ODBC Driver Manager] The specified data source (DNS) has an architecture mismatch between the driver and the application".
Thank you in advance.
Dorm

Configuration: Windows 7 / Chrome 47.0.2526.73

1 answer