Visual Basic Programmer's Guide to the .NET Framework Class Library

Visual Basic Programmer's Guide to the .NET Framework Class Library

by Lars Powers, Mike Snell

Paperback

$54.71 $64.99 Save 16% Current price is $54.71, Original price is $64.99. You Save 16%.

Product Details

ISBN-13: 9780672322327
Publisher: Pearson Education
Publication date: 01/02/2002
Pages: 1121
Product dimensions: 7.36(w) x 9.20(h) x 1.77(d)

About the Author

Lars Powers is co-owner of Brilliant Storm, a consulting company that specializes in developing intelligent tools for the .NET world. Lars has more than 10 years of experience in the software development sector, in roles ranging from programmer, designer, and architect to consultant, mentor, and project manager. Nearly all of his development expertise centers on designing and implementing highly distributed applications using Microsoft Visual Basic and COM technologies at companies large and small. He is a Microsoft Certified Solutions Developer, and was one of the original "charter members" of this certification program, first certified as an MCSD in 1995.

Mike Snell is co-owner of Brilliant Storm with Lars Powers. Mike has spent the last six years defining scalable, enterprise-level architecture for client-server and Web-based projects. In addition, he has a strong background in software architecture using UML and project management. Mike has also achieved the distinction of Microsoft Certified Solutions Developer.

Table of Contents

Introduction1
Part IAn Introduction to .NET5
1Evolution of .NET7
The Composition of .NET8
.NET's Relevance16
The .NET Framework: Under the Hood19
Summary27
2Evolution of VB. NET29
Design Goals30
New Language Concepts31
Interactive Development Environment (IDE)39
Summary47
3Object-Oriented Concepts in .NET49
Classes--Wrapping Data and Behavior Together51
Inheritance--Defining Classes in Terms of One Another54
Polymorphism--Overriding One Class Method with Another60
Summary61
4Introduction to the .NET Framework Class Library63
Introducing the Framework Class Library64
Enhancing Developer Productivity66
The Elements of a Namespace70
Programming with the Framework Class Library75
Summary79
Part IIWorking with the .NET Namespaces81
5Forms, Menus, and Controls83
Key Classes Related to Windows Forms84
Creating Forms86
The Form Class Hierarchy91
Visual Characteristics of Forms92
Using the Clipboard100
Creating Menus103
Working with Menu Items108
Handling Menu Events116
An Introduction to Controls124
Learning by Example: The EventLog Control142
Summary151
6Font, Text, and Printing Operations153
Key Classes Related to Font, Text, and Printing Operations154
Font, Text, and Printing156
Fonts156
Learning by Example: FontPad, a Simple Text Editor165
Printing179
Learning by Example: Adding Printing Capabilities to FontPad184
Printing and Font-Related Controls and Dialog Boxes210
Summary211
7Stream and File Operations213
Key Classes Related to File I/O214
Directory and File Operations216
Reading and Writing to Files and Streams237
Learning By Example: Adding Open and Save to FontPad252
Summary271
8Networking Functions273
Key Classes Related to Network Programming274
Sockets278
A More Simplified Approach to Socket Programming288
Implementing a Request/Response Model292
Using the WebClient Class301
An Asynchronous Request/Response Pattern302
Authentication and Proxies307
Learning by Example: A Socket Transmitter Application312
Learning by Example: ISBNCrawler Application329
Summary342
9Drawing Functions343
Key Classes Related to Drawing344
Drawing with the .NET Namespaces347
Drawing Basics348
Drawing Basic Shapes355
Filling Shapes361
Collections of Shapes367
Working with Images372
Transformations375
Learning by Example: A Forms-Based Drawing Application378
Summary410
10Reading and Writing XML411
Key Classes Related to XML412
Markup Languages413
The Anatomy of an XML Document416
Parsing XML Documents421
Introducing the Xm1NodeReader Class443
Writing XML Documents444
XML Schemas450
Validating XML Documents463
Learning by Example: The Hotel Reservations Desk467
Summary487
11XSLT and XPath489
Key Classes Related to XSLT and XPath490
XSLT--Document Transformation491
XPath Basics501
XSLT Processing with .NET506
Working with XPath515
Learning by Example: ReservationsDesk 2524
Summary538
12Working with Threads539
Key Classes Related to Threading540
Understanding and Applying Threads541
Basic Operations with Threads546
Understanding Thread States554
Avoiding Contention Issues557
Variables and Their Scope571
Learning by Example--ThreadedTimer576
Learning by Example: Divide and Conquer584
Summary595
13Messaging597
Key Classes Related to Messaging598
Messaging600
Message Queues604
Messages621
Serialization632
Transactional Messaging641
Security and Encryption649
Learning by Example: qManager660
Summary688
14Browser/Server Communications691
Key Classes Used for Browser/Server Communication692
Client Request and Server Response695
Determining Browser Capabilities703
State Management705
Learning by Example: MyStatus Indicator712
Summary720
15Data Storage and Access721
Key Classes Related to Data722
An Overview of ADO.NET725
Queries and Resultsets731
Updating Data Directly to a Database736
Executing Stored Procedures744
Managing Cached Data and Schemas754
Learning by Example: DatabaseExplorer762
Summary773
16Directory Services775
Key Classes Related to Directory Services776
Basics of Directory Services777
Active Directory Schemas779
Accessing Objects in the Directory783
Searching a Directory789
Learning by Example: DirectoryBrower791
Summary802
Part IIIReal-World .NET Programming803
17Accessing COM+ Services805
COM+ Services806
Creating a Serviced Component810
Role-Based Security820
Resource Management824
Transaction Processing833
Events838
Asynchronous Components843
Summary848
18.NET Interop with COM Applications849
.NET Interop with COM850
Calling COM from .NET Clients853
Calling .NET from COM Clients859
Interop Considerations863
Summary867
19Managing Collections of Objects869
Managing Collections of Objects870
Strongly Typed Collections888
Summary894
20Profiling, Debugging, and Exception Handling895
Handling Errors with Structured Exception Handlers896
Debugging and Tracing907
Profiling Applications918
Summary923
21Globalization and Localization Techniques925
Globalization and Localization926
Working with Regional Data932
Resource Files937
Summary946
22Deploying, Configuring, and Licensing .NET Components949
The Deployment Dilemma950
The Deployment Solution?953
The .NET Answer954
Assemblies: The Basic Unit of Deployment955
Deploying Private and Shared Components960
Deploying Assemblies into the GAC968
Using Application Configuration Files971
Licensing Your Application973
Summary975
ACalling the Win32 API from Managed Code977
Platform Invoke978
Consuming API Functions979
BWin32 API-to-Namespace Cross-Reference989
C.NET Security Models1079
Security Policies1080
Code Access Security1080
Role-Based Security1088
D.NET Framework Base Data Types1091
Index1095

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews