Downloading and Installing Visual Studio

From Techotopia
Revision as of 17:34, 13 July 2007 by Neil (Talk | contribs) (Starting Visual Studio for the First Time)

Jump to: navigation, search

Everything you need to build Visual Basic applications is included with Microsoft Visual Studio. At the time of publication of this book the latest release of Visual Studio is Visual Studio 2005. The first step in learning Visual Basic is, therefore, to obtain a copy of Visual Studio.


Contents


Getting Visual Studio

There are a number of obtions in terms of getting a copy of Visual Studio. If you work for a company which has Visual Studio licenses available then the first step is to talk to your IT department to see if they can provide you with a license, or purchase one for you.

If you do not have access to a purchase Visual Studio license, or lack the funds to buy a copy the best option, and actually the ideal option for those learning Visual Basic, is to download a trial version from Microsoft's web site. This will give you a 90 day trial period to use all the features of Visual Studio. Given that this book will teach you everything you need to know to program in Visual Basic the 90 day trial period will give you plenty of time to learn Visual Basic with time to spare to decide if you want purchase a fully licensed copy of Visual Studio.

In this chapter of Visual Basic Essentials we will assume that you are downloading and installing the trail version of Visual Studio.

Downloading a Visual Studio Trial

To work through the examples in this book, Visual Studio Professional Edition is recommended.

Trial copies of Microsoft Visual Studio Professional Edition are available from the trials page of the Microsoft web site. From this page, you can choose to download a trial, or order a trial DVD.

The download is approximately 2.7Gb in size so will take quite a while to download. Also, the download is an ISO image of the Visual Studio installation DVD so a DVD burner will be needed to write the image to a disk before it can be used for installation.

If you do not have a high speed internet connection or a DVD writer, Microsoft will ship you a free DVD (although they will charge you a small fee to cover the shipping costs).

Once you have either download and burned a DVD, or received the copy shipped to you by Microsoft the next step is to install Visual Studio.


Installing Visual Studio

To install Visual Studio, place the DVD in the DVD drive of your system. If your system is configured to autorun when a CD or DVD is insterted into the drive, then the installation screen should appear. If it does not appear, open Windows Explorer, navigate to the \vs folder on the DVD and double click on the setup icon.

When the installer has started the following window should appear:

Visual studio install.jpg

Click on the Install Visual Studio link to begin the installation process. Visual Studio supports a number of different programming languages in addition to Visual Basic (such as C#, J# and C++). If you only plan to use Visual Basic then choose the custom installation option and uncheck the boxes for the other languages. This will speed up the installation process and reduce the amount of space required to install Visual Studio. If you need to work with the other progamming languages at a later date you can insert the installation DVD. The installer will then start in Maintenance Mode and allow you to add and remove support for other languages.

Starting Visual Studio for the First Time

Once the Visual Studio installation is complete you are ready to start it up. Find Visual Studio in the Windows Start menu and select it. The first time Visual Studio is run it will ask you which programming language you would like to use as the default:

Visual studio choose default.jpg

Select Visual Basic from the list and click on the Start Visual Studio button. The main Visual Studio window should appear and you are now ready to start learning Visual Basic.