Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Access mdb database in 64-bit Windows 8 years 1 week ago #9309

  • Dennis Jones
  • Dennis Jones's Avatar Topic Author
  • Visitor
  • Visitor
I have a Typon32 app that connects to an .mdb database using File.dsn. This File.dsn doesn't work in 64-bit Windows I think because the mdb driver is not available for 64-bit.

What can I do?

Please Log in or Create an account to join the conversation.

Last edit: by Dennis Jones.

Access mdb database in 64-bit Windows 8 years 1 week ago #9314

  • Tony_O_Gallos
  • Tony_O_Gallos's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Ελεύθερο λογισμικό ή θάνατος
  • Posts: 84
  • Thank you received: 23

Please Log in or Create an account to join the conversation.

Access mdb database in 64-bit Windows 8 years 1 week ago #9316

  • Dennis Jones
  • Dennis Jones's Avatar Topic Author
  • Visitor
  • Visitor
Installed 64-bit Office 2010 and MDAC and recreated the File.dsn specifyin mdb driver, but I still get an error saying the File.dsn is incorrect.

Please Log in or Create an account to join the conversation.

Access mdb database in 64-bit Windows 8 years 1 week ago #9320

  • Tony_O_Gallos
  • Tony_O_Gallos's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Ελεύθερο λογισμικό ή θάνατος
  • Posts: 84
  • Thank you received: 23
msdn.microsoft.com/en-us/library/cc645931.aspx
Data Source Names and 64-Bit Operating Systems
To build and run an application as a 32-bit application on a 64-bit operating system, you must create the ODBC data source with the ODBC Administrator in %windir%\SysWOW64\odbcad32.exe.
Remarks
A 64-bit Windows operating system has two odbcad32.exe files:
%SystemRoot%\system32\odbcad32.exe is used to create and maintain data source names for 64-bit applications.
%SystemRoot%\SysWOW64\odbcad32.exe is used to create and maintain data source names for 32-bit applications, including 32-bit applications that run on 64-bit operating systems.

This could help ;)
The following user(s) said Thank You: Dennis Jones

Please Log in or Create an account to join the conversation.

Access mdb database in 64-bit Windows 8 years 1 week ago #9321

  • Dennis Jones
  • Dennis Jones's Avatar Topic Author
  • Visitor
  • Visitor
Thank you Jesus and Tony Gallos! That did the trick. You saved my life. Many thanks, my friend.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1