"Object library not registered" error.



Hello. I am receiving the error in the subject line at compilation on the
following declaration within a form file:

Dim rsBanks as ADODB.Recordset.

I have a reference in the project to the Microsoft ActiveX Data Objects 2.7
Library. Meanwhile, an earlier-created executable from this project
continues to run properly using this library. There have been no updates to
MDAC.

Frustrated, I created a brand new project identical to the one that is
failing with the "Object library not registered" error, and it too, had the
same error. I can however, create a brand new project, add a reference to
the library, create an ADODB.Recordset object successfully. Moreover, I can
add the very same form file that receives the error to a new project, and
there will be no error.

For what it's worth, I also receive a "Method '~' of object '~' failed"
error upon loading the project. I know this may not be enough information,
but if you can point me to what information you might need to help me resolve
this, I will love you forever and ever, amen. I will also copy and paste the
..vbp file after I sign my name.

Thanks!
John

Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\WINNT\system32\stdole2.tlb#Standard OLE Types
Object={6ADEA5C6-D7A2-11D3-AA59-00105A6F87AB}#1.0#0; dXDBInsp.dll
Object={6A24B331-7634-11D3-A5B0-0050044A7E1A}#1.7#0; DXDBGrid.dll
Object={BDDD132C-614B-11D3-B85E-85ADB7D07209}#1.0#0; dXSBar.dll
Object={7C801DC0-ECC8-11D2-9C5C-00500411B995}#1.2#0; dXTList.dll
Object={15B168B0-AD3C-11D1-A8D8-00A0C9200E61}#1.0#0; r2axctrl.ocx
Object={5664FAD6-05FD-11D4-AABA-00105A6F87AB}#1.0#0; dXEditrs.dll
Reference=*\G{2F6AAE3C-937F-11D2-8165-00105AA30B21}#1.0#0#..\..\WINNT\system32\PageSet.dll#PageSet
Reference=*\G{1DF3AFED-47E0-4474-9900-954B8FD24E86}#1.0#0#..\..\WINNT\system32\ChilkatMail.dll#Chilkat Mail 5.1.4
Reference=*\G{246241C8-3F53-42D3-AF90-9FF544117B99}#1.0#0#..\..\WINNT\system32\ChilkatUtil.dll#Chilkat Util 2.5.0
Reference=*\G{0B5158B1-B8FF-11D3-804D-0050044A7DB1}#1.0#0#..\..\Program
Files\Developer Express Inc\XpressPrinting System\dXPSystm.dll#XpressPrinting
System 1.5 by Developer Express
Reference=*\G{EF53050B-882E-4776-B643-EDA472E8E3F2}#2.7#0#..\..\WINNT\system32\msado27.tlb#Microsoft ActiveX Data Objects 2.7 Library
Object={EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.1#0; shdocvw.dll
Reference=*\G{00020905-0000-0000-C000-000000000046}#8.1#0#..\..\Program
Files\Microsoft Office\Office\MSWORD9.OLB#Microsoft Word 9.0 Object Library
Reference=*\G{78E93843-85FD-11D0-8487-00A0C90DC8A9}#1.0#0#..\..\WINNT\system32\MSDBRPT.DLL#Microsoft Data Report Designer 6.0 (SP4)
Reference=*\G{C932BA88-4374-101B-A56C-00AA003668DC}#1.1#0#..\..\WINNT\system32\MSMASK32.OCX#Microsoft Masked Edit Control 6.0 (SP3)
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; COMDLG32.OCX
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCTL.OCX
Object={67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0; MSADODC.OCX
Object={5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0; MSFLXGRD.OCX
Object={86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCT2.OCX
Object={E8671A8B-E5DD-11CD-836C-0000C0C14E92}#1.0#0; SSCALA32.OCX
Object={8451543E-523D-11D4-8510-0050044A7E0F}#5.0#0; XpressPSListBox.ocx
Object={BC290B2B-519B-11D4-850E-0050044A7E0F}#1.0#0; XpressPSDataGrid.ocx
Object={20C62CAE-15DA-101B-B9A8-444553540000}#1.1#0; MSMAPI32.OCX
Object={F1B9C0C0-2D16-11D4-99DD-AAD8C1F45126}#1.0#0; Vp3260.ocx
Reference=*\G{6B263850-900B-11D0-9484-00A0C91110ED}#1.0#0#..\..\WINNT\system32\MSSTDFMT.DLL#Microsoft Data Formatting Object Library 6.0 (SP6)
Reference=*\G{56BF9020-7A2F-11D0-9482-00A0C91110ED}#1.0#0#..\..\WINNT\system32\MSBIND.DLL#Microsoft Data Binding Collection VB 6.0 (SP4)
Form=frmBankLookup.frm
Form=frmAcctMonitoring.frm
Form=frmSellers.frm
Form=frmFileCheckout.frm
Form=frmBillingEntry.frm
Form=frmCMAccountNew.frm
Form=frmInvestorLinks.frm
Form=frmEditCustomer.frm
Form=frmGroupList.frm
Form=frmCustomers.frm
Form=frmEMailRecCustomers.frm
Form=frmPayees.frm
Form=frmIntro.frm
Form=frmEMailRecBorr.frm
Form=frmLogin.frm
Form=frmNewGroupLink.frm
Form=frmCoupons.frm
Form=frmLegals.frm
Designer=DisburseHistory.Dsr
Class=ReportColumn; ReportColumn.cls
Class=ReportColumns; ReportColumns.cls
Designer=drCoverLetter.Dsr
Form=frmCustAcctCheck.frm
Form=frmChangeDatabase.frm
Form=frmNSFTracking.frm
Form=frmImpUpdate.frm
Form=frmTicklers.frm
Form=frmEMailRecSell.frm
Form=frmCouponHistory.frm
Form=frmRecHistory.frm
Form=frmPrintCMHistory.frm
Form=frmNSFNewRecord.frm
Form=frmRejectHistory.frm
Form=frmBillE.frm
Form=frmWizNewImpInv.frm
Form=frmBillB.frm
Form=frmBillC.frm
Form=frmBillD.frm
Form=frmBillingEditHdr.frm
Form=frmSpecTransDetail.frm
Form=frmCMTransactions.frm
Form=frmNSFLetters.frm
Module=modPrintScreen; modPrintScreen.bas
Form=frmVariablePmtAmt.frm
Form=frmCMAccount.frm
Form=frmBillA.frm
Form=frmWizNewImpDet.frm
Module=modImpounds; modImpounds.bas
Form=frmDevSearch.frm
Form=frmAssets.frm
Form=frmNewCustomer.frm
Class=clsPayment; clsPayment.cls
Object=Excel.***.8; EXCEL.EXE
Form=frmEMailReceipts.frm
Form=frmLateNoteHistoryJOHN.frm
Form=frmDevLookup.frm
Form=frmACHAuthorization.frm
Form=frmColors.frm
Form=AFillerForm.frm
Form=frmAbout.frm
Form=frmAcctQuickSearch.frm
Form=frmAcctSetupCheckList.frm
Form=frmAuditTrail.frm
Form=frmChooseEmailAddress.frm
Form=frmDisbHistory.frm
Form=frmHELOCPmntHistory.frm
Form=frmHistorySearch.frm
Form=frmImpoundProjections.frm
Form=frmNewDemand.frm
Form=frmPaymentDetail.frm
Form=frmPrintCoverPage.frm
Form=frmPrintImpounds.frm
Form=frmProcessImpounds.frm
Form=frmRejectPayment.frm
Form=ImpoundPayment\frmViewCMTicklers.frm
Form=frmVT.frm
Form=dlgNewAcctNo.frm
Form=dlgNewImpound.frm
Form=dlgRenumberAccount.frm
Form=frmAamsiCC.frm
Form=frmAamsiDemands.frm
Form=dlgUserProfile.frm
Form=frmPrintDisburseHistoryDevEx.frm
Form=frmPrintPaymentHistory.frm
Module=modCommon; modCommon.bas
Form=frmAcctSearch.frm
Form=dlgDeleteAccount.frm
Reference=*\G{3D5C6BF0-69A3-11D0-B393-00A0C9055D8E}#1.0#0#..\..\Program
Files\Common Files\designer\MSDERUN.DLL#Microsoft Data Environment Instance
1.0 (SP4)
Designer=deReportsSQL.Dsr
Designer=deReport.Dsr
Designer=PaymentHistorySQL.Dsr
Designer=PaymentHistory.Dsr
Form=frmPrintAccountListing.frm
Form=MDIForm1.frm
Form=frmPaymentRecvd.frm
Form=frmPmntHistory.frm
Form=frmPayors.frm
Form=frmAccount1.frm
Form=frmBankLookupNEW.frm
IconForm="frmBankLookup"
Startup="MDIForm1"
HelpFile="Weststar_Loan_Servicing_System.chm"
Title="Account Maintenance"
ExeName32="WAM.exe"
Command32="HAGER|MWZ13XV|TST"
Name="AccountMaintenance"
HelpContextID="0"
CompatibleMode="0"
MajorVer=1
MinorVer=0
RevisionVer=44
AutoIncrementVer=1
ServerSupportFiles=0
VersionCompanyName="Weststar Escrow"
VersionLegalCopyright="Copyright 2001, Weststar Mortgage, Inc."
VersionProductName="Weststar Account Maintenance"
CompilationType=-1
OptimizationType=0
FavorPentiumPro(tm)=0
CodeViewDebugInfo=0
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=0
Unattended=0
Retained=0
ThreadPerObject=0
MaxNumberOfThreads=1
DebugStartupOption=0

[MS Transaction Server]
AutoRefresh=1

.