Home > Store

Application Development Using Visual Basic and .NET

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

Application Development Using Visual Basic and .NET

Book

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

About

Features

  • Self-contained Visual Basic.NET overviewBegins with a concise, modular introduction to Visual Basic.NET syntax and basic features for students who need it.
    • Helps students with no Visual Basic experience get up-to-speed quickly, without frustrating intermediate-to-advanced-level students who are already comfortable with the basics of Visual Basic.NET.
  • Systematic, step-by-step coverageBegins with a simple application, then gradually introduces more complex and subtle techniques.
    • Flattens the .NET learning curve, enabling students to build their skills incrementally.
  • Solutions for effective Windows, Web, and Web Services developmentIncludes detailed coverage of using Windows Forms to build next-generation graphical user interfaces, and using ASP.NET to deliver advanced Web applications and services.
    • Covers every form of development students are likely to encounter, including today's extremely popular Web Services paradigm.
  • Detailed coverage of database access Introduces practical techniques for integrating databases using Microsoft's advanced ADO.NET technology.
    • Helps students master database integration techniques that are central to virtually all contemporary application and Web service development.
  • Practical .NET security coveragePresents today's best techniques for securing .NET applications.
    • Helps students overcome the key obstacle to effective distributed and Web development in the enterprise: security.
  • Insights for students experienced in other languagesCarefully designed to help students with C++ and Java background leverage what they already know.
    • Enables students to become effective with Visual Basic.NET more rapidly.
  • Case study shared across all books in the seriesThis and all other books in the Integrated .NET Series from Object Innovations and Prentice Hall PTR share appropriate facets of a detailed case study covering the entire development process.
    • Lets students more effectively leverage what they've learned as they move from one .NET book and skillset to the next. Because the case study covers the entire development lifecycle, students will understand the challenges that can arise at all stages of .NET development.

Description

  • Copyright 2002
  • Dimensions: 7" x 9-1/4"
  • Pages: 864
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-093382-1
  • ISBN-13: 978-0-13-093382-9

This book gives experienced programmers the practical insight they need to build enterprise applications for Microsoft's .NET platform using Visual Basic. Using a running case study and extensive code examples, the authors illuminate essential .NET concepts, and introduce powerful new .NET technologies such as ADO.NET and ASP.NET. The book begins with a self-contained review of basic Visual Basic.NET syntax and technique; then rapidly moves on to in-depth coverage of VB.NET development with the .NET Framework. The authors begin their case study by developing a simple .NET console application, then add a Windows Forms interface, isolate functionality within components, provide database access via ADO.NET, secure the code, and finally, make its functionality accessible as a Web Service via ASP.NET. Along the way, they introduce each of .NET's most powerful features for developers, including interfaces, attributes, collections, file I/O and streams, debugging classes, threading, appdomains, context, remoting, security, component deployment and versioning, assemblies, the global assembly cache, and interoperability. All books in the Integrated .NET Series by Object Innovations and Prentice Hall PTR teach in a systematic, step-by-step manner, using rich examples and a shared case study that explains how .NET's features interact in the context of a real application. The books integrate perfectly: developers who want an even stronger understanding of the basics of Visual Basic can find it in the companion introductory title, Introduction to Visual Basic Using .NET.

Extras

Related Articles

Automatic Memory Management and Unmanaged Resources in .NET

Choosing the Right Remote Object Invocation Protocol in .NET

Companion Site

Untitled Document Click here for the companion website related to this title.

Sample Content

Online Sample Chapter

Introduction to ASP.NET and Web Forms

Table of Contents

Preface.
Acknowledgments.
About This Series.

.NET ARCHITECTURE OVERVIEW.

1. What is Microsoft .NET?
Microsoft and the Web. Windows on the Desktop. A New Programming Platform. The Role of XML. VB.NET and the .NET Framework. Summary.

2. .NET Fundamentals.
Problems of Windows Development Applications of the Future .NET Overview. Summary.

VB.NET LANGUAGE.


3. VB.NET Essentials, Part I.
Visual Studio .NET and Console Applications. Hello World in VB.NET. Performing Calculations in VB.NET. Classes. VB.NET Type System. Summary.

4. VB.NET Essentials, Part II.
Strings. Arrays and Parameterized Properties. More about Methods. Optional Parameters VB.NET Utility Functions. Command-Line Arguments. Summary.

5. Inheritance and Exceptions in VB.NET.
Review of Object-Oriented Concepts. Acme Travel Agency Case Study: Design. Inheritance in VB.NET. Access Control. Acme Travel Agency Case Study: Implementation. More about Inheritance. Exceptions. Summary.

