Uncle Gizmo Posted March 13, 2004 Posted March 13, 2004 I am Working my way through Sams Teach yourself Visual studio.net 2003 I had the following error message crop up when I changed the forms name as instructed in the book. I can�t understand why I�m getting the error message, would anyone be able to throw some light on it? This is the gist of it. On page 68 Table 3.2 lists some properties you can change, I change the control �form1� name property to a new value of frmMain as instructed but on pressing F5 I got the following error: a message box titled �Microsoft Development Environment� with the message �There were build errors� continue Yes or No Any comment or observation received will be appreciated. Quote
Administrators PlausiblyDamp Posted March 13, 2004 Administrators Posted March 13, 2004 What are the build errors though? They should be listed in the tasks window. Also search your code for anywhere that says Form1 and change those entries to frmMain. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Uncle Gizmo Posted March 13, 2004 Author Posted March 13, 2004 Thanks for your responce. I found the prob, as this form is also the startup form , the error was caused because the startup routine couldn't find the form it was looking for because I had changed her name. so I changed the name in the startup form in the startup object box on the properties pages dialog box . I think the book should have mentioned the possibility of such a problem occurring when changing the startup form name but it didn't . Sorry to have troubled you . Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.