Trying to run compiled VB6 legacy program on Windows 8. Also installed VB6 learners edition on the Win8 machine, but have not installed SP6.
The program stops at the first database reference: adoContact.Refresh with the error:
ODBC Driver Manager Data Source Name not found and no default driver specified.
I am not sure where to look for the problem. I don't know if it can't find the actual database file, or if there is something missing in the SQL connectivity. The files are old Clipper dBase files (.dbf). System has been running fine on Win98 and winXP machines, but now needs to run on the Win8 machine. The code is using a "Connection String" to connect.
Connection String is:
Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="DSN=dBASE Files;DBQ=c:\USERS\USER1\CLIENTDATA;DefaultDir=c:\USERS\USER1\CLIENTDATA;DriverId=533;MaxBufferSize= 512;PageTimeout=5;"
I don't know where to begin to resolve this?
The program stops at the first database reference: adoContact.Refresh with the error:
ODBC Driver Manager Data Source Name not found and no default driver specified.
I am not sure where to look for the problem. I don't know if it can't find the actual database file, or if there is something missing in the SQL connectivity. The files are old Clipper dBase files (.dbf). System has been running fine on Win98 and winXP machines, but now needs to run on the Win8 machine. The code is using a "Connection String" to connect.
Connection String is:
Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="DSN=dBASE Files;DBQ=c:\USERS\USER1\CLIENTDATA;DefaultDir=c:\USERS\USER1\CLIENTDATA;DriverId=533;MaxBufferSize= 512;PageTimeout=5;"
I don't know where to begin to resolve this?