Error: architecture mismatch between the driver and the app

dormdaz Posted messages 361 Status Membre -  
michel_m Posted messages 18903 Registration date   Status Contributeur 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 réponse

michel_m Posted messages 18903 Registration date   Status Contributeur Last intervention   3 320
 
Hello

a lead (maybe not the solution)
https://www.connectionstrings.com/using-jet-in-64-bit-environments/

--
Michel
1