Compile error: Error in loading dll when using recordset of dao datacontroller

Mikael
12-14-2003, 10:28 PM
Hi,

Can anyone tell me why this error occurs when I use recordset object of dao data controller.
Like this:
MsgBox Data1.Recordset.RecordCount

hardrain
12-14-2003, 10:44 PM
Hi,

Can anyone tell me why this error occurs when I use recordset object of dao data controller.
Like this:
MsgBox Data1.Recordset.RecordCount

Whats the error number and description?

Mikael
12-15-2003, 12:23 AM
This error dont have error number. It only says: Compile error: Error in loading dll. This occurs when I try to use recordset object. Could it be dao datacontroller dll which is corrupted? I just dont know what dll this is.

bvmantos
12-15-2003, 12:51 AM
Maybe you need to shift to ADO my friend. its most recommended.

Mikael
12-15-2003, 01:08 AM
Yes I know that ADO would be much more better to handle. There is only so much work to switch on it now, when my project have about 20 forms where DAO is used.
It would be better if this error could be solved.
I tried to switch my mdac_typ2.5 to mdac_typ2.7 but even this didnt solve this error.

bvmantos
12-15-2003, 01:15 AM
Maybe you have to reinstall VB here. if DAO dll is corrupted then reinstallation would be best way.

Mikael
12-15-2003, 11:16 PM
Thank you for your answer. Reinstall of vb gived solution for this problem.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum