Home > Store

Sams Teach Yourself Visual Basic.NET in 24 Hours

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

Sams Teach Yourself Visual Basic.NET in 24 Hours

Book

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

Description

  • Copyright 2001
  • Dimensions: 7-3/8" x 9-1/8"
  • Pages: 528
  • Edition: 1st
  • Book
  • ISBN-10: 0-672-32080-0
  • ISBN-13: 978-0-672-32080-4

Teach Yourself Visual Basic.NET in 24 Hours provides readers with 24 structured lessons with step-by-step guidance to real-world tasks. Each chapter also contains exercises that reinforce the lessons learned in each chapter. Tips, Notes, and Cautions provide additional advice from the authors on how to get up-to-speed and programming quickly with Visual Basic.NET.

Downloads

Downloads

Full example source code for the listings in the book -- 1,350 kb -- code.zip

Sample Content

Online Sample Chapters

Introduction to Building Forms With Visual Basic.NET

Understanding Objects and Collections in Visual Basic.NET

Table of Contents

(NOTE: Each chapter concludes with a Summary, Q&A, and Workshop Section.)

Introduction.

I. THE VISUAL BASIC ENVIRONMENT.

Hour 1 A Visual Basic .NET Programming .NET Programming Tour.

Starting Visual Basic .NET. Creating a New Project. Understanding the Visual Basic Environment. Changing the Characteristics of Objects. Naming Objects. Setting the Text Property of the Form. Giving the Form an Icon. Changing the Size of the Form. Adding Controls to a Form. Designing an Interface. Adding an Invisible Control to a Form. Coding an Interface. Running a Project.

Hour 2 Navigating Visual Basic.

Using the visual Studio .NET Start Page. Navigating and Customizing the Visual Basic Environment. Adding Controls to a Form Using the Toolbox. Setting Object Properties Using the Properties Window. Managing Projects. Managing Project Files with the Solution Explorer. Getting Help.

Hour 3 Understanding Objects and Collections.

Understanding Objects. Understanding Properties. Understanding Methods. Building an Object Example Project. Understanding Collections. Using the Object Browser.

Hour 4 Understanding Events.

Understanding Event-Driven Programming. Building an Event Example Project. Dealing with Orphaned Events.

II. BUILDING A USER INTERFACE.

Hour 5 Building Forms-Part I.

Changing the Name of a Form. Changing the Appearance of a Form. Showing and Hiding Forms.

Hour 6 Building Forms-Part II.

Working with Controls. Creating TopMost Windows. Creating Transparent Forms. Creating Scrollable Forms. Creating MDI Forms. Setting the Startup Object.

Hour 7 Working with the Traditional Controls.

Displaying Static Text with the Label Control. Allowing Users to Enter Text Using a Text Box. Creating Buttons. Creating Containers and Groups of Option Buttons. Displaying a List with the List Box. Creating Drop-Down Lists Using the Combo Box.

Hour 8 Advanced Controls.

Creating Timers. Creating Tabbed Dialog Boxes. Storing Pictures in an Image List. Building Enhanced Lists Using the List View. Creating Hierarchical Lists with the Tree View.

Hour 9 Adding Menus and Toolbars to Forms.

Building Menus. Programming Menus. Using the Toolbar Control. Creating a Status Bar.

Hour 10 Drawing and Printing.

Understanding the Graphics Object. Working with Pens. Using System Colors. Working with Rectangles. Drawing Shapes. Drawing Text. Persisting Graphics on a Form. Build a Graphics Project Example.

III. MAKING THINGS HAPPEN-PROGRAMMING!

Hour 11 Creating and Calling Code Procedures.

Creating Visual Basic Code Modules. Writing Code Procedures. Creating the User Interface of Your Project. Calling Code Procedures. Exiting Procedures. Avoiding Recursive Procedures. Using Sub Main. Working with Tasks.

Hour 12 Using Constants, Data Types, Variables, and Arrays.

Understanding Data Types. Defining and Using Constants. Dimensioning and Referencing Variables. Determining Scope. Declaring Variables of Static Scope. Naming Conventions.

Hour 13 Performing Arithmetic, String Manipulation, and Date/Time Adjustments.

Performing Basic Arithmetic. Comparing Equalities. Understanding Boolean Logic. Working with Dates and Times.

Hour 14 Making Decisions in Visual Basic Code.

Making Decisions Using If...Then. Evaluating an Expression for Multiple Values Using Select Case. Branching Within a Procedure Using GOTO.

Hour 15 Looping for Efficiency.

Looping a Specific Number of Times Using For...Next. Using Do...Loop to Loop an Indeterminate Number of Times.

Hour 16 Debugging Your Code.

Adding Comments to Your Code. Identifying the Two Basic Types of Errors. Using Visual Basic's Debugging Tools. Writing an Error Handler Using Try...Catch...Finally.

Hour 17 Designing Objects Using Classes.

Understanding Classes. Instantiating Objects from Classes.

Hour 18 Interacting.

Displaying Messages Using the MsgBox() Function. Creating Custom Dialog Boxes. Using InputBox () to Get Information from a User. Interacting with the Keyboard. Using the Common Mouse Events.

IV. WORKING WITH DATA.

Hour 19 Performing File Operations.

Using the Open File Dialog and Save File Dialog Controls. Manipulating Files with the File Object. Manipulating Directories with the Directory Objects.

Hour 20 Controlling Other Applications Using Automation.

Creating a Reference to an Automation Library. Creating an Instance of an Automation Server. Manipulating the Server.

Hour 21 Working with a Database.

Introduction to ADO and ADO.NET. Creating a Reference to ADO. Connecting to a Database. Manipulating Data. Conclusion.

V. DEPLOYING SOLUTIONS AND BEYOND.

Hour 22 Deploying an Application.

Creating a Custom Setup Program. Running a Custom Setup Program. Uninstalling an Application You've Distributed.

Hour 23 Introduction to Web Development.

XML. SOAP. ASP.NET. Web Forms. XML Web Services.

Hour 24 The 10,000-Foot View.

The .NET Framework. Common Language Runtime (CLR). Microsoft Intermediate Language. Namespaces. Common Type System. Garbage Collection.

Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership