I've created a project that consists of a couple of forms and modules with subroutines. Somehow, the last time I turned off my laptop, the .frm file became corrupted. When I try to run it in vb, I get the message:
Compile error:
Expected: identifier
The first few lines of the file look like:
Type=exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\WINNT\system32\stdole2.tlb#OLE Automation
Reference=*\G{00025E01-0000-0000-C000-000000000046}#5.0#0#..\..\Common Files\Microsoft Shared\DAO\dao360.dll#Microsoft DAO 3.6 Object Library
Reference=*\G{162760D6-2351-11D5-A914-0080AD8D3952}#1.0#0#..\..\MZTools3VB6\MZTools3.dll#MZTools3
Form = JobLeads1.frm
Form = frmHistory.frm
IconForm = "frmLeads"
Startup = "frmLeads"
HelpFile = ""
It looks like a configuration file for the frm file, then it shows the code for the modules. Since I have the code for the modules, that isn't too much of a problem, but it'd be a pain to have to recode the form. Does anyone know if there there's a way to fix this without having to recreate the form from scratch?
PETERV
Syracuse, NY &
Boston, MA
Compile error:
Expected: identifier
The first few lines of the file look like:
Type=exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\WINNT\system32\stdole2.tlb#OLE Automation
Reference=*\G{00025E01-0000-0000-C000-000000000046}#5.0#0#..\..\Common Files\Microsoft Shared\DAO\dao360.dll#Microsoft DAO 3.6 Object Library
Reference=*\G{162760D6-2351-11D5-A914-0080AD8D3952}#1.0#0#..\..\MZTools3VB6\MZTools3.dll#MZTools3
Form = JobLeads1.frm
Form = frmHistory.frm
IconForm = "frmLeads"
Startup = "frmLeads"
HelpFile = ""
It looks like a configuration file for the frm file, then it shows the code for the modules. Since I have the code for the modules, that isn't too much of a problem, but it'd be a pain to have to recode the form. Does anyone know if there there's a way to fix this without having to recreate the form from scratch?
PETERV
Syracuse, NY &
Boston, MA