Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm using C# winForms...For some reason Application.Run() can't not find MainForm code! I'm not getting any build errors and Visual Studio is recognizing my MainForm code. I have no idea what's going on here. The exception is: FileNotFoundException
Posted
Comments
Alan N 9-Feb-13 10:33am    
OK, but which file is not found!
d.allen101 9-Feb-13 10:34am    
my form
Alan N 9-Feb-13 11:04am    
Is "my form" located in the startup assembly, or somewhere else. I was hoping that you would post the exception text.
d.allen101 9-Feb-13 11:10am    
Here's the expection - The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Alan N 9-Feb-13 12:00pm    
And the "specified module" is the assembly containing the entry point or a different one? If it's not the entry assembly is it present in the output directory.

1 solution

Donald,

It leads nowhere. You are just wasting time. And this discussion is not very useful, because we don't have your project, and even if we had…

Stop doing what you are doing and start working with Revision Control system. Next time, if you screw up something, you will always be able to retrace your steps.

Please see this discussion: Revision control systems, which to choose from?[^].

Some of my past answers:
Needs some words of wisedom to set up and/or use a server[^],
Make an unclickable form[^],
How can i structured to arrange source code when i create a new solution[^],
Reviews at Apache Subversion[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900