Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form opens as a Module?????

Status
Not open for further replies.

Dodge

IS-IT--Management
Jun 14, 2001
25
0
0
US
Ok, Last night saved the program I was working on and all was well. This morning, when I opened the project VB told me I had an error in my main.frm, the log stated:

" '0' could not be loaded
Line 0: The file E:\Secure\XMC3.0\main.frm could not be loaded."

When I try to open the form by it's self it opens as a module, showing all of the forms properites, like this:

Type=Exe
Reference=*\G{00025E01-0000-0000-C000-000000000046}#5.0#0#C:\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll#Microsoft DAO 3.6 Object Library
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; Mscomctl.ocx
Object={38911DA0-E448-11D0-84A3-00DD01104159}#1.1#0; comct332.ocx
Object={FEEA4B2C-17F9-4CA2-8ABF-7EB0052AA307}#1.0#0; ccMenuBar.ocx
Object={28FDFE2B-68C4-11D4-92BF-8364E6807441}#8.5#0; SCGrid.ocx
Object={BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0; tabctl32.ocx
Form = main.frm
Module=Database_Functions; Database_Functions.bas
Module=Globals; Globals.bas
Form = Form1.frm
IconForm = "main"
Startup = "main"
ExeName32 = "xmc30.exe"
Command32 = ""
Name = "XMC30"
HelpContextID = "0"
CompatibleMode = "0"
MajorVer = 1
MinorVer = 0
RevisionVer = 0
AutoIncrementVer = 0
ServerSupportFiles = 0
CompilationType = 0
OptimizationType = 0
FavorPentiumPro(tm) = 0
CodeViewDebugInfo = 0

Thats not all of it ovioulsy. So how do I get it acting like a form again and how in the HECK did I manage to do this???

Thanks.

 
I tried to simulate the same at my place but didn't get the above mentioned error. Can u pass on ur project so dat I can look at it in detail. Check if u saved ur main form in the same project directory or not.
_
Chan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top