Book description
In just 24 sessions of one hour or less, you’ll learn how to build complete, reliable, and modern Windows applications with Microsoft® Visual Basic® 2015. Using a straightforward, step-by-step approach, each lesson builds on what you’ve already learned, giving you a strong foundation for success with every aspect of VB 2015 development.
Notes present interesting pieces of information.
Tips offer advice or teach an easier way to do something.
Cautions advise you about potential problems and help you steer clear of disaster.
Learn How To
Master VB 2015 by building a complete feature-rich application
Navigate VB 2015 and discover its new shortcuts
Work with objects, collections, and events
Build attractive, highly-functional user interfaces
Make the most of forms, controls, modules, and procedures
Efficiently store data and program databases
Make decisions in code
Use powerful object-oriented techniques
Work with graphics and text files
Manipulate filesystems and the Registry
Add email support
Create efficient modules and reusable procedures
Interact effectively with users
Write code to preview and print documents
Debug with VB 2015’s improved breakpoint features
Distribute your software
Download all examples and source code presented in this book from informit.com/title/9780672337451 as they become available.
Who Should Read This Book
Those who have little or no programming experience or who might be picking up Visual Basic as a second language.
Bug Alert
Description: Changing the startup form's name in a VB WinForms app does not update the "Startup form" #4517
Explanation: In the latest Visual
Basic update on GitHub, Microsoft accidentally introduced a
significant bug that you should be aware of. In the Visual
Basic project properties dialog on one of the tabs (Application),
is a drop down box for selecting the "startup object". This can be
either a Main method or a System.Windows.Forms instance (or
System.Windows.Window for WPF). When you do a rename on a form (say
from the code editor in source or from the solution explorer)
currently set as the startup form the rename doesn't cascade to the
startup object project property cause the project to enter an
invalid state where the user must now manually reset this project
property from the now nonexistent Form to the new name. This is a
huge annoyance.
The fix for the bug (until Microsoft addresses) can be found
here:
http://www.jamesfoxall.com/teach-visual-basic-2015-errata/
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Author
- Dedication
- Acknowledgments
- We Want to Hear from You!
- Reader Services
- Introduction
-
Part I: The Visual Basic 2015 Environment
- Hour 1. Jumping in with Both Feet: A Visual Basic 2015 Programming Tour
-
Hour 2. Navigating Visual Basic 2015
- Using the Visual Basic 2015 Start Page
- Navigating and Customizing the Visual Basic Environment
- Working with Toolbars
- Adding Controls to a Form Using the Toolbox
- Setting Object Properties Using the Properties Window
- Managing Projects
- A Quick-and-Dirty Programming Primer
- Getting Help
- Summary
- Q&A
- Workshop
- Exercises
- Hour 3. Understanding Objects and Collections
- Hour 4. Understanding Events
-
Part II: Building a User Interface
- Hour 5. Building Forms: The Basics
- Hour 6. Building Forms: Advanced Techniques
- Hour 7. Working with Traditional Controls
- Hour 8. Using Advanced Controls
- Hour 9. Adding Menus and Toolbars to Forms
-
Part III: Making Things Happen—Programming
- Hour 10. Creating and Calling Code Procedures
- Hour 11. Using Constants, Data Types, Variables, and Arrays
- Hour 12. Performing Arithmetic, String Manipulation, and Date/Time Adjustments
- Hour 13. Making Decisions in Visual Basic Code
- Hour 14. Looping for Efficiency
-
Hour 15. Debugging Your Code
- Adding Comments to Your Code
- Identifying the Two Basic Types of Errors
- Using Visual Basic’s Debugging Tools
- Breaking Only When a Condition Is Met
- Breaking Only When a Breakpoint Is Hit a Certain Number of Times
- Sending Messages to the Output Window Using Tracepoints
- Writing an Error Handler Using Try...Catch...Finally
- Summary
- Q&A
- Workshop
- Exercises
- Hour 16. Designing Objects Using Classes
- Hour 17. Interacting with Users
- Hour 18. Working with Graphics
-
Part IV: Working with Data
- Hour 19. Performing File Operations
- Hour 20. Working with the Registry and Text Files
- Hour 21. Working with a Database
- Hour 22. Printing
- Hour 23. Sending Emails
- Part V: Deploying Solutions and Beyond
- Appendix A. The 10,000-Foot View
- Index
- Code Snippets
Product information
- Title: Visual Basic 2015 in 24 Hours, Sams Teach Yourself
- Author(s):
- Release date: August 2015
- Publisher(s): Sams
- ISBN: 9780134191874
You might also like
audiobook
Technically Wrong
Buying groceries, tracking our health, finding a date: whatever we want to do, odds are that …
audiobook
How to Do Nothing
A galvanizing critique of the forces vying for our attention-and our personal information-that redefines what we …
audiobook
Fall in Love with the Problem, Not the Solution
Unicorns-companies that reach a valuation of more than $1 billion-are rare. Uri Levine has built two. …
video
Node.js - The Complete Guide
Node.js is one of the most popular and modern server-side programming languages and is used widely …