Publishers of technology books, eBooks, and videos for creative people

Home > Store

Visual Basic .NET for Windows: Visual QuickStart Guide

Register your product to gain access to bonus material or receive a coupon.

Visual Basic .NET for Windows: Visual QuickStart Guide

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 2003
  • Edition: 1st
  • Book
  • ISBN-10: 0-321-18088-7
  • ISBN-13: 978-0-321-18088-9

Visual Basic .NET for Windows: Visual QuickStart Guide provides the key to unlocking the power of the .NET Framework. Using task-based instruction and plenty of visual aids, veteran author Harold Davis provides you with all the information you need to start creating componentized, reusable code and building Web services with VB .NET. Unlike other books available on the topic, which treat VB .NET more like the next version of Visual Basic, this book emphasizes the totally new object-oriented programming paradigm of .NET. It begins by introducing you to the Visual Studio development environment and demonstrating how to create a Web service, then moves on to working with classes and using Windows forms. As your knowledge grows, the tasks become more complex, and by the end of the book you¿ll have learned how to create controls that accept user input, write code that responds to events, work with XML, use the Object Browser, create ASP.NET Web applications, and more.

Downloads

Files


Source Code Files
Use the links below to download the source code for each chapter. A dialog will appear asking whether you want to Open or Save the file. Select Save, and choose a location for the source code (you might want to create a separate directory for the source code for each chapter).

Chapter 2 source code
Chapter 3 source code
Chapter 4 source code
Chapter 5 source code
Chapter 6 source code
Chapter 7 source code
Chapter 8 source code
Chapter 9 source code
Chapter 10 source code
Chapter 11 source code
Chapter 12 source code
Chapter 13 source code
Chapter 14 source code
Chapter 15 source code
Chapter 16 source code
Appendix C source code

Source code for entire book (all chapters) | 904K

Each chapter's source code files are contained in a Zip archive. Once you have saved the archive on your hard drive, you will need to use a utility such as WinZip to extract the source code so you can use it. If you do not already have it, you can download a copy of WinZip from http://www.winzip.com/.

Once you have extracted a source code archive, you will need to open it in Visual Basic .NET. To do this, follow the instructions in the task "To open an existing project" on page 5 in Chapter 1, "Introducing Visual Studio .NET." (You'll find a great deal of general information on the mechanics of working with Visual Basic .NET solutions and projects in Chapter 1.)

Tip

  • The project associated with Chapter 2, "Creating a Web Service," is an ASP.NET Web Service project, as is one of the projects in Chapter 6, "Consuming the Web Service." All of the projects associated with Chapter 16, "ASP.NET Web Applications," are ASP.NET Web Application projects. In order to run these projects, you'll need to have Internet Information Services (IIS) and the FrontPage Server Extensions installed on your development system. In addition, you will need to copy the project folders into the directory on your system pointed to by the virtual URL http://localhost/. (Normally, http://localhost/ corresponds to the physical location C:\Inetput\wwwroot.) For more information, and installation tips for ASP.NET Web applications, see "Requirements for Running ASP.NET" in Chapter 16.

Sample Content

Table of Contents




Updates

Errata

Listing 8.3 left out the line of code necessary to show the correct
number
of child forms on the parent form status bar. Here is part of Listing
8.3
with the line correctly inserted:
Private Sub Renumber()
Dim frmArray....
frmArray = ...
Dim i, j as integer
For i = 0 to theDad....
if (frmArray(i) is Me) ...
j = i
Exit for
End if
Next i
For i = j + 1 to ...
frmArray(i).Text = ....
Next i
' the following statement is missing
theDad.WriteStatus()
End Sub

Submit Errata

More Information

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.