9780130461315

Visual Basic .Net for Experienced Programmers

by ; ; ;
  • ISBN13:

    9780130461315

  • ISBN10:

    0130461318

  • Format: Paperback
  • Copyright: 2003-01-01
  • Publisher: Pearson P T R
  • View Upgraded Edition

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $59.99 Save up to $15.00
  • Buy Used
    $44.99
    Add to Cart Free Shipping

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

Written for programmers with backgrounds in C++, Visual Basic, Java or other high-level languages, this book applies the Deitels' signature Live-Code approach to teaching programming and explores Microsoft's Visual Basic .NET language in depth. Softcover.

Author Biography

Harvey M. Deitel is the founder of Deitel & Associates, Inc., the internationally recognized IT content-creation and corporate-training organization.

Table of Contents

Illustrations
xvi
Preface xxxi
Introduction to .NET and Visual Basic .NET
1(22)
Introduction
2(1)
History of the Internet and World Wide Web
2(2)
World Wide Web Consortium (W3C)
4(1)
Extensible Markup Language (XML)
4(1)
Key Software Trend: Object Technology
5(2)
Introduction to Microsoft .NET
7(2)
Visual Basic .NET
9(1)
C, C++, Java™ and C#
10(1)
.NET Framework and the Common Language Runtime
11(1)
Tour of the Book
12(7)
Summary
19(2)
Internet and World Wide Web Resources
21(2)
Introduction to the Visual Studio IDE and VB .NET Programming
23(40)
Introduction
24(1)
Visual Studio .NET Integrated Development Environment (IDE) Overview
25(3)
Menu Bar and Toolbar
28(2)
Visual Studio .NET Windows
30(4)
Solution Explorer
30(1)
Toolbox
31(1)
Properties Window
31(3)
Using Help
34(1)
Simple Program: Displaying Text and an Image
35(10)
Simple Program: Printing a Line of Text
45(11)
Arithmetic
56(2)
Decision Making: Equality and Relational Operators
58(3)
Summary
61(2)
Control Structures
63(32)
Introduction
64(1)
Control Structures
64(2)
If/Then Selection Structure
66(1)
If/Then/Else Selection Structure
66(1)
While Repetition Structure
67(1)
Do While/Loop Repetition Structure
67(1)
Do Until/Loop Repetition Structure
67(1)
Do/Loop While Repetition Structure
68(1)
Do/Loop Until Repetition Structure
68(1)
Assignment Operators
68(1)
For/Next Repetition Structure
69(1)
Example: Using the For/Next Structure to Compute Compound Interest
70(5)
Select Case Multiple-Selection Structure
75(3)
Using the Exit Keyword in a Repetition Structure
78(2)
Logical Operators
80(6)
Introduction to Windows Application Programming
86(8)
Summary
94(1)
Procedures and Arrays
95(48)
Introduction
96(1)
Modules, Classes and Procedures
97(1)
Sub Procedures
97(3)
Function Procedures
100(1)
Methods
101(3)
Argument Promotion
104(2)
Option Strict and Data-Type Conversions
106(2)
Value Types and Reference Types
108(1)
Passing Arguments: Pass-by-Value vs. Pass-by-Reference
109(2)
Duration of Identifiers
111(1)
Scope Rules
112(3)
Recursion
115(3)
Procedure Overloading and Optional Arguments
118(5)
Procedure Overloading
118(2)
Optional Arguments
120(3)
Modules
123(2)
Arrays
125(3)
Passing Arrays to Procedures
128(3)
Passing Arrays: ByVal vs. ByRef
131(5)
Multidimensional Rectangular and Jagged Arrays
136(4)
For Each/Next Repetition Structure
140(1)
Summary
141(2)
Object-Based Programming
143(48)
Introduction
144(1)
Implementing a Time Abstract Data Type with a Class
145(8)
Class Scope
153(1)
Controlling Access to Members
153(2)
Initializing Class Objects: Constructors
155(1)
Using Overloaded Constructors
155(6)
Properties
161(7)
Composition: Objects as Instance Variables of Other Classes
168(3)
Using the Me Reference
171(2)
Garbage Collection
173(1)
Shared Class Members
174(4)
Const and ReadOnly Members
178(3)
Data Abstraction and Information Hiding
181(1)
Software Reusability
182(1)
Namespaces and Assemblies
183(4)
Class View and Object Browser
187(1)
Summary
188(3)
Object-Oriented Programming: Inheritance
191(36)
Introduction
192(1)
Base Classes and Derived Classes
193(3)
Protected and Friend Members
196(1)
Relationship Between Base Classes and Derived Classes
196(18)
Case Study: Three-Level Inheritance Hierarchy
214(4)
Constructors and Finalizers in Derived Classes
218(6)
Software Engineering with Inheritance
224(1)
Summary
225(2)
Object-Oriented Programming: Polymorphism
227(51)
Introduction
228(1)
Derived-Class-Object to Base-Class-Object Conversion
228(7)
Type Fields and Select Case Statements
235(1)
Polymorphism Examples
236(1)
Abstract Classes and Methods
237(2)
Case Study: Inheriting Interface and Implementation
239(8)
NotIheritable Classes and NotOverridable Methods
247(1)
Case Study: Payroll System Using Polymorphism
248(10)
Case Study: Creating and Using Interfaces
258(13)
Delegates
271(6)
Summary
277(1)
Exception Handling
278(31)
Introduction
279(1)
Exception Handling Overview
280(3)
Example: DivideByZeroException
283(4)
.NET Exception Hierarchy
287(2)
Finally Block
289(7)
Exception Properties
296(5)
Programmer-Defined Exception Classes
301(4)
Handling Overflows
305(2)
Summary
307(2)
Graphical User Interface Concepts: Part 1
309(44)
Introduction
310(2)
Windows Forms
312(2)
Event-Handling Model
314(7)
Control Properties and Layout
321(4)
Labels, TextBoxes and Buttons
325(3)
GroupBoxes and Panels
328(3)
CheckBoxes and RadioButtons
331(11)
PictureBoxes
342(2)
Mouse-Event Handling
344(3)
Keyboard-Event Handling
347(4)
Summary
351(2)
Graphical User Interface Concepts: Part 2
353(64)
Introduction
354(1)
Menus
354(10)
LinkLabels
364(4)
ListBoxes and CheckedListBoxes
368(7)
ListBoxes
370(2)
CheckedListBoxes
372(3)
ComboBoxes
375(5)
TreeViews
380(5)
ListViews
385(7)
Tab Control
392(5)
Multiple-Document-Interface (MDI) Windows
397(9)
Visual Inheritance
406(4)
User-Defined Controls
410(5)
Summary
415(2)
Multithreading
417(38)
Introduction
418(2)
Thread States: Life Cycle of a Thread
420(1)
Thread Priorities and Thread Scheduling
421(5)
Thread Synchronization and Class Monitor
426(2)
Producer/Consumer Relationship without Thread Synchronization
428(6)
Producer/Consumer Relationship with Thread Synchronization
434(9)
Producer/Consumer Relationship: Circular Buffer
443(10)
Summary
453(2)
Strings, Characters and Regular Expressions
455(46)
Introduction
456(1)
Fundamentals of Characters and Strings
456(1)
String Constructors
457(2)
String Length and Chars Properties, and CopyTo Method
459(2)
Comparing Strings
461(4)
String Method GetHashCode
465(1)
Locating Characters and Substrings in Strings
466(3)
Extracting Substrings from Strings
469(1)
Concatenating Strings
470(1)
Miscellaneous String Methods
471(2)
Class StringBuilder
473(1)
StringBuilder Indexer, Length and Capacity Properties, and EnsureCapacity Method
474(2)
StringBuilder Append and AppendFormat Methods
476(3)
StringBuilder Insert, Remove and Replace Methods
479(3)
Char Methods
482(3)
Card Shuffling and Dealing Simulation
485(4)
Regular Expressions and Class Regex
489(10)
Summary
499(2)
Graphics and Multimedia
501(64)
Introduction
502(2)
Graphics Contexts and Graphics Objects
504(1)
Color Control
505(7)
Font Control
512(5)
Drawing Lines, Rectangles and Ovals
517(3)
Drawing Arcs
520(3)
Drawing Polygons and Polylines
523(4)
Advanced Graphics Capabilities
527(5)
Introduction to Multimedia
532(1)
Loading, Displaying and Scaling Images
532(2)
Animating a Series of Images
534(13)
Windows Media Player
547(2)
Microsoft Agent
549(14)
Summary
563(2)
Files and Streams
565(77)
Introduction
566(1)
Data Hierarchy
566(2)
Files and Streams
568(2)
Classes File and Directory
570(10)
Creating a Sequential-Access File
580(11)
Reading Data from a Sequential-Access File
591(11)
Random-Access Files
602(5)
Creating a Random-Access File
607(3)
Writing Data Randomly to a Random-Access File
610(5)
Reading Data Sequentially from a Random-Access File
615(5)
Case Study: A Transaction-Processing Program
620(20)
Summary
640(2)
Extensible Markup Language (XML)
642(50)
Introduction
643(1)
XML Documents
643(5)
XML Namespaces
648(3)
Document Object Model (DOM)
651(18)
Document Type Definitions (DTDs), Schemas and Validation
669(10)
Document Type Definitions
670(4)
Microsoft XML Schemas
674(5)
Extensible Stylesheet Language and XslTransform
679(7)
Microsoft BizTalk™
686(3)
Summary
689(1)
Internet and World Wide Web Resources
690(2)
Database, SQL and ADO .NET
692(50)
Introduction
693(1)
Relational Database Model
694(1)
Relational Database Overview: Books Database
695(6)
Structured Query Language (SQL)
701(16)
Basic SELECT Statement
702(1)
WHERE Clause
703(3)
ORDER BY Clause
706(2)
Merging Data from Multiple Tables: INNER JOIN
708(3)
Joining Data from Tables Authors, AuthorISBN, Titles and Publishers
711(3)
INSERT Statement
714(1)
UPDATE Statement
715(1)
DELETE Statement
716(1)
ADO .NET Object Model
717(1)
Programming with ADO .NET: Extracting Information from a Database
718(10)
Connecting to and Querying an Access Data Source
718(8)
Querying the Books Database
726(2)
Programming with ADO .NET: Modifying a Database
728(9)
Reading and Writing XML Files
737(3)
Summary
740(2)
ASP .NET, Web Forms and Web Controls
742(83)
Introduction
743(1)
Simple HTTP Transaction
744(2)
System Architecture
746(1)
Creating and Running a Simple Web-Form Example
747(12)
Web Controls
759(21)
Text and Graphics Controls
759(6)
AdRotator Control
765(5)
Validation Controls
770(10)
Session Tracking
780(19)
Cookies
781(9)
Session Tracking with HttpSessionState
790(9)
Case Study: Online Guest book
799(6)
Case Study: Connecting to a Database in ASP .NET
805(15)
Tracing
820(2)
Summary
822(2)
Internet and Web Resources
824(1)
ASP .NET and Web Services
825(62)
Introduction
826(1)
Web Services
827(4)
Simple Object Access Protocol (SOAP) and Web Services
831(1)
Publishing and Consuming Web Services
832(15)
Session Tracking in Web Services
847(13)
Using Web Forms and Web Services
860(6)
Case Study: Temperature Information Application
866(9)
User-Defined Types in Web Services
875(10)
Summary
885(1)
Internet and Web Resources
886(1)
Networking: Streams-Based Sockets and Datagrams
887(37)
Introduction
888(1)
Establishing a Simple Server (Using Stream Sockets)
889(2)
Establishing a Simple Client (Using Stream Sockets)
891(1)
Client/Server Interaction via Stream-Socket Connections
892(9)
Connectionless Client/Server Interaction via Datagrams
901(6)
Client/Server Tic-Tac-Toe Using a Multithreaded Server
907(15)
Summary
922(2)
Data Structures and Collections
924(61)
Introduction
925(1)
Self-Referential Classes
925(2)
Linked Lists
927(13)
Stacks
940(4)
Queues
944(4)
Trees
948(15)
Binary Search Tree of Integer Values
949(7)
Binary Search Tree of IComparable Objects
956(7)
Collection Classes
963(20)
Class Array
964(3)
Class ArrayList
967(6)
Class Stack
973(4)
Class Hashtable
977(6)
Summary
983(2)
Mobile Internet Toolkit
985(51)
Introduction
986(1)
Mobile Internet Toolkit Client Devices
986(2)
Introduction to the Microsoft Mobile Internet Toolkit and Microsoft Mobile Web Forms
988(15)
Advanced Mobile Web Forms Controls
1003(7)
Example: Deitel Wireless Portal
1010(5)
Device-Independent Web Design Using Stylesheets and Templates
1015(14)
Consuming a Web Service from a Mobile Application
1029(5)
Summary
1034(1)
Internet and Web Resources
1035(1)
A Operator Precedence Chart 1036(2)
B Visual Studio .NET Debugger 1038(16)
Introduction
1039(1)
Breakpoints
1040(2)
Examining Data
1042(2)
Program Control
1044(4)
Additional Procedure Debugging Capabilities
1048(2)
Additional Class Debugging Capabilities
1050(3)
Summary
1053(1)
C ASCII Character Set 1054(1)
D Unicode® 1055(10)
Introduction
1056(1)
Unicode Transformation Formats
1057(1)
Characters and Glyphs
1058(1)
Advantages/Disadvantages of Unicode
1059(1)
Unicode Consortium's Web Site
1059(1)
Using Unicode
1060(2)
Character Ranges
1062(1)
Summary
1063(2)
Bibliography 1065(4)
Index 1069

Excerpts

Preface Live in fragments no longer. Only connect. --Edward Morgan Forster We wove a web in childhood, A web of sunny air. --Charlotte Bronte Welcome to Visual Basic .NET and the world of Windows, Internet, and World Wide Web programming with Visual Studio .NET and the .NET platform! This book is the third in the new Deitel Developer Series, which presents leading-edge computing technologies to software developers and IT professionals. Visual Basic .NET was created from Visual Basic 6.0 by Microsoft expressly for its .NET platform. Visual Basic .NET provides the features that are most important to programmers, such as object-oriented programming, graphics, graphical-user-interface (GUI) components, exception handling, multithreading, multimedia (audio, images, animation and video), file processing, prepackaged data structures, database processing, Internet and World-Wide-Web-based multi-tier application development, networking, Web services and distributed computing. The language is appropriate for implementing Internet- and World-Wide-Web-based applications that integrate seamlessly with Windows-based applications. The .NET platform offers powerful capabilities for software development and deployment, including language and platform independence. For example, developers writing code in any (or several) of the .NET languages (such as Visual Basic .NET, C# and Visual C++ .NET) can contribute components to the same software product. In addition to providing language independence, .NET extends program portability by enabling .NET applications to reside on, and communicate across, multiple platforms. This facilitates the creation and use of Web services, which are applications that expose functionality to clients over the Internet. The .NET platform enables Web-based applications to be distributed to consumer-electronic devices, such as wireless phones and personal digital assistants (PDAs), as well as to desktop computers. The capabilities that Microsoft has incorporated into the .NET platform increase programmer productivity and decrease development time. Who Should Read This Book Deitel & Associates, Inc. currently has two Visual Basic .NET publications, intended for different audiences. We provide information on www.deitel.com, here and inside this book's back cover to help you determine which publication is best for you. Our first Visual Basic .NET book, Visual Basic .NET How to Program, Second Edition, was published as part of our How to Program Series, for college and university students. It provides a comprehensive treatment of Visual Basic .NET and includes learning aids and extensive ancillary support. Visual Basic .NET How to Program, Second Edition assumes that the reader has little or no programming experience. Early chapters focus on fundamental programming principles. The book builds on this to create increasingly complex and sophisticated programs that demonstrate how to use Visual Basic .NET to create graphical user interfaces, networking applications, multithreaded applications, Web-based applications and more. We encourage professors and professionals to consider the The Complete Visual Basic .NET Training Course. This package includes Visual Basic .NET How to Program, Second Edition, as well as the Visual Basic .NET Multimedia Cyber Classroom, Second Edition, an interactive multimedia CD-ROM that provides extensive e-Learning features. The Complete Visual Basic .NET Training Course, Second Edition and Visual Basic .NET Multimedia Cyber Classroom, Second Edition are discussed in detail later in this Preface. This book, Visual Basic .NET for Experienced Programmers, is part of the new Deitel Developer Series, intended for professional software developers-from novices through experienced prog

Rewards Program

Write a Review