Skip to main content

VB .NET in 60 Minutes a Day

VB .NET in 60 Minutes a Day

Bruce Barstow, Tony Martin

ISBN: 978-0-471-42548-9

Aug 2003

720 pages

Select type: Paperback

Product not available for purchase

Description

  • Professional Visual Basic .NET skills are in heavy demand since it's often the easiest and fastest way to connect the many components that are required in an enterprise-level application
  • Includes thirty one-hour lessons that recreate a typical week-long introductory seminar
  • Covers the critical information that every VB .NET developer should know
  • The author has written more than thirty courses in application development, messaging, and network development and is currently training for AutoDesk
  • Companion Web site features an online presentation by the author that follows along with each chapter and includes an audio-only option for readers with dial-up Internet connection
Acknowledgments.

About the Authors.

Introduction.

Part One: The .NET Experience.

Chapter 1: Nothing but .NET.

Chapter 2: Building Visual Basic .NET Windows Applications.

Chapter 3: Examining Visual Basic .NET.

Chapter 4: Debugging and Exception Handling.

Part Two: Middle-Tier Development in .NET.

Chapter 5: Advanced .NET Windows Applications.

Chapter 6: Building Class Libraries in .NET.

Chapter 7: Extending Visual Basic .NET Classes.

Chapter 8: Implementation Inheritance.

Chapter 9: Interfaces and Polymorphism.

Chapter 10: Data Access in .NET.

Chapter 11: Memory Management and Performance Monitoring.

Chapter 12: Threading.

Part Three: Web Technologies in .NET.

Chapter 13: ASP.NET.

Chapter 14: Data Control and XML in Web Applications.

Chapter 15: XML Web Services.

Part Four: Distribution and Interoperability in .NET.

Chapter 16: Interoperability.

Chapter 17: Mobile Internet Toolkit.

Chapter 18: Localization and Globalization.

Chapter 19: Visual Basic 6 to Visual Basic .NET Migration.

Chapter 20: Distributing .NET Projects.

Appendix A: Installing .NET.

Appendix B: About the 60 Minutes Web Site.

Appendix C: Glossary.

Index.

Chapter 1 Lab
Demonstrates simple TextBox Interactivity, casting and concatenation.
Download
Chapter 1 VB Language KickStart
Various useful snippets to kick start your use of VB.Net.
Download
Chapter 2 ComboBox
Demonstrates various features common to all list-based controls.
Download
Chapter 2 Dynamic Controls
Dynamically add and remove controls at run time.
Download
Chapter 2 Event Handlers
Working with event handlers to control multiple events with a single method
Download
Chapter 3 ArrayLists
Demonstrates the use of the ArrayList object as well as Add, Remove, RemoveAt, and iteration through ArrayLists using a For Each loop.
Download
Chapter 3 Strings
Various string operations are shown including Jojn, Equals, Replace, Insert, IndexOfAny, EndsWith, Length and the Like operator.
Download
Chapter 3 Control Flow
The various control structures are introduced including If, Select Case, For Loop, for Each Loop, With, Do Until, Do While, While and Dynamic Arrays.
Download
Chapter 3 Lab3
Demonstrates the interactive use of controls structures while using the System.IO namespace to display files and directories at a given location on the hard drive.
Download
Chapter 3 Arrays
Array syntax is introduced, including the use of initializer lists and multidimensional arrays.
Download
Chapter 4 Custom Exception Handler
Creates a custom exception by deriving from and extending a base exception class.
Download
Chapter 4 Debugging
Source for various debugging examples used in this chapter.
Download
Chapter 4 Exceptions
Source for various SEH examples used in this chapter.
Download
Chapter 4 Exceptions Lab
Solution for Lab 4-1.
Download
Chapter 4 Debugging Lab
Solution for Lab 4-2.
Download
Chapter 5 GDI Graphics
Many graphics related objects and methods are demonstrated, including the Paint event, DrawPolygon, Color, FillPie, DrawPie, Brush, Pen, DrawString, FontFamily, Image, Rectangle, DrawImage, DrawRectangle, FillRectangle, Size, Point.
Download
Chapter 5 Form Interaction
This simple example instantiates one Form from another and calls the click event on that second form.
Download
Chapter 5 Hit Test
The first of two forms in this application demonstrates a hit test for items in a listbox. as the mouse is moved over items in the listbox, the underlying code will detect if a rectangle has been loaded into the listbox and actually draw it to the form. The second form builds a form in the shape of a trapezoid.
Download
Chapter 5 List View Controls
The first form just demonstrates the syntax for adding items and columns to a ListView control. The second form implements a ListView control to build an Image viewer.
Download
Chapter 5 MDI Lab - Image Viewer
Solution to the Image viewer lab.
Download
Chapter 5 TreeView Controls
Demonstrates different implementations of the TreeView control for exploring structures such as the file system
Download
Chapter 5 ToolBox Controls
Source application for the ToolBox example in this chapter.
Download
Chapter 6 Classes101
A great many OOP features are introduced including Access Modifiers, Delegates, Events, Enumerations, Properties, Overloaded Methods, Overloaded Constructors, Readonly and WriteOnly Members and Shared Members.
Download
Chapter 6 Delegates Lab
The solution for the events/delegates lab.
Download
Chapter 7 Core Card Library Files
A rather large collections of classes and test application that implements various improvements over the Card, Cards, Deck and other objects in the Card Library.
Download
Chapter 7 Card Library Final Lab
The final lab solution for the Card class library enhancements.
Download
Chapter 8 Inheritance 1
Simple inheritance example demonstrates virtual overrides and the MustInherit keyword.
Download
Chapter 8 Inheritance 2
This collection of classes demonstrate the Inherits, Overrides, Shadows, MyBase, MustInherit, MustOverride, Overridable and NotOverridable keywords.
Download
Chapter 8 Lab 8 - Polymorphism through virtual methods
The solution for the polymorphism lab. A library of shapes inherit virtual methods from a common base class to demonstrate the use of polymorphism.
Download
Chapter 9 Simple Interfaces
This polymorhism example shows the shapes classes redefined to implement an IShape interface instead of a Shape class.
Download
Chapter 9 CardLibrary Improvements
The source code for the great number of improvements over the Card library to include the implementation of ICloneable, IComparable, IComparer, ICollection, IList, IEnumerable and the CollectionBase class.
Download
Chapter 10 Data Library
This first data example uses a centralized library for a data source.
Download
Chapter 10 Record Navigation
Navigation examples provided for both DataTable manipulation and SqlDataReader objects.
Download
Chapter 10 Lab 10-1
This library and test client demonstrate the use of DataSet, Dataview, SqlCommandBuilder, SqlDataAdapter, SqlConnection, DataRow, Updates (Update,HasChanges,Getchanges), Datatables, reading and writing XML, Merging Datasets and Exporting Schemas.
Download
Chapter 10 Lab 10-2
This library and test client provide a mechanism for capturing and passing parameters to stored procedures via a library.
Download
Chapter 11 Misc Code Snippets
Source code and files pertaining to many examples used in the chapter.
Download
Chapter 11 Counters
Demonstrates how embedded counters are used.
Download
Chapter 11 Performance Monitor
A custom interface similar to Performance Monitor that uses embedded performance counters.
Download
Chapter 12 Introducing Threads
Introduces threads.
Download
Chapter 12 ThreadStatic
Demonstrates controlling access to shared data using the ThreadStatic attribute.
Download
Chapter 12 Affinity
Explains how controls created on one thread are inaccessible by another.
Download
Chapter 12 ThreadPool
Demonstrates how QueueUserWorkItem and the Thread Pool work.
Download
Chapter 12 Synchronizing collections
Synchronizing collections (such as a Stack) using the synchronized method.
Download
Chapter 12 Synchronizating an entire class
Demonstrates the use of System.Runtime.Remoting.Contexts.Synchronization attribute for synchronizing access to an entire class.
Download
Chapter 12 Synchronizing access to a single method
Uses the MethodImpl attribute to synchronize access to a single method.
Download
Chapter 12 Interlocked class
Implements the Interlocked class to control thread access to a critical section.
Download
Chapter 12 Mutex
Implements a Mutex to control access to a critical section.
Download
Chapter 12 SyncLock
The Lab solution demonstrates the use of SyncLock to control access to critical sections.
Download
Chapter 13 Lab 13-1
A quick introduction to building ASP.NET pages. This simple web application calculates the volume of a sphere based on a radius the user enters.
Download
Chapter 13 Lab 13-2
This ASP.NET web application allows you to enter defect information about a software application. It demonstrates the construction of an ASP.NET application connected to a database.
Download
Chapter 14 Lab 14-1
This lab consists of a secured SQL Server that accepts only authenticated users, as well as a data access web application that talks to it as the authenticated user.
Download
Chapter 14 Lab 14-1 Class
This supporting class for the lab 14-1 handles access to the database, and is built as a separate project.
Download
Chapter 14 Lab 14-2
This lab loads external XML data from a file, loads a schema into our program, and then validates it against the schema. Once loaded and validated, we populate a DataSet with it and data bind it to a data grid on a web page.
Download
Chapter 14 Lab 14-2 Generator
This utility program generates the XML data and XSD schema files that feed the client application in lab 14-2.
Download
Chapter 15 Lab 15-1
This lab introduces web services, and is a sample library containing a couple of simple math routines.
Download
Chapter 15 IMath
This web service acts as a web-based interface to our math library in Lab 15-1.
Download
Chapter 15 Lab 15-2
A web application that gets information about computer parts inventory. Lab 15-2 is a multi-part lab, and consists of a data access class library, a client program, and a web service-based interface to the class library. Lab 15-2 is the client portion.
Download
Chapter 15 Lab 15-2 Data Access
Download
Chapter 15 Lab 15-2 Web Service
The web service in this lab acts as a web-based interface to the data access code. It will be used by the client portion of the lab.
Download
Chapter 16 Export Library
The simple library used in the export to COM discussion.
Download
Chapter 16 PInvoke
Uses both DLLImport and the Declare statement to call Win32 API functions.
Download
Chapter 16 VB6 Project
The VB6 Project used for Interoperability discussion.
Download
Chapter 16 VB6 Control
The VB6 Control used for interoperability discussion.
Download
Chapter 17 Lab 17-1
A simple mobile web application that gets our feet wet by providing a random quotation from a user-selected category.
Download
Chapter 17 Lab 17-2
Lab 17-2 is a more advanced mobile web application that serves up software development news to mobile users. It demonstrates some of the more advanced controls and concepts such as validator controls and data binding. This part is web-based the client portion.
Download
Chapter 17 Lab 17-2 Data Access
This part of the lab is a standard class library that contains data access code.
Download
Chapter 18 ClassWriter
Programatically reads and writes to resource editor.
Download
Chapter 18 Localization Tools
Several useful tools for dealing with localization.
Download
Chapter 18 Lab18-1
Lab18-1 files.
Download
Chapter 18 Lab18-2
Lab18-2 files.
Download
Chapter 19 Migration 1
Source and Solution for first migration.
Download
Chapter 19 Migration 2
Source and solution for second migration.
Download
Chapter 19 Migration 3
Source and solution for third migration.
Download
Chapter 19 Migration Lab
Solution to final migration lab.
Download
Chapter 20 Lab 20-1
Download
Chapter 20 Lab 20-2
This lab shows a full-blown application installation, complete with custom graphics, modified user interface dialogs, and the execution of our own custom external code from the installation program.
Download
Chapter 20 Lab 20-2 Client
This is the actual client program that we install as part of this lab.
Download
Chapter 20 RegisterWeb
This is a class library we build to allow the user to register their newly installed application over the web. It calls a dummy web page, launching it from inside our installation program.
Download

Welcome to the Visual Basic .NET in 60 Minutes A Day companion Web site

Welcome to the Visual Basic .NET in 60 Minutes A Day companion Web site.

This site provides example files mentioned for the reader to follow along with the book Visual Basic .NET in 60 Minutes A Day. To make it easier for download the files have been put into archives. If you do not have a archiving utility you may go to RarLabs.com to download a trial version of WinRAR.

Start training now or go to the chapter code samples and lab solutions

Start training now or go to the chapter code samples and lab solutions on the download page.

View other ...in 60 Minutes a Day titles
ASP.NET in 60 Minutes a Day
Java in 60 Minutes A Day
XML in 60 Minutes a Day