6. VB.NET in the .NET Framework.
System.Object. Collections. Interfaces. Resolving Ambiguity in Interfaces Acme Travel Agency Case Study: Step 2. Generic Interfaces in .NET. Delegates. Events. Attributes. Summary.

FUNDAMENTALS OF WINDOWS FORMS.


7. Window Forms.
Window Forms Heirarchy. Windows Applications Using the .NET SDK. Windows Forms Event Handling.Visual Studio .NET and Forms.Under the Hood of a VS.NET Windows Applications. Dialog Boxes. Controls. Using a Checkbox. Using List Controls (ListBox and ComboBox). Summary.

8. Using Controls.
Menus. Toolbars. Status Bars. Calendar Controls. Range Controls. List Controls. DataGrid Control. TreeView Control. Common Dialog Controls. Summary.

FUNDAMENTALS OF THE >NET FRAMEWORK.


9. Assemblies and Deployment.
Components. Assemblies. Private Assembly Deployment. Shared Assembly Deployment. Assembly Configuration. Multi-Module Assemblies. Setup and Deployment Projects. Summary.

10. .NET Framework Classes.
Metadata and Reflection. Input and Output in .NET. Serialization. .NET Application Model. Context. Application Isolation. Asynchronous Programming. Remoting. Custom Attributes. Garbage Collection and Finalization. Summary.

ADVANCED UI PROGRAMMING USING VB.NET.


11. Introduction to GDI+.
Device-Independent Graphics and Abstraction. GDI+ Architecture. GDI+ Structures. Pens and Brushes. A Drawing Program. Clipping Rectangle. Bitmaps and Metafile. GDI+ Memory Management. Text and Fonts. Scrolling. Summary.

12. Advanced Windows Forms.
Modeless Dialogs. MDI Applications. Visual Inheritance. ActiveX Controls. Summary.

.NET APPLICATIONS.


13. Programming with ADO.NET.
A Visual Studio .NET Database Testbed. ADO.NET Architecture. Connected Data Access. Parameters and Stored Procedures. SqlDataAdapter and the DataSet Class. DataSet Fundamentals. Database Transactions and Updates. Optimistic Versus Pessimistic Locking and the DataSet. Working with DataSets. A

Preface

Preface

For many years, Microsoft Visual Basic has been used as the ultimate rapid application development tool for Windows applications. Its ease of use revolutionized Windows programming, and successive generations of Visual Basic have progressively made it more powerful. VB6 can be used to implement complex multiple-tier applications using COM and COM+ components as well as traditional Windows desktop programs. But you could never quite do everything in Visual Basic that you could in a lower level language such as C++, and many projects would use a mixture of languages, with resulting complexity from interfacing between the diverse environments.

Microsoft's .NET brings a sea change to software development. The powerful Common Language Runtime and the vast .NET Framework class library provide a consistent software platform for all .NET programming languages. Visual Basic now enjoys virtually identical capabilities to other languages, including the new Visual C# and the ever-popular Visual C++, while preserving the basic ease of use and strong RAD features that have made Visual Basic so popular. The Common Language Specification and the Common Type System make interoperability between the different .NET languages almost seamless, while the power of each is such that for most projects you will probably never have to use a mixed language approach, unless other factors such as legacy code or programmer skill sets steer you in that direction.

There is substantial change to the Visual Basic language itself, and VB6 code will not run unmodified in the .NET environment. Also, the new version of the language, Visual Basic .NET, or just VB.NET, is now a fully object-oriented language with features such as interfaces, inheritance, and polymorphism. The result is that there is a definite learning curve when moving to VB.NET from VB6. And learning the new programming language is only part of the challenge. The much greater challenge is learning the .NET Framework and all its capabilities, including Windows Forms, ADO.NET, ASP.NET Web Forms, and Web services.

This book is written for the experienced programmer to help you quickly come up to speed on the VB.NET language and then go on to an in-depth study of the .NET Framework. It is a practical book for practicing professionals, and it has many examples and a realistic case study that continues through many of the chapters. The goal is to equip you to begin building significant applications using Visual Basic .NET and the .NET Framework.

