Author Topic: Connect to DB via ODBC but without DSN and ODBC-Manager-Entry  (Read 239 times)


  • Sr. Member
  • ****
  • Posts: 410
Hi Folks,

I have the scenario with a DB-App as follows:
Location of App: central File-server (standalone-EXE)
Clients: Call that App on the shared folder from their client-computers.

Now the Problem: Not all clients have the Driver (IBM DB2) installed on their client-machines, and therefore no DSN and/or Driver-Entry in their ODBC-Manager

Do i just have to drop the dll in the App-Folder on the share? How would i point MyConn.Driver to that DLL, when i cannot use the string "iSeries Access ODBC Driver" (as all the examples suggest)?
One System to rule them all, One IDE to find them,
One Code to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
People call me crazy, because i'm jumping out of perfectly fine aircraft


TinyPortal © 2005-2018