我正在调试一个旧的VB6项目。安装了与VB6项目相关的所有必需文件。打开.vbp
文件时收到错误Errors during load. Refer to 'file.log' for details
。 (50-60错误)。
打开日志文件。每个文件都包含类似的行,表示缺少特定的东西。
像:Line 41: Class TrueDBGrid70.TDBDropDown of control tddItem was not a loaded control class.
Line 281: Class TrueDBGrid70.TDBGrid of control tdbRev was not a loaded control class.
Line 83: Class MSMask.MaskEdBox of control MEdDate was not a loaded control class.
Line 98: Class MSMask.MaskEdBox of control MEdDate was not a loaded control class.
Line 86: Class MSHierarchicalFlexGridLib.MSHFlexGrid of control fg1 was not a loaded control class.
Line 37: Class Crystal.CrystalReport of control CryRep was not a loaded control class.
Line 185: Class MSMask.MaskEdBox of control medDate was not a loaded control class.
Line 200: Class MSMask.MaskEdBox of control medDate was not a loaded control class.
......还有更多。它们都来自不同的文件。
请帮我。
[编辑]
这是我的项目参考。已经使用regsvr32注册了所有.ocx文件。这是我的Word格式的.vbp文件
Type=Exe<br>
Reference=*\G{6B263850-900B-11D0-9484-00A0C91110ED}#1.0#0#C:\Windows\SysWow64\MSSTDFMT.DLL#Microsoft Data Formatting Object Library<br>
Reference=*\G{00000205-0000-0010-8000-00AA006D2EA4}#2.5#0#C:\Program Files (x86)\Common Files\System\ado\msado25.tlb#Microsoft ActiveX Data Objects 2.0 Library<br>
Reference=*\G{642AC760-AAB4-11D0-8494-00A0C90DC8A9}#1.0#0#C:\Windows\SysWow64\MSDBRPTR.DLL#Microsoft Data Report Designer v6.0<br>
Reference=*\G{56BF9020-7A2F-11D0-9482-00A0C91110ED}#1.0#0#C:\Windows\SysWow64\MSBIND.DLL#Microsoft Data Binding Collection<br>
Reference=*\G{7C0FFAB0-CD84-11D0-949A-00A0C91110ED}#1.0#0#C:\Windows\SysWOW64\msdatsrc.tlb#Microsoft Data Source Interfaces<br>
Reference=*\G{0D6236A9-DBA2-11D1-B5DF-0060976089D0}#7.0#0#C:\WINDOWS\system32\xadb7.ocx#ComponentOne XArrayDB Object<br>
Object={C4847593-972C-11D0-9567-00A0C9273C2A}#8.0#0; crviewer.dll<br>
Reference=*\G{B4741C00-45A6-11D1-ABEC-00A0C9274B91}#8.0#0#C:\Program Files (x86)\Seagate Software\Report Designer Component\craxdrt.dll#Crystal Report 8 ActiveX Designer Run Time Library<br>
Reference=*\G{00025E01-0000-0000-C000-000000000046}#5.0#0#C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\dao360.dll#Microsoft DAO 3.6 Object Library<br>
Object={BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0; TABCTL32.OCX<br>
Object={00025600-0000-0000-C000-000000000046}#5.2#0; Crystl32.OCX<br>
Object={C932BA88-4374-101B-A56C-00AA003668DC}#1.1#0; MSMASK32.OCX<br>
Object={6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0; COMCTL32.OCX<br>
Object={5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0; MSFLXGRD.OCX<br>
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; COMDLG32.OCX<br>
Object={FAEEE763-117E-101B-8933-08002B2F4F5A}#1.1#0; DBLIST32.OCX<br>
Object={86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCT2.OCX<br>
Object={38911DA0-E448-11D0-84A3-00DD01104159}#1.1#0; COMCT332.OCX<br>
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; Mscomctl.ocx<br>
Object={67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0; MSADODC.OCX<br>
Object={0ECD9B60-23AA-11D0-B351-00A0C9055D8E}#6.0#0; MSHFLXGD.OCX<br>
Object={DDB3837E-3072-11D2-A78A-B6B2DABE5A01}#4.0#0; NextPrior.ocx<br>
Object={3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0; RICHTX32.OCX<br>
Object={E8F9395B-9C17-11D3-9D4E-0000E84AF276}#1.0#0; NewAddEdit.ocx<br>
Class=clsInvGrp; clsInvGrp.cls
Class=ClsColnLev3; ClsColnLev3.cls
Class=ClsColnLev2; ClsColnLev2.cls
Class=ClsColnLev1; ClsColnLev1.cls
Class=clsInvGrpTot; clsInvGrpTot.cls
Class=clsInvQty; clsInvQty.cls
Class=ClsInvQtySub; ClsInvQtySub.cls
Class=clsSODispLat; clsSODispLat.cls
Module=modValidate; modValidate.bas
Module=modItem; modItem.bas
Module=modStock; modStock.bas
Module=modScreen; modScreen.bas
Module=modUtl; modUtl.bas
Module=modImport; modImport.bas
Module=modGrid; modGrid.bas
Module=modGeneral; modGeneral.bas
Module=modDatabase; modDatabase.bas
Module=modAccounts; modAccounts.bas
Module=modCombo; modCombo.bas
Form=frmAcBroker.frm
Form=frmAcBRS.frm
Form=frmBakup.frm
Form=frmCompMast.frm
Form=frmCityState.frm
Form=frmAcLedger.frm
Form=frmAcGrpSub.frm
Form=frmAcFind.frm
Form=frmAcPopOB.frm
Form=frmAcVchHead.frm
Form=frmAgent.frm
Form=frmBOMEntry.frm
Form=frmContacts.frm
Form=frmContCategory.frm
Form=frmConversion.frm
Form=frmCryAcBal.frm
Form=frmCryAcOust.frm
Form=frmCryGRN.frm
Form=frmCryCust.frm
Form=frmCryBOM.frm
Form=frmCryAcVchRg.frm
Form=frmCryInvoice.frm
Form=frmCryAcLgr.frm
Form=frmCryImtex.frm
Form=frmCryInvDet.frm
Form=frmCryISO43.frm
Form=frmCryISOF06.frm
Form=frmCryRcpt.frm
Form=frmCryPO.frm
Form=frmCryOrdReg.frm
Form=frmCrySales.frm
Form=frmCryRep.frm
Form=frmCryRcptF.frm
Form=frmCryProdPlan.frm
Form=frmCryPrdPln.frm
Form=frmCryPrdLbl.frm
Form=frmCryPLA.frm
Form=frmCryItemSupp.frm
Form=frmCryOC.frm
Form=frmCryItemDisc.frm
Form=frmCryItem.frm
Form=frmCryIssue.frm
Form=frmCryIssFin.frm
Form=frmCrySalItemCity.frm
Form=frmCrySalesReg.frm
Form=frmCryRG1.frm
Form=frmInvPrfm.frm
Form=frmGroupList.frm
Form=frmInvDetPW.frm
Form=frmInvBfCf.frm
Form=frmFYearNew.frm
Form=frmCryTel.frm
Form=frmCryStockVal.frm
Form=frmDate.frm
Form=frmFYear.frm
Form=frmInvDispDet.frm
Form=frmISONonConf.frm
Form=frmItemGrp.frm
Form=frmItemDrwg.frm
Form=frmItemMastAdd.frm
Form=frmItemMastC.frm
Form=frmItemMastF.frm
Form=frmItemMastO.frm
Form=frmMktgTrash.frm
Form=frmMktgElecrama.frm
Form=frmMktgSearch.frm
Form=frmMktgQryAddress.frm
Form=frmMktgCategory.frm
Form=frmMktgActionPlan.frm
Form=frmItemMastS.frm
Form=frmItemMastR.frm
Form=frmLogin.frm
Form=frmOptions.frm
Form=frmMktgVisit.frm
Form=frmProgress.frm
Form=frmPrdPlnA.frm
Form=frmOrdPartyDet.frm
Form=frmOrdItmDet.frm
Form=frmOrdAmend.frm
Form=frmOrderRegn.frm
Form=frmOrdMisc.frm
Form=frmOrdRev.frm
Form=frmParty.frm
Form=frmPartyCatalogue.frm
Form=frmPLA.frm
Form=frmPrdPln.frm
Form=frmPrdPlnVnd.frm
Form=frmProc.frm
Form=frmSearchParty.frm
Form=frmSalesFC.frm
Form=frmQryTransRC.frm
Form=frmQryPartyPnd.frm
Form=frmQryFlow.frm
Form=frmPurSch.frm
Form=frmQryTrans.frm
Form=frmRcptFinish.frm
Form=frmSearchItem.frm
Form=frmSearchTrans.frm
Form=frmQryStockRC.frm
Form=frmQryPopup.frm
Form=frmQryPartyAddress.frm
Form=frmQryLatch.frm
Form=frmQryDateSpan.frm
Form=frmQryDsp.frm
Form=frmPurBill.frm
Form=frmProdInsp.frm
Form=frmPurchase.frm
Form=frmStockAdj.frm
Form=frmTransport.frm
Form=frmTptSearch.frm
Form=frmTipDel.frm
Form=frmUtlStockCVer.frm
Form=MDIMain.frm
Form=Splash.frm
Form=frmUtlStockVer.frm
Form=frmISOCustComplnt.frm
Form=frmRcpt.frm
Form=frmCryStk.frm
Form=frmRejn.frm
Form=frmModuleLock.frm
Form=frmLogin1.frm
Module=modGlobalVar; modGlobalVar.bas
Class=clsInv; clsInv.cls
Class=clsInvColn; clsInvColn.cls
Class=clsItemLev1; clsItemLev1.cls
Form=frmQrySel.frm
Form=frmAcPopAlloc.frm
Form=frmQryAddrs.frm
Form=frmPartyDet.frm
Form=frmPartyItem.frm
Form=frmInvPnd.frm
Form=frmInvoice.frm
Designer=rptDelay.Dsr
Designer=rptStock.Dsr
Designer=rptPndSmPw.Dsr
Designer=rptMtRm.Dsr
Class=clsInvOcItm; clsInvOcItm.cls
Form=frmInvAlloc.frm
Form=frmSalesForm.frm
Form=frmThingsToDo.frm
Form=frmDocument.frm
Form=frmDocNew.frm
Form=frmCryPrdLblAdd.frm
Form=frmIssueFin.frm
Form=frmIssue.frm
Form=frmAcVchAlloc.frm
Form=frmAcCryVch.frm
Form=frmCaln.frm
Form=frmAcCrySel.frm
Form=frmMktg.frm
Form=frmMktgRep.frm
Form=frmPartyMaster.frm
Form=frmCreateIssFin.frm
Class=clsCollection; clsCollection.cls
Class=clsCollnItem; clsCollnItem.cls
Form=frmReport.frm
Form=frmCryStkNew.frm
Form=frmQryStockNew.frm
Class=clsSimpleReport; clsSimpleReport.cls
Form=frmStockAdjNew.frm
Form=frmcrystoresinmward.frm
Form=frmItemheadAdj.frm<br>
Startup="MDIMain"<br>
HelpFile=""<br>
ExeName32="MATHURA-01Aug2009.exe"<br>
Command32=""<br>
Name="Mathura"<br>
HelpContextID="0"<br>
Description="Mathura Automation Systems"<br>
CompatibleMode="0"<br>
MajorVer=1<br>
MinorVer=0<br>
RevisionVer=0<br>
AutoIncrementVer=0<br>
ServerSupportFiles=0<br>
VersionCompanyName="MSG"<br>
CompilationType=0<br>
OptimizationType=0<br>
FavorPentiumPro(tm)=0<br>
CodeViewDebugInfo=0<br>
NoAliasing=0<br>
BoundsCheck=0<br>
OverflowCheck=0<br>
FlPointCheck=0<br>
FDIVCheck=0<br>
UnroundedFP=0<br>
StartMode=0<br>
Unattended=0<br>
Retained=0<br>
ThreadPerObject=0<br>
MaxNumberOfThreads=1
<br>
[MS Transaction Server]<br>
AutoRefresh=1<br>