swtiley
asked on
How do i display the windows form designer generated code
Hi,
I have just moved to Visual Studio 2005 (from VS 2003) and have "succesfully" opened an existing VB.NET project up. The forms display correctly (with all buttons, panels etc in the right place, but in the code I can not see the "Windows Form Designer Generated Code".
Has something gone wrong or is there a menu option, that I have not found, to display this region of code ?
This is very urgent, hence the 500 points.
Thanks
Steve
I have just moved to Visual Studio 2005 (from VS 2003) and have "succesfully" opened an existing VB.NET project up. The forms display correctly (with all buttons, panels etc in the right place, but in the code I can not see the "Windows Form Designer Generated Code".
Has something gone wrong or is there a menu option, that I have not found, to display this region of code ?
This is very urgent, hence the 500 points.
Thanks
Steve
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Fernando,
thank you so much for the quick reply, and you can have the points, as I have found the file from your directions.
As a follow up question, can you please tell me where I put my initialization code that was previously placed after the InitalizeComponent() ?
I believe in VS 2003. there was a comment line that said "Add any initialization afer the InitializeComponent() Call"
Cheers
Steve
thank you so much for the quick reply, and you can have the points, as I have found the file from your directions.
As a follow up question, can you please tell me where I put my initialization code that was previously placed after the InitalizeComponent() ?
I believe in VS 2003. there was a comment line that said "Add any initialization afer the InitializeComponent() Call"
Cheers
Steve
Hi swtiley,
I do not know foe sure but I think that was move to
My.Application.Startup event Look at this link for the information. tTodisplay this event handler goto Project on the main menu and select the project name Properties, last selection on the menu. Click on application on the left hand side and then click on View Applications Events button at the buttom of the page.
http://msdn2.microsoft.com/en-us/library/t4zch4d2.aspx
I hope that this helps.
Fernando
I do not know foe sure but I think that was move to
My.Application.Startup event Look at this link for the information. tTodisplay this event handler goto Project on the main menu and select the project name Properties, last selection on the menu. Click on application on the left hand side and then click on View Applications Events button at the buttom of the page.
http://msdn2.microsoft.com/en-us/library/t4zch4d2.aspx
I hope that this helps.
Fernando
ASKER
Thanks Fernando
No problem, have a great day.
At the top of this file the first couple of lines will look something like:
<Global.Microsoft.VisualBa
Partial Class Class1
Inherits System.Windows.Forms.Form
Fernando