Visual Basic 2005 Programmer's Reference
Visual Basic 2005 adds new features to Visual Basic (VB) that make it a more powerful programming language than ever before. This combined tutorial and reference describes VB 2005 from scratch, while also offering in-depth content for more advanced developers. Whether you're looking to learn the latest features of VB 2005 or you want a refresher of easily forgotten details, this book is an ideal resource.
Well-known VB expert Rod Stephens features the basics of Visual Basic 2005 programming in the first half of the book. The second half serves as a reference that allows you to quickly locate information for specific language features. It's a comprehensive look at programming using the increased set of language options offered with the VB 2005 release, confirming that there has never been a better time to learn Visual Basic than now.
What you will learn from this book:
- The fundamental concepts of object-oriented programming with Visual Basic, including classes and structures, inheritance and interfaces, and generics
- How an application can interact with its environment, save and load data in external sources, and use standard dialog controls
- The syntax for declaring subroutines, functions, generics, classes, and other important language concepts
Who this book is for:
This book is for programmers at all levels who are either looking to learn Visual Basic 2005 or have already mastered it and want some useful tips, tricks, and language details.
Wrox Programmer's References are designed to give the experienced developer straight facts on a new technology, without hype or unnecessary explanations. They deliver hard information with plenty of practical examples to help you apply new tools to your development projects today.
Chapter 1: IDE.
Chapter 2: Controls in General.
Chapter 3: Program and Module Structure.
Chapter 4: Data Types, Variables, and Constants.
Chapter 5: Operators.
Chapter 6: Subroutines and Functions.
Chapter 7: Program Control Statements.
Chapter 8: Error Handling.
Chapter 9: Introduction to Windows Forms Controls.
Chapter 10: Forms.
Chapter 11: Database Controls and Objects.
Chapter 12: Custom Controls.
Chapter 13: Drag and Drop, and the Clipboard.
Chapter 14: OOP Concepts.
Chapter 15: Classes and Structures.
Chapter 16: Namespaces.
Chapter 17: Collection Classes.
Chapter 18: Generics.
Chapter 19: Drawing Basics.
Chapter 20: Brushes, Pens, and Paths.
Chapter 21: Text.
Chapter 22: Image Processing.
Chapter 23: Printing.
Chapter 24: Reporting.
Chapter 25: Configuration and Resources.
Chapter 26: Streams.
Chapter 27: File-System Objects.
Chapter 28: Useful Namespaces.
Appendix A: Useful Control Properties, Methods, and Events.
Appendix B: Variable Declarations and Data Types.
Appendix C: Operators.
Appendix D: Subroutine and Function Declarations.
Appendix E: Control Statements.
Appendix F: Error Handling.
Appendix G: Standard Controls and Components.
Appendix H: Form Objects.
Appendix I: Classes and Structures.
Appendix J: Generics.
Appendix K: Graphics.
Appendix L: Useful Exception Classes.
Appendix M: Date and Time Format Specifiers.
Appendix N: Other Format Specifiers.
Appendix O: The Application Class.
Appendix P: The My Namespace.
Appendix Q: Streams.
Appendix R: File-System Classes.
Rod has written 14 books that have been translated into half a dozen different languages, and more than 200 magazine articles covering Visual Basic, Visual Basic for Applications, Delphi, and Java. He is currently a columnist for Visual Basic Developer (www.pinnaclepublishing.com).
Rod’s popular VB Helper Web site (www.vb-helper.com) receives several million hits per month and contains thousands of pages of tips, tricks, and example code for Visual Basic programmers, as well as example code for this book.
|Download source code
Download a .zip file with all the source code and project files used in the book.
To uncompress the file, Windows users can use Windows built-in ZIP utilities or a 3rd party utility like WinZip or WinRAR.
|6.46 MB||Click to Download|
Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.
|26||Error in Text
On page 26, in the first paragraph:
"In Figure 1-21, line number 4 displays..."
"In Figure 1-21, line number 3 displays..."
|33||Error in Text
Middle of the page, "Command and Intermediate" should be "Command and Immediate"
|179||Error in Code/Text
In the table at the bottom of the page the Meaning for Syntax "result_boolan = Date.op_Equality(date1, date2)"
"True if date1 > date2"
"True if date1 = date2"
|212||Error in Code
Second highlighted code:
variable = IIf(condition, value_if_false, value_if_true)
Should read as:
variable = IIf(condition, value_if_true, value_if_false)