I have inherited an application written in VB6 that uses ODBC to communicate with an Oracle database.
In design mode, it works fine, but when I compile it, and try to execute the EXE version, when it connects to the database, it presents a typical ODBC logon screen, (database name / username / password).
When I enter a valid name and password, the error returned is "Application-defined or Object-defined error"
The connection string is;
ODBC;DSN=CCBSDEV;UID=XXXXXXXX;PWD=YYYYYYYY;LoginTimeout=90
I am compiling to, and executing from, the same directory in both instances.
Any help would be greatly appreciated.
In design mode, it works fine, but when I compile it, and try to execute the EXE version, when it connects to the database, it presents a typical ODBC logon screen, (database name / username / password).
When I enter a valid name and password, the error returned is "Application-defined or Object-defined error"
The connection string is;
ODBC;DSN=CCBSDEV;UID=XXXXXXXX;PWD=YYYYYYYY;LoginTimeout=90
I am compiling to, and executing from, the same directory in both instances.
Any help would be greatly appreciated.