I've got a VBA application that throws an "ActiveX component can't create object" exception when trying to run.
The breakpoint is set on the line that throws the exception:
I'm assuming that it has something to do with Me.Recordset (Me being the Access form). The recordset is probably related to the Microsoft DAO Library, which is referenced. Here are the current references:
The application is running on a Windows 98 machine, and the Access .mdb allegedly ran fine before (noone remembers what other computer it was originally on or the configuration of it. The form itself just scrolls through records of data (which works fine), but when firing the above Calc_Confidence_Level() subroutine, it tosses an error on the recordset that I thought would be the same one that it was scrolling through.
Does anyone know what's going wrong here? Even a push in the right direct to be able to debug this better would be great, as I don't exactly work with VBA/Access very often.
Thanks!
Update 1
I looked in "C:\Program Files\Common Files\microsoft shared\DAO\" and don't see a .dll at all, only a .tlb file. There should be a .dll in there, right?
Me.Recordset
? Put the cursor onRecordset
(on the line having breakpoint), right click, goto definition to see how it is declared. - shahkalpesh