Skip to main content

VisualBasic .NET For Dummies

VisualBasic .NET For Dummies

Wallace Wang

ISBN: 978-0-764-50867-7

Nov 2001

432 pages

Select type: Paperback

In Stock

$39.99

Description

Would you like to write Windows programs but don’t know where to start?

Visual Basic. NET, the latest distribution of Microsoft’s programming language was designed to let anybody—even people with no prior programming experience—create sophisticated programs with stunning user interfaces, quickly and easily. A true marvel of computing technology, Visual Basic .NET combines BASIC, the only programming language specifically designed to teach beginners how to program, with a completely intuitive drawing program that lets you create cool user interfaces without having to write a single line of code.

Written by computer book author and well-known stand-up comic Wallace Wang, Visual Basic .NET For Dummies offers you a fun and easy way to master VB .NET programming. Featuring crystal-clear explanations along with dozens of working examples, it gives you what you need to tap the power of Visual Basic .NET.  In no time you’ll:

  • Design a user interface
  • Create pull-down menus
  • Write programs on any scale—both large and small
  • Debug your programs
  • Write your own code
  • Work with loops, subrouting, and decision commands
  • Use object-oriented techniques in your programming

Visual Basic .NET For Dummies was designed to give you the confidence and skills you need to start building Windows programs right away—not turn you into a computer scientist. To that end, it features hands-on, jargon-free coverage of the full range of practical VB .NET topics, including:

  • Getting started and using the Visual Basic .NET interface
  • Creating full-featured user interfaces
  • Making menus--including pull-downs, submenus, growing menus, pop-up menus—and showing dialog boxes
  • Writing BASIC code
  • Making programs appear intelligent by using loops and decision commands
  • Writing small subprograms and combining them to make large, robust programs
  • Getting a handle on object-oriented programming

Visual Basic .NET For Dummies is the pain-free way to get up to speed on Visual Basic programming and all the new features in Visual Basic .NET.

Introduction 1

Part I: Creating a Visual Basic .NET Program 7

Chapter 1: How Visual Basic .NET Works 9

Chapter 2: Using the Visual Basic .NET User Interface 15

Chapter 3: Designing Your First User Interface 25

Chapter 4: Writing BASIC Code 35

Part II: Creating User Interfaces 49

Chapter 5: User Interface Design 101 51

Chapter 6: Designing Forms 73

Chapter 7: Boxes and Buttons for Making Choices 87

Chapter 8: Text Boxes and Labels for Typing and Showing Words 95

Chapter 9: Showing Choices with List and Combo Boxes 105

Chapter 10: Fine-Tuning the Appearance of Your User Interface 115

Part III: Making Menus 121

Chapter 11: Creating and Editing Pull-Down Menus 123

Chapter 12: Submenus, Growing Menus, and Pop-Up Menus 137

Chapter 13: Showing Dialog Boxes 147

Part IV: The Basics of Writing Code 165

Chapter 14: Writing Event-Handling Procedures 167

Chapter 15: Using Variables 181

Chapter 16: Getting Data from the User 195

Chapter 17: Math 101: Arithmetic, Logical, and Comparison Operators 203

Chapter 18: Strings and Things 219

Chapter 19: Defining Constants and Using Comments 233

Chapter 20: Storing Stuff in Data Structures 245

Chapter 21: Killing Bugs 257

Part V: Making Decisions and Getting Loopy 269

Chapter 22: Making Decisions with If-Then Statements 271

Chapter 23: The Select Case Statement 281

Chapter 24: Repeating Yourself with Loops 287

Chapter 25: For-Next Loops That Can Count 295

Chapter 26: Nested Loops and Quick Exits 301

Part VI: Writing Subprograms (So You Don’t Go Crazy All at Once) 305

Chapter 27: General Procedures (Subprograms That Everyone Can Share) 307

Chapter 28: Passing Arguments 317

Chapter 29: Function, a Unique Type of Subprogram 325

Part VII: Understanding Object-Oriented Programming 335

Chapter 30: What the Heck Is Object-Oriented Programming? 337

Chapter 31: Getting Some Class with Object-Oriented Programming 345

Chapter 32: Using Inheritance and Overloading 355

Part VIII: The Part of Tens 365

Chapter 33: Ten Visual Basic .NET Topics That Didn’t Fit Anywhere Else 367

Chapter 34: (Almost) Ten Tips for Using the Visual Basic .NET User Interface 375

Index 379