Visual Basic 6 For Dummies

1. Auflage August 1998
512 Seiten, Softcover
Wiley & Sons Ltd
Create your own custom Visual Basic programs fast for Windows 95, Windows 98, and Windows NT!
If you want to develop business applications for Windows, then Microsoft's Visual Basic 6 programming environment is for you. With its powerful and friendly object-oriented interface, Visual Basic 6 is the ideal tool for creating easy-to-use and attractive interfaces of your own. Whether you want to build original programs from the ground up or take advantage of existing wizards, Visual Basic 6 For Dummies will help you design and debug your work - and accomplish all your goals!
* Covers using Visual Basic 6 with Windows 95, Windows 98, and Windows NT
* Walks you through the ins and outs of object-oriented programming in Visual Basic and using the Visual Basic toolset
* Shows you how to make use of menus and submenus, write subprograms that everyone can share, save and retrieve information in databases, integrate ActiveX controls into your applications, and build attractive user interfaces with buttons, boxes, and scroll bars
From the fundamentals of writing BASIC code to the thrill of distributing your very own custom applications, Visual Basic 6 For Dummies brings a fresh perspective to programming in Visual Basic 6 that everyone can understand.
Part I: Creating a Visual Basic 6 Program 7
Chapter 1: How Visual Basic Works 9
Chapter 2: Using the Visual Basic User Interface 15
Chapter 3: Designing Your First User Interface 23
Chapter 4: Writing BASIC Code 41
Part II: Creating User Interfaces 53
Chapter 5: User Interface Design 101 55
Chapter 6: Forms and Buttons 81
Chapter 7: Boxes and Buttons for Making Choices 103
Chapter 8: Text Boxes for Typing and Showing Words 123
Chapter 9: Scroll Bars and Labels 135
Chapter 10: Pretty Pictures and Objects from Geometry 145
Part III: Making Menus 161
Chapter 11: Creating and Editing Pull-Down Menus 163
Chapter 12: Submenus, Growing Menus, and Pop-Up Menus 181
Chapter 13: Dialog Boxes 191
Part IV: The Basics of Writing Code 207
Chapter 14: Event Procedures 209
Chapter 15: Using Variables 223
Chapter 16: Responding to the User 247
Chapter 17: Math 101: Arithmetic, Logical, and Comparison Operators 259
Chapter 18: Strings and Things 275
Chapter 19: Defining Constants and Using Comments 287
Chapter 20: Killing Bugs 299
Part V: Making Decisions (Something You Stop Doing When You Get Married) 309
Chapter 21: The If-Then and If-Then-Else Statements 311
Chapter 22: The Select Case Statement 321
Part VI: Getting Loopy 327
Chapter 23: The Do While and Do-Loop While Loops 329
Chapter 24: The Do Until and Do-Loop Until Loops 335
Chapter 25: For Next Loops That Can Count 341
Chapter 26: Nested Loops and Quick Exits 349
Part VII: Writing Subprograms (So You Don't Go Crazy All at Once) 353
Chapter 27: General Procedures (Subprograms Tha Everyone Can Share) 355
Chapter 28: Passing Arguments 363
Chapter 29: Functions, a Unique Type of Subprogram 373
Chapter 30: Getting Some Class with Object-Oriented Programming 385
Chapter 31: Managing Files 403
Part VIII: Database Files and Printing 409
Chapter 32: Creating Database Files 411
Chapter 33: Using Files from Database Programs You'd Rather Not Use 417
Chapter 34: Making Your Program Print Stuff 433
Part IX: The Part of Tens 441
Chapter 35: The Ten Visual Basic Topics That Didn't Fit Anywhere Else 443
Appendix A: About the CD 451
Index 459
End-User License Agreement 476