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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

darn run time error is back

Status
Not open for further replies.

biggvito

Technical User
Oct 22, 2001
14
GB
i need help please. my program keeps giving me run time error 50057 "form could not be loaded". i replaced form and it worked for a bit now its messing up again and i dont know why. when i debug it highlights a label first but after i remobe that it just refuses. help please
 
What form is it looking for? I think this error is caused when you import a form from another folder, project or something, then if you move the folder or delete the form from the location it was at, VB looks for it and then obviously can't load it if it doesn't exist or was moved. I see this mistake a lot.
-
radium.gif

Looking Toward The Future
 
Try deleting the corresponding .FRX file if there is one. You will lose the Icon and Background of the form. Try looking at the form with Notepad or Wordpad to see if there is anything unusual. Generate Forms/Controls Resizing/Tabbing Class
Compare Code (Text)
Generate Sort Class in VB or VBScript
 
You can also get that message if you are using a component on that form which has not been included in the Project References and/or Project Components.

Good Luck
------------
Select * from Users where Clue > 0
0 rows returned
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top