dylandog
02-08-2006, 10:15 AM
I have a very very strange problem. That's the scenary:
- A vb6 program with an mdb database version Access2000
- A datacontrol DAO 3.6 with Connect property set to Access2000
When program starts on IDE I have the error "Couldn't find installable isam"
If I compile the program and then run it on the same computer, the error doesn't appens :eek:
The same program opened by visual basic in another computer run correctely :huh:
In both computer I have Visual Basic sp5 and Windows2000 SO
If I use a previous version of database (Access 97 version) and DAO 3.51, the problem doesn't exist.
If I use this code:
Dim DataDb as Database
Dim DataRs as Recordset
Set DataDb = Workspaces(0).OpenDatabase(DbName)
Set DataRs = DataDb.OpenRecordset (TableName)
Set Data1.Recordset = DataRs
the problem doesn't exist.
If I use this code:
Data1.DatabaseName = DbName
Data1.Recordsource = TableName
Data1.Refresh
I got the problem. But ONLY with source code in IDE. With compiled program on same PC it's all ok :confused: :confused: :confused:
Please someone can help me??????
- A vb6 program with an mdb database version Access2000
- A datacontrol DAO 3.6 with Connect property set to Access2000
When program starts on IDE I have the error "Couldn't find installable isam"
If I compile the program and then run it on the same computer, the error doesn't appens :eek:
The same program opened by visual basic in another computer run correctely :huh:
In both computer I have Visual Basic sp5 and Windows2000 SO
If I use a previous version of database (Access 97 version) and DAO 3.51, the problem doesn't exist.
If I use this code:
Dim DataDb as Database
Dim DataRs as Recordset
Set DataDb = Workspaces(0).OpenDatabase(DbName)
Set DataRs = DataDb.OpenRecordset (TableName)
Set Data1.Recordset = DataRs
the problem doesn't exist.
If I use this code:
Data1.DatabaseName = DbName
Data1.Recordsource = TableName
Data1.Refresh
I got the problem. But ONLY with source code in IDE. With compiled program on same PC it's all ok :confused: :confused: :confused:
Please someone can help me??????