i have problem with compiling vb6 application not certin one but all even the one that i have compile before it just give me automation error with ok and help since i dont have the msdn library its not useful i have remove and install vb6 but still the same , can any one help me .

whene i try to work in runing mode the application go will but it give me this when i try to bulid it only it give me automation eroor without any number i have open the project.vba in c++ and copy it
down below .
Type=Exe
Form=frm_main.frm
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINDOWS\system32\stdole2.tlb#OLE Automation
Object={90F3D7B3-92E7-44BA-B444-6A8E2A3BC375}#1.0#0; actskin4.ocx
Form=frm_login.frm
Reference=*\G{00025E01-0000-0000-C000-000000000046}#4.0#0#C:\Program Files\Common Files\Microsoft Shared\DAO\DAO350.DLL#Microsoft DAO 3.51 Object Library
Reference=*\G{00000200-0000-0010-8000-00AA006D2EA4}#2.0#0#C:\Program Files\Common Files\system\ado\msado20.tlb#Microsoft ActiveX Data Objects 2.0 Library
Object={14C68610-D6C3-4F35-BBBF-CF69FA56A94E}#1.0#0; ClockSHatem.ocx
Form=frm_companies.frm
Module=phrmacy1; phrmacy1.bas
Form=frm_store.frm
Form=Frm_AddDoa.frm
Form=frm_list.frm
Form=frm_store_find.frm
Form=Frm_Clients.frm
Form=Frm_AddClient.frm
Form=Frm_Clients_Money.frm
Form=Frm_Add_Money.frm
Form=Frm_Cliens_Find.frm
Form=frm_daily.frm
Form=frm_SalePoint.frm
Reference=*\G{6B263850-900B-11D0-9484-00A0C91110ED}#1.0#0#C:\WINDOWS\system32\MSSTDFMT.DLL#Microsoft Data Formatting Object Library 6.0 (SP4)
Form=frm_list2.frm
Form=frm_saleend.frm
Form=Frm_Naf.frm
Form=Frm_dAVE.frm
Form=Frm_EndClient.frm
Form=frm_list3.frm
Form=frm_change.frm
Form=frm_list4.frm
Form=frm_reports.frm
Reference=*\G{3D5C6BF0-69A3-11D0-B393-00A0C9055D8E}#1.0#0#C:\Program Files\Common Files\designer\MSDERUN.DLL#Microsoft Data Environment Instance 1.0
Reference=*\G{642AC760-AAB4-11D0-8494-00A0C90DC8A9}#1.0#0#C:\WINDOWS\system32\MSDBRPTR.DLL#Microsoft Data Report Designer v6.0
Reference=*\G{56BF9020-7A2F-11D0-9482-00A0C91110ED}#1.0#0#C:\WINDOWS\system32\MSBIND.DLL#Microsoft Data Binding Collection
Form=frm_date1.frm
Form=frm_date2.frm
Form=Frm_List5.frm
Form=Frm_client_cash.frm
Form=frm_print.frm
Form=Frm_Accounts.frm
Form=Frm_NewAccount.frm
Form=frm_backup.frm
Form=frm_about.frm
Form=Frm_Help.frm
Object={EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.1#0; shdocvw.dll
Form=frmsetting.frm
Form=Frm_Mord.frm
Form=Frm_Addmord.frm
Form=Frm_Shapes.frm
Form=Frm_Addshape.frm
Form=Frm_List6.frm
Form=Frm_List7.frm
Form=Frm_Disactive.frm
Form=FrmProgress.frm
Form=Frm_Increment.frm
Module=barcode; barcode.bas
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; mscomctl.ocx
Module=modChangeRes; modChangeRes.bas
Form=frm_cash.frm
Form=Frm_tip.frm
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; comdlg32.ocx
Form=Frm_Active_Code.frm
Reference=*\G{8C344710-5FEC-11CF-A0BF-00AA0062BE57}#1.0#0#C:\Program Files\Common Files\designer\MSCDRUN.DLL#Microsoft Connection Designer Instance 1.0
Reference=*\G{EE008642-64A8-11CE-920F-08002B369A33}#2.0#0#C:\WINDOWS\system32\msrdo20.dll#Microsoft Remote Data Object 2.0
IconForm="frm_main"
Startup="frm_login"
HelpFile=""
Title="Pharmacy"
ExeName32="Pharmacy.exe"
Path32=".."
Command32=""
Name="Pharmacy_2007"
HelpContextID="0"
CompatibleMode="0"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
VersionComments="äÙÇã ÇáÕíÏáíøÉ"
VersionCompanyName="ÔÑßÉ ÇäæÇÑ áááÃäÙãÉ ÇáãÊßÇãáÉ - ÇáÓæÏÇä -0155128117"
VersionFileDescription="ÇáãÈÑãÌ : ÇáÓãæÃá ÔäÞÑÇí"
VersionLegalCopyright="ÔÑßÉ ÃäæÇÑ ááÃäØãÉ ÇáãÊßÇãáÉ - ÇáÓæÏÇä - ÇáÎÑØæã- 0155128117"
VersionLegalTrademarks="ÔÑßÉ ÃäæÇÑ ááÃäØãÉ ÇáãÊßÇãáÉ - ÇáÓæÏÇä - "
VersionProductName="äÙÇã ÇáÕíÏáíÉ ÇáÐåÈí"
CompilationType=0
OptimizationType=0
FavorPentiumPro(tm)=-1
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

please open a new project in vb and add all your forms and instances one by one and keep saving them in a new location......also add all components and references used in the project earlier.......it will show you the error if you don't do so.......try this and let me know

This article has been dead for over six months. Start a new discussion instead.