Visual Basic Development Bookmark and Share   
 Home > Visual Basic IDE > How can i rename a form of Visual Studio, cz I'm a beginner for VS
 

How can i rename a form of Visual Studio, cz I'm a beginner for VS

i just wanna get to know the basic steps in oder to create a VB Programe ,, so please help me out. without this i'll go nowhere..
pubudulakmal  Friday, November 13, 2009 7:26 AM
first, please change the thread type to Question (this is not a discussion).


To change a Form name, in the upper right of your IDE is a panel named Solution Explorer

Right click your Form name - the default given to the first Form is Form1 - it should be Form1.vb

Click on Rename in the ContextMenu. Type in your new form name.

Note, however, you must keep the .vb after the form's name.






jwavila  Friday, November 13, 2009 7:44 AM
Note also that if the IDE asks if you want to update all references to the form, tell it yes. Otherwise the project will probably not use the form properly.

In particular, if it's the start up form, the project may still try to open it with its old name. To fix that, open the Project menu and select Properties at the bottom. On the Application tab, select the form's new name from the "Startup object" dropdown.

Rod
Rod Stephens  Saturday, November 14, 2009 4:48 PM

You can use google to search for other answers

Custom Search

More Threads

• Regions bug
• Accessor Generation Bug - Unit Test Related
• clr20r3 - system.invalidOperationException after upgrading to Vis Studio 2008
• An interesting bug
• F.Y.I.: anomalous behaviours in the Code Snippet Editor for Visual Basic 2008
• resource generation
• Visual Basic Express 2008 displaying "Save as" Dialog when saving a file in the IDE
• Invalid database Version error dialog for .sdf file in server explorer in Vstudio
• .application File cannot be found
• Open Form View Designer. File Download Security Warnign Message