O'Reilly logo

Programming Visual Basic 2005 by Jesse Liberty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting Started

To get started, let's create a web application named WebNorthWind. Open Visual Studio 2005. Click on New Web Site and in the drop-down menus, choose FileSystem, filling in an appropriate file location. Make sure the language is set to Visual Basic, as shown in Figure 8-2.

Visual Studio 2005 will create a filesystem-based web site (you will not find the web site listed under IIS Management) and will create a file, Default.aspx, that represents the first ASP.NET form. The editor will open, and the web Toolbox will be visible (if

Creating a new web site

Figure 8-2. Creating a new web site

not, you can make it visible through the View window). The toolbox, like all windows, can be "pinned" in place by clicking on the thumbtack.

Depending on how you've configured your system, you'll probably find yourself in the Source view, with a tabbed window allowing you to switch to WYSIWYG (What You See Is What You Get) Design view, as shown in Figure 8-3.

Web development editor

Figure 8-3. Web development editor

I've circled and numbered six areas of this screen:

  1. The Toolbox , which consists of multiple drop-down collections of controls you can add to your application (the standard collection is visible). You can right-click in any one of these collections to pick a menu choice that will sort them alphabetically, as has been done here. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required