Hi,
I am trying to get a VB5 app which uses a workspace to run the following ODBC connection
This works without issue when run in the IDE however after compiling and running the exe the Set ODBC_DB line fails with error message "ODBC call Failed"
There are no other dependant files and I have tried recreating the DSN and deleting the old exe before recompiling none of which work.
Any advice would be greatly appreciated.
-Ian
I am trying to get a VB5 app which uses a workspace to run the following ODBC connection
Code:
Global ODBC_WS as Workspace
Global ODBC_DB as Connection
set ODBC_WS = CreateWorkspace ("","", dbUseODBC)
set ODBC_DB = ODBC_WS.OpenDatabase("", dbDriverComplete, False, "ODBC;DSN=[i]DSN[/i];UID=[i]user[/i];PWD=[i]PASSWORD[/i]")
This works without issue when run in the IDE however after compiling and running the exe the Set ODBC_DB line fails with error message "ODBC call Failed"
There are no other dependant files and I have tried recreating the DSN and deleting the old exe before recompiling none of which work.
Any advice would be greatly appreciated.
-Ian