You are here:Home » Visual Studio 2010 » Getting started with Visual Studio 2010: Opening a Visual Basic project

Getting started with Visual Studio 2010: Opening a Visual Basic project

I recommend you to read how to download and install Visual Studio before you continue with the following tutorial.


Starting Visual Studio 2010

1. On the Windows taskbar, click Start, click All Programs, and then click the Microsoft Visual Studio 2010 folder. The folders and icons in the Microsoft Visual Studio 2010 folder appear in a list.


2. Click the Microsoft Visual Studio 2010 icon. If this is the first time you are starting Visual Studio, the program will take a few moments to configure the environment. If you are prompted to identify your programming preferences at this time, select Visual Basic development settings.


When Visual Studio starts, you see the development environment on the screen with its many menus, tools, and component windows, as shown here. (These windows are sometimes called tool windows.) You also should see a Start Page containing a set of tabs with links, guidance and learning resources, news, and project options. The Start Page is a comprehensive source of information about your project, as well as resources  within the Visual Basic development community. This is one avenue for receiving new information about Visual Studio after you purchase the software.


Open a Visual Basic project

1. On the Start Page, click the Open Project link.
The Open Project dialog box shown in the following screen shot opens on the screen. (You can also display this dialog box by clicking the Open Project command on the File menu or by pressing CTRL+O.) Even if you haven’t used Visual Studio before, the Open Project dialog box will seem straightforward because it resembles the familiar Open dialog box in Microsoft Office Word or Microsoft Office Excel.



2. Browse to the project’s main folder and go through the sub folders where the solution file(with .sln extension) is existed.


3. For example, consider the project’s main folder as ‘Chap01’ and ‘Musictrivia’ as sub folder. Open the Chap01\Musictrivia folder, and then double-click the MusicTrivia solution file. (If your system shows file name extensions, this file will end with .sln.) Visual Studio loads the MusicTrivia form, properties, and program code for the MusicTrivia solution. The Start Page may still be visible in the center of the screen. In the upper-right corner of the screen, Solution Explorer lists some of the files in the solution.


Visual Studio provides a special check box named Always Show Solution to control several options related to solutions within the IDE. The check box is located on the Projects and Solutions/General tab of the Options dialog box, which you open by clicking the Options command on the Tools menu. If the check box is selected, a subfolder is created for each new solution, placing the project and its files in a separate folder beneath the solution. Also, if
you select the Always Show Solution check box, a few options related to solutions appear in the IDE, such as commands on the File menu and a solution entry in Solution Explorer. If you like the idea of creating separate folders for solutions and seeing solution-related commands and settings, select this check box. You’ll learn more about these options in further tutorials.


Post a Comment

We're happy to read your thoughts and we'd try our level best to clear your queries if asked. Let's discuss it in a better way. Please don't spam and spoil the conversation :) Thank you!!