Microsoft's .NET initiative created drastic changes in the Visual Studio line of products, and as a result a lot of Visual Basic developers feel like they are beginners all over again. Special Edition Using Visual Basic.NET will offer in-depth explorations of new features so that both experienced programmers and novices will feel comfortable making the transition to .NET. Although a major portion of the book is devoted to Internet applications, the book covers more general topics than many other books. Features of Visual Basic that will be explained include database access, controls, and best coding and practices. These features will be explored in detail, with extensive use of example programs and screen captures.
Rezensionen / Stimmen
"This book will appeal to readers wishing to exploit the new features of Visual Basic .Net and transfer their skills to the new .Net development environment."The Bookseller, Aug 2001
Sprache
Verlagsort
Verlagsgruppe
Zielgruppe
Für höhere Schule und Studium
Maße
ISBN-13
978-0-7897-2572-1 (9780789725721)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Klassifikation
Brian Siler has been developing Visual Basic applications since 1994. He received his Bachelor of Science degree in computer science from the University of Memphis in 1995. In addition to his day job as lead systems analyst for a major hotel corporation, Brian occasionally develops custom VB applications for other individuals. He has created many types of computer programs, including client/server, Active Server Pages, and "n-tier" Web applications. Brian is familiar with a variety of databases, including Microsoft SQL Server, Sybase, and Microsoft Access. Additional information about some of Brian's VB projects as well as sample source code is available on the Web at http://www.vbinsider.com. He has coauthored two previous Visual Basic books. Brian may be contacted via e-mail at bsiler@vbinsider.com.
Jeff Spotts is a financial systems advisor for Federal Express Corporation. A 1980 graduate of the University of Memphis, he also teaches programming classes at Southwest Tennessee Community College in Memphis. In addition, he develops custom applications for individuals and businesses and has a growing portfolio of Visual Basic database applications plus a variety of Web-based systems using VBScript and Active Server Pages. Jeff is a Microsoft Certified Professional (MCP), has been involved with computer hardware and software since the late 1970s, and has been programming with Visual Basic since just after its introduction. Jeff is a coauthor (with Brian Siler) of Que's Special Edition Using Visual Basic 6 and has contributed to several other titles. He may be contacted via e-mail at jspotts@vbinsider.com.
Introduction.
Who Should Read This Book. How This Book Is Organized. Source Code and Programs Used in This Book. Conventions and Special Elements Used in This Book. System Suggestions for Visual Basic .NET.
I. GETTING STARTED WITH VISUAL BASIC .NET.
1: Introduction to Visual Basic .NET.
Understanding Programming and Visual Basic's Role. The Importance of Application Design. Tips for a Good Design. Big Changes in Visual Basic .NET. From Here.
2: Creating Your First Windows Application.
Setting Up a New Windows Project. Designing the User Interface. Coding Your Program's Actions. Running Your Program. From Here.
3: Creating Your First Web Application.
Getting Started with Web Applications. Creating the Sample Web Application. Enhancing Your Web Application. Troubleshooting Web Applications.
4: Understanding the Development Environment.
Getting Started. The Visual Studio .Net Work Area. Customizing the Development Environment. Troubleshooting.
5: Visual Basic Building Blocks.
Terminology You mUst Know. Understanding Namespaces. Error Handling. Introduction to Debugging. From Here.
II. VISUAL BASIC PROGRAMMING FUNDAMENTALS.
6: Storing Information in Variables.
Declaring and Naming Variables. Understanding Data Types. Working with Numeric Data Types. Using Math Operations. Using Date and Time Values. Working with Strings. Using Arrays. Understanding Regional Settings.
7: Controlling the Flow of Your Program.
Understanding If Statements. Using Select Case. Structuring Your Code Logically. Working with Loops. Exercise: The Pop-Up Eliminator. From Here.
8: Managing Program Tasks with Procedures.
Procedures Defined. Working with Sub Procedures. Working with Function Procedures. Reusing Functions and Procedures. From Here.
9: Creating Code Components.
Understanding Classes. Building a Class. Using a New Class in an Application. Using Remoting to Work with Distributed Objects. From Here.
III. BUILDING WINDOWS APPLICATIONS.
10: Understanding Windows Forms.
Changing the Look of Your Forms. Adding Menus to Your Forms. Working with Multiple Forms. From Here.
11: Fundamental Controls.
Introduction to Controls. Basic Controls. Controls for Making Choices. From Here.
12: Advanced Controls.
Automatically Controlling a Control's. Size and Position. Specialized Date Input Controls. Other Specialized Controls. From Here.
13: Using Dialog Boxes.
Using Message Boxes to Keep the User Informed. Using Input Boxes to Get Information from the User. Using the Dialog Controls. Creating Your Own Dialog Boxes. From Here.
14: Designing an Effective User Interface.
Designing Effective Forms. User PC Differences. Dealing with User Expectations. Using Graphics. Working with Text and Fonts. From Here.
15: Multiple Document Interface Applications.
Overview of MDI Applications. Creating the Parent Form for the Sample Application. Creating the Child Form Template. Displaying a New Child Form. Opening an Existing Document. Child Window Management. Saving Files. Adding a Print Function. Summarizing the Code. From Here.
16: Creating Your Own Windows Controls.
Windows Control Basics. Creating a Windows Control. Testing the Control. Adding Your Custom Controls to Other Projects. Enhancing a Windows Control. From Here.
IV. WORKING WITH THE WEB.
17: Using Active Server Pages.NET.
Understanding Web Communication. Using HTML with ASP.NET. Bringing Dynamic Content to the Web. Creating ASP.NET Pages. Using ASP.NET's Built-In Classes. Exercise: Creating a Web Photo Album. From Here.
18: Web Applications and Services.
Writing Code Behind a Web Form. Managing Your Web Application Project. Sharing Functionality with Web Services. From Here.
19: Web Controls.
Using ASP.NET Server Controls. Validating User Input. Working with Lists and Grids. Special-Purpose Web Controls. From Here.
V. VISUAL BASIC AND DATABASES.
20: Database Basics.
Understanding Databases. Designing a Database. Introducing the Structured Query Language. Using a SELECT Statement. Using SQL Action Statements. Using DDL Statements. Storing SQL Statements in the Database. Troubleshooting Hints.
21: ActiveX Data Objects (ADO).
Using the ADO Objects. Using Disconnected Recordsets. Exercise: Displaying a Recordset in a DataGrid.
22: Using ADO.NET.
Data and Your Application. Executing Database Commands. Understanding DataSets. Building a Reusable Data Access Layer.
23: Creating and Using Reports.
Printing with Windows Forms. Using Crystal Reports. From Here.
VI. ADVANCED PROGRAMMING TOPICS.
24: Working with Files.
Manipulating the File System Using VB. Working with File Streams. Parsing XML Files. Accessing the Registry. Traditional Visual Basic File Functions. Questions: Using Files.
25: Interacting with Other Applications.
Remote-Controlling Microsoft Excel. Remote Controlling Microsoft Word. Using the SmtpMail Class to Add E-mail Functionality to an Application. From Here.
26: Debugging and Performance Tuning.
Working with Exceptions in Visual Studio. Writing Code to Handle Exceptions. Monitoring Application Performance. Measuring Execution Time. Exercise: Using Performance Counters.
27: Writing a Pocket PC Application.
Installing aMbedded Visual Basic. Creating the Sample Application. Synchronizing Application Data. From Here.
VII. APPENDIXES.
Appendix A: Packaging Your Applications. @@AHEADS = Creating an Installer. Using the Setup Project Wizard to Create a Setup Project for a Windows Application. Setting Options for the Setup Package. Customizing the User's File System. Building the Setup Project. Deploying the MSI Installer Package.
Appendix B: Tips on Conversion from VB6.
Why the Visual Basic Language Has Changed. Changes to the Language. Changes to Controls. Converting an Existing VB6 Project to Visual Basic .NET.
Index.