I already added the the COM Component: Microsoft ADO ext. 2.8 for DLL and Security
Dim jro1 As JRO.JetEngine
jro1 = New JRO.JetEngine
jro1.CompactDatabase("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\testDB.mdb;Jet OLEDB:Database Password=test", _
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Backup\testDB.mdb;Jet OLEDB:Engine Type=4;Jet OLEDB:Database Password=test")
Error:
Retrieving the COM class factory for component with CLSID {DE88C160-FF2C-11D1-BB6F-00C04FAE22DA} failed due to the following error: 8007007e.
This error code corresponds to "The specified module could not be found". You can use regedit to find this CLSID and check to see if the file path it lists is actually valid (you'll want to look under something like My Computer\HKCR\CLSID\{DE88C160-FF2C-11D1-BB6F-00C04FAE22DA}\InProcServer32). The default value under that key should specify a path to the JRO.JetEngine's COM DLL...double check to ensure that this file does, in fact, exist.
No comments:
Post a Comment