Same error message, new issue. When I create a new project and run a blank form1, everything works fine. When I do a Copy/Paste from an existing form into Form1 and try to run it, I get the same error message. I'm not adding any code with the exception of collection info for a drop-down box. The solution properties show form1 as the startup object. I can create a button on form1 to run a separate instance of the form I want to create, but that's not the object of the program.
I'm also getting the problem when I create all the controls manually. For whatever reason, it seems that Visual Studio doesn't like the way I've written my code? MSDN says that Main should be created automatically. I don't know if I'm missing another option or what.
Any help? It would greatly appreciated.
|