Changing name of main Form?

mistaken_myst

Active member
Joined
Oct 29, 2007
Messages
25
Programming Experience
Beginner
Hello, I need help to change the name of my main Form in my project.
When I change the name of the form (Form1) to anything else, when running it says, there were build errors:
'Sub Main' not found in 'MyProject1.Form1'.

I hav also tried it on a new project, its the same problem. :confused:
 
Open project properties and select the new Startup object.
 
No problem. Visual Studio 2005 is much better with stuff like this, if you rename a startup form there, it is also renamed in Startup form project setting.
 
Back
Top