Synopses & Reviews
Now you can write your own programs with Microsoft Visual Basic .NET—faster, smarter, and better. Dive in—this friendly, high-energy guide makes it easy to learn exactly what you need. Use the numbered steps, code listings, and expert tips to accelerate your programming productivity—and move on to doing the cool things you want to do!
- Learn basic concepts, syntax, and language elements
- Follow easy coding techniques to build your dexterity
- Write and run your first Visual Basic .NET program
- Use built-in functions and classes or create your own
- Design the user interface with Windows Forms
- Program Web applications using Microsoft ASP.NET
- Access files and databases
- Debug and deploy your new programs
Create your first application for Microsoft "RM" Windows "RM" or the Web with "Faster Smarter Beginning Programming." This guide uses a practical, learn-by-doing approach that makes learning to write code with Microsoft Visual Basic "RM" .NET quick, easy, concrete, and fun. The exercises feature concise explanations, step-by-step instructions, and visual examples that help you create real functionality right away. Topics include learning basic language elements, designing Windows Forms and Web Forms, running and debugging applications, accessing data, and other essentials.
Teaches readers how to write programs with Microsoft Visual Basic .NET, covering topics including syntax, coding techniques, built-in functions, the user interface, and debugging.
About the Author
Jim Buyens is the senior PC-LAN administrator for AG Communication Systems, a leading provider of telecommunications switching equipment and software. An early champion of TCP/IP applications and connectivity, he architected a coast-to-coast corporate network with over 25 Windows NT based servers and 1,000 client PCs. He’s also the Webmaster at www.agcs.com, designing, deploying, and overseeing an intranet with over 14,000 Web pages. He also maintains a Web site featuring support for his books and help in finding Windows NT resources. The URL is http://www.interlacken.com. He is the author of Building Net Sites With Windows NT: An Internet Services Handbook (Addison Wesley, July 1996) and Stupid Web Tricks (Microsoft Press, 1998).
Table of Contents
Dedication; Acknowledgments; Introduction; This Book Could Be for You; System Requirements; Support; Chapter 1: Introducing Basic Concepts; 1.1 How Program Code and Data Occupy Memory; 1.2 Appreciating Data Types; 1.3 High-Level Languages; 1.4 The Concept of Layered Software; 1.5 Structured Programming Constructs; 1.6 Top-Down Design; 1.7 Subroutines and Functions; 1.8 Processing Events; 1.9 Classes and Objects; 1.10 Key Points; Chapter 2: Introducing Microsoft Visual Basic .NET; 2.1 Preparing Your System; 2.2 Obtaining Visual Basic .NET; 2.3 Installing Visual Basic .NET; 2.4 Easing into Visual Basic .NET; 2.5 Manipulating Visual Studio Windows; 2.6 Help, More Help, and Beyond Help; 2.7 Understanding Visual Basic .NET Syntax; 2.8 Writing and Running Your First Program; 2.9 Key Points; Chapter 3: Using Elementary Statements; 3.1 Using Data Types; 3.2 Using Literals; 3.3 Using Variables; 3.4 Using Constants; 3.5 Option Explicit and Option Strict; 3.6 Working with Arrays; 3.7 Scoping Out Variables; 3.8 Writing Decision Statements; 3.9 Writing Loops; 3.10 Example: Writing a Tape Calculator; 3.11 Key Points; Chapter 4: Using Operators and Expressions; 4.1 Introducing Operators; 4.2 Forming Expressions; 4.3 Using Arithmetic Operators; 4.4 Using Assignment Operators; 4.5 Using Comparison Operators; 4.6 Getting It Together with Concatenation Operators; 4.7 Using Logical Operators; 4.8 Using Bitwise Operators; 4.9 Using Miscellaneous Operators; 4.10 Testing Operators and Expressions; 4.11 Key Points; Chapter 5: Using Functions and Subroutines; 5.1 Introducing Functions and Subroutines; 5.2 Coding Your Own Functions and Subroutines; 5.3 Declaring Arguments; 5.4 Passing Arguments by Value; 5.5 Passing Arguments by Reference; 5.6 Sidestepping Arguments; 5.7 Specifying Return Values; 5.8 Exiting Functions and Subroutines; 5.9 Functions, Subroutines, Variables, and Scope; 5.10 Designing Functions and Subroutines Effectively; 5.11 Example: Writing a Four-Function Calculator; 5.12 Key Points; Chapter 6: Using Built-In Functions; 6.1 Finding Built-In Functions; 6.2 Using Type Conversion Functions; 6.3 Logical Functions; 6.4 Manipulating Dates; 6.5 Manipulating Strings; 6.6 Using Array Functions; 6.7 Generating Random Numbers; 6.8 Example: Shuffling Cards; 6.9 Key Points; Chapter 7: Creating Classes and Objects; 7.1 The Deal with Objects; 7.2 Example 1: Shuffling with Class; 7.3 Construction and Destruction; 7.4 Using Property Procedures; 7.5 Using Structures; 7.6 Trying Times and Exceptional Results; 7.7 Example 2: Shuffling with Property Procedures; 7.8 Key Points; Chapter 8: Using Classes, Modules, and Forms; 8.1 Using .NET Framework Classes; 8.2 Making the Most of Objects and Classes; 8.3 Using Forms; 8.4 Using Modules; 8.5 Example: Dealing Cards; 8.6 Key Points; Chapter 9: Designing and Using Windows Forms; 9.1 Designing User Interfaces; 9.2 Setting Form and Control Properties; 9.3 Using Message Boxes; 9.4 Finding and Creating Icons; 9.5 Example: Creating a Picture Viewer; 9.6 Key Points; Chapter 10: Interacting with Windows Form Controls; 10.1 Form Control Categories; 10.2 Adding and Arranging Form Controls; 10.3 Working with Control Properties; 10.4 Working With Text Boxes, Check Boxes, and Radio Buttons; 10.5 Working with List Boxes; 10.6 Responding to Windows Form Control Events; 10.7 Example: Reporting Crocodiles; 10.8 Key Points; Chapter 11: Accessing Databases; 11.1 SQL Concepts and Syntax; 11.2 Introducing ADO.NET; 11.3 Displaying and Updating a Database; 11.4 Key Points; Chapter 12: Programming Web Forms; 12.1 Introducing the Web; 12.2 Creating Web Projects; 12.3 Examining a New ASP.NET Web Application; 12.4 Designing Web Forms; 12.5 The Life Cycle of an ASP.NET Page; 12.6 Adding Controls to a Web Form; 12.7 Responding to Web Form Events; 12.8 Exchanging Data with the Web Visitor; 12.9 Testing Your Web Project; 12.10 Example: Date Evaluator; 12.11 Key Points; 12.12 For
Next; About the Author;