How to Use MS Visual Studio

Visual Studio is Microsoft development management software. You can program desktop or website software using the Visual Studio interface. Visual Studio allows you to work with VB.NET, C#, J# and C++ programming languages. Some basic understanding of the Visual Studio layout and how you use it will help you get started with your first project. Visual Studio has several versions, and each version works similarly for basic development.

Instructions

    • 1

      Click the Windows "Start" button and click "All Programs." Click "Microsoft .NET" and choose "Visual Studio" from the list of options. This opens your console.

    • 2

      Click the "File" menu item and click "New." Select "Project." This opens the "New Project" dialog window. Type a name for your project and choose a language from the drop-down box. The language you choose determines the template shown for each form you create. Click "Create" to open the console to the main Visual Studio layout.

    • 3

      Right-click the project name in the "Solution Explorer" window. Click "New" and then "Form" from the menu. This creates a new project form. The Solution Explorer shows all the forms you create for your project. For instance, if you create a new desktop form for your users to set preferences in the application, it is shown in the Solution Explorer.

    • 4

      Click the new form. Notice underneath Solution Explorer the window labeled "Properties." This lists all the properties for the selected element. If you click a button or a label on your form, the properties for that element are shown. You edit your element properties by typing values into the values text boxes.

    • 5

      Drag and drop a control from your toolbox to the form. The toolbox is the main pane that has all your controls. You should recognize many of the controls, because they are common components on Windows forms. Notice the toolbox contains a button, text box, label, radio box, drop-down box and other controls.You don't need to create these controls. Drag and drop the control to the form and Visual Studio automatically draws it on your form for you.

    • 6

      Right-click the control on the form and select "View Code." This switches you to a code view. This is where you enter the code for your form's control. This is the area of Visual Studio where you program the way the control interacts with your users.

    • 7

      Click the "Run" button at the top menu in Visual Studio. The button compiles your application and runs it in the debugger. You can follow the code and troubleshoot any bugs in the application. It also lets you test the software, which is essential when developing an application.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured