Book description
Your hands-on, step-by-step guide to learning Visual Basic
2010.
Teach yourself the essential tools and techniques for Visual Basic
2010-one step at a time. No matter what your skill level, you'll
find the practical guidance and examples you need to start building
professional applications for Windows and the Web.
Discover how to:
Work in the Microsoft Visual Studio 2010 Integrated Development Environment (IDE)
Master essential techniques-from managing data and variables to using inheritance and dialog boxes
Create professional-looking Uis; add visual effects and print support
Build compelling Web features with the Visual Web Developer tool
Use Microsoft ADO.NET and advanced data presentation controls
Debug your programs and handle run-time errors
Use new features, such as Query Builder, and Microsoft .NET Framework
For customers who purchase an ebook version of this title,
instructions for downloading the CD files can be found in the
ebook.
Table of contents
- Dedication
- Acknowledgments
- Introduction
-
I. Getting Started with Microsoft Visual Basic 2010
-
1. Exploring the Visual Studio Integrated Development
Environment
- The Visual Studio Development Environment
- The Visual Studio Tools
- The Properties Window
- Moving and Resizing the Programming Tools
- Switching Among Open Files and Tools by Using the IDE Navigator
- Opening a Web Browser Within Visual Studio
- Getting Help
- Customizing IDE Settings to Match Step-by-Step Exercises
- One Step Further: Exiting Visual Studio
- Chapter 1 Quick Reference
-
2. Writing Your First Program
- Lucky Seven: Your First Visual Basic Program
- Programming Steps
- Creating the User Interface
- Setting the Properties
- The Picture Box Properties
- Writing the Code
- A Look at the Button1_Click Procedure
- Running Visual Basic Applications
- Sample Projects on Disk
- Building an Executable File
- Deploying Your Application
- One Step Further: Adding to a Program
- Chapter 2 Quick Reference
- 3. Working with Toolbox Controls
- 4. Working with Menus, Toolbars, and Dialog Boxes
-
1. Exploring the Visual Studio Integrated Development
Environment
-
II. Programming Fundamentals
-
5. Visual Basic Variables and Formulas and the .NET
Framework
- The Anatomy of a Visual Basic Program Statement
- Using Variables to Store Information
- Using Variables in a Program
- Using a Variable to Store Input
- Using a Variable for Output
- Working with Specific Data Types
- Working with Visual Basic Operators
- Working with Math Methods in the .NET Framework
- One Step Further: Establishing Order of Precedence
- Chapter 5 Quick Reference
- 6. Using Decision Structures
-
7. Using Loops and Timers
- Writing For … Next Loops
- Using a Counter Variable in a Multiline TextBox Control
- Creating Complex For … Next Loops
- Writing Do Loops
- Avoiding an Endless Loop
- The Timer Control
- Creating a Digital Clock by Using a Timer Control
- Using a Timer Object to Set a Time Limit
- One Step Further: Inserting Code Snippets
- Chapter 7 Quick Reference
-
8. Debugging Visual Basic Programs
- Finding and Correcting Errors
- Three Types of Errors
- Identifying Logic Errors
- Debugging 101: Using Debugging Mode
- Tracking Variables by Using a Watch Window
- Visualizers: Debugging Tools That Display Data
- Using the Immediate and Command Windows
- Switching to the Command Window
- One Step Further: Removing Breakpoints
- Chapter 8 Quick Reference
-
9. Trapping Errors by Using Structured Error Handling
- Processing Errors by Using the Try … Catch Statement
- Writing a Disc Drive Error Handler
- Using the Finally Clause to Perform Cleanup Tasks
- More Complex Try … Catch Error Handlers
- Comparing Error Handlers with Defensive Programming Techniques
- One Step Further: The Exit Try Statement
- Chapter 9 Quick Reference
- 10. Creating Modules and Procedures
- 11. Using Arrays to Manage Numeric and String Data
- 12. Working with Collections
- 13. Exploring Text Files and String Processing
-
5. Visual Basic Variables and Formulas and the .NET
Framework
-
III. Designing the User Interface
- 14. Managing Windows Forms and Controls at Run Time
- 15. Adding Graphics and Animation Effects
- 16. Inheriting Forms and Creating Base Classes
- 17. Working with Printers
-
IV. Database and Web Programming
- 18. Getting Started with ADO .NET
- 19. Data Presentation Using the DataGridView Control
- 20. Creating Web Sites and Web Pages by Using Visual Web Developer and ASP.NET
- A. Where to Go for More Information
- Index
- About the Author
- Copyright
Product information
- Title: Microsoft® Visual Basic® 2010 Step by Step
- Author(s):
- Release date: May 2010
- Publisher(s): Microsoft Press
- ISBN: 9780735645332
You might also like
book
Microsoft® Offic Excel® 2007 Visual Basic® for Applications Step by Step
Quickly teach yourself how to automate tasks and create custom spreadsheet solutions with Excel 2007 Visual …
book
Professional Visual Basic® 2010 and .NET 4
Intermediate and advanced coverage of Visual Basic 2010 and .NET 4 for professional developers If you've …
book
Visual Basic 2015 Unleashed
Using Visual Basic 2015, developers can build cutting-edge applications that run practically anywhere: on Windows desktops, …
book
The College Solution: A Guide for Everyone Looking for the Right School at the Right Price, Second Edition
This bestseller has been completely updated to provide you with the answers that you need to …