The book is part of The Integrated .NET Series from Object Innovations and Prentice Hall PTR. Other books in the series provide a more a more basic introduction to VB.NET, discuss the issues of migrating to VB.NET, and cover other important .NET languages and topics in the Framework. See the front of this book for a list of titles in the series. This book, in substance and structure, is quite close to the companion titles Application Development Using C# and .NET and .NET Architecture and Programming Using Visual C++. A major difference between those books and this, besides using VB.NET as the language, is extensive coverage of GUI programming, including three chapters on Windows Forms and a chapter on GDI+.

Organization

The book is organized into six major parts and is structured to make it easy for you to navigate to what you need to learn. Part 1, consisting of the first two chapters, provides an overview that should be read by everyone. It answers the big question, What is Microsoft .NET? and outlines the programming model of the .NET Framework.

Part 2, consisting of Chapters 3 to 6, covers the VB.NET programming language. Even if you know classic Visual Basic, you should read this part, paying attention to the changes in data types (Chapter 3) and the new object-oriented features (Chapters 5). Chapter 6 covers important interactions between VB.NET and the .NET Framework. The Acme Travel Agency case study, which is elaborated throughout the entire book, is introduced in Chapter 5.

Part 3, consisting of Chapters 7 and 8, covers the fundamentals of Windows Forms. Windows Forms is a set of classes in the .NET Framework for writing graphical user interfaces. Programmers familiar with previous versions of Visual Basic will notice that this significantly changes the programming model, yet also introduces flexibility not previously available.

Part 4, consisting of Chapters 9 and 10, introduces important fundamental topics in the .NET Framework. Chapter 9 discusses assemblies and deployment, which constitute a major advance in the simplicity and robustness of deploying Windows applications, ending the notorious situation known as "DLL hell." Chapter 10 introduces important .NET Framework classes and covers the topics of metadata, serialization, threading, attributes, asynchronous programming, remoting, and memory management.

Part 5, consisting of Chapters 11 and 12, covers additional advanced topics in UI programming with VB.NET. Chapter 11 introduces GDI+, which provides a graphics programming model that is both more powerful and easier to use than the classic GDI model of traditional Windows. GDI+ is also completely accessible through Visual Basic. Chapter 12 introduces some important additional advanced topics, such as visual inheritance, MDI, and the use of ActiveX controls in .NET applications.

Part 6, consisting of Chapters 13 to 17, covers important parts of the .NET Framework that are useful in creating a variety of different applications. Chapter 13 covers ADO.NET, which provides a consistent set of classes for accessing both relational and XML data. Chapter 14 introduces the fundamentals of ASP.NET, including the use of Web Forms, for the development of Web sites. Chapter 15 covers SOAP and Web services, which provide an easy-to-use and robust mechanism for heterogeneous systems to interoperate. Chapter 16 covers the topic of security in detail, including code access security and declarative security. Chapter 17 covers interoperability of .NET with legacy COM and Win32 applications.

Appendices introduce Visual Studio .NET and the debug and trace classes provided by .NET.

Sample Programs

The only way to really learn a major framework is to read and write many programs, including some of reasonable size. This book provides many small programs that illustrate pertinent features of .NET in isolation, which makes them easy to understand. The programs are clearly labeled in the text, and they can all be found in the software distribution that accompanies this book.

A major case study, the Acme Travel Agency, is progressively developed in a number of the chapters, beginning with Chapter 5. It illustrates many VB.NET and .NET Framework features working in combination, as they would in a practical application.

The sample programs are provided in a self-extracting file on the book's Web site. When expanded, a directory structure is created, whose default root is c:\OI\NetVb. The sample programs, which begin with the second chapter, are in directories Chap02, Chap03, and so on. All the samples for a given chapter are in individual folders within the chapter directories. The names of the folders are clearly identified in the text. An icon in the margin alerts you to a code example. Each chapter that contains a step of the case study has a folder called CaseStudy, containing that step. If necessary, there is a readme.txt file in each chapter directory to explain any instructions necessary for getting the examples to work.

As part of The Integrated .NET Series, the sample programs in this book are designed to integrate with sample programs from other books in the series. The sample programs for each book in the series are located in their own directories underneath \OI, so all the .NET examples from all books in the series will be located in a common area as you install them.

These programs are furnished solely for instructional purposes and should not be embedded in any software product. The software (including instructions for use) is provided "as is" without warranty of any kind.

Web Sites

The Web site for the book series is www.objectinnovations.com/dotnet.htm

A link is provided at that Web site for downloading the sample programs for this book. Additional information about .NET technology is available at www.mantasoft.com/dotnet.htm

The book sample programs are available at this Web site as well.

The Web site for the book also has a list of .NET learning resources that will be kept up to date.

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

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

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020