Synopses & Reviews
In just 24 sessions of one hour or less, you will be up and running with Visual Basic 2008. Using a straightforward, step-by-step approach, each lesson builds upon a real-world foundation forged in both technology and business matters, allowing you to learn the essentials of Visual Basic 2008 from the ground up. Step-by-step instructions carefully walk you through the most common questions, issues, and tasks. The Q&A section, quizzes, and exercises help you build and test your knowledge.
By the Way notes present interesting pieces of information. Did You Know? tips offer advice or teach an easier way to do something. Watch Out! cautions advise you about potential problems and help you steer clear of disaster.
Learn how to…
- Use the powerful design environment of Visual Studio 2008
- Design feature-rich interfaces using components such as tree views and tabs
- Create robust applications using modern error-handling
- Draw fast graphics using GDI+
- Build a database application using ADO.NET
- Distribute a Visual Basic 2008 Application
- Manipulate the Windows Registry
- Create, read, and write text files
- Use event-driven techniques to build responsive applications
DVD Includes: Microsoft Visual Basic 2008 Express Edition
On the Web: Register your book at informit.com/title/9780672329845 for access to author code, examples, updates and corrections as they become available.
Looking to break into C# programming? Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit is a valuable resource. You will start by learning the basics of the Visual C# environment and begin to build working programs very quickly. As the programs become more complex, you will discover more of the advanced features of the C# programming language and the Visual C# tool. Set with the practical goal of providing you with a solid foundation from which to grow and develop your C# programming skills, this book is perfect for use in a professional setting or for use with personal projects. The accompanying CD includes Visual C# 2005 Express Edition, a streamlined, easy-to-use development tool that makes Windows programming with C# fun. Jump in with both feet with the help of Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit,
Written in the famous "teach yourself" style, this book-and-DVD starter kit provides the reader with a solid foundation from which to grow and develop Visual Basic programming skills, whether for use in a professional setting or just for projects of personal interest.
Visual Basic is one of the most widely used programming languages in existence, with more than 3,000,000 users. The newest version, 2008, includes several important new features, including Language Integrated Query (LINQ), tighter integration with version 3.5 of the .NET Framework (especially Windows Presentation Foundation, Windows Workflow Foundation, and Windows Communication Foundation), and full support for programming Vista and Office 2007. The proven Sams Teach Yourself method will help all newcomers to Visual Basic 2008 get up to speed quickly, no matter whether you have had experience with previous versions of Visual Basic or not. You are taken step by step through the process of software development, learning elements as you build a sample application so that the material is framed in a real world approach. The accompanying DVD contains Visual Basic 2008 Express Edition, and the companion Web site contains all the code and exercises from the book.
About the Author
James Foxall is vice president of Tigerpaw Software, Inc. (www.tigerpawsoftware.com), a Bellevue, Nebraska, Microsoft Certified Partner specializing in commercial database applications. He manages the development, support, training, and education of Tigerpaw CRM+, an award-winning CRM product designed to automate contact management, marketing, service and repair, proposal generation, inventory control, and purchasing. At the start of 2008, the current release of Tigerpaw CRM+ had more than 16,000 licensed users. Foxall’s experience in creating certified Office-compatible software has made him an authority on application interface and behavior standards of applications for the Microsoft Windows and Microsoft Office environments.
Foxall has been writing commercial production Visual Basic code for more than 14 years, in both single-programmer and multiple-programmer environments. He’s the author of numerous books, including Practical Standards for Microsoft Visual Basic and MCSD in a Nutshell: The Visual Basic Exams. He also has written articles for Access-Office-VBA Advisor and Visual Basic Programmer’s Journal. Foxall has a bachelor’s degree in management of information systems (MIS). He is a Microsoft Certified Solution Developer and an international speaker on Microsoft Visual Basic. When not programming or writing about programming, he enjoys spending time with his family, playing guitar, listening to amazing bands like Pink Floyd and OSI, and playing computer games. You can reach him at www.jamesfoxall.com/forums.
Table of Contents
PART I: The Visual Basic 2008 Environment
HOUR 1 Jumping in with Both Feet: A Visual Basic 2008 Programming Tour 7
HOUR 2 Navigating Visual Basic 2008 33
HOUR 3 Understanding Objects and Collections 63
HOUR 4 Understanding Events 85
PART II: Building a User Interface
HOUR 5 Building Forms: The Basics 105
HOUR 6 Building Forms: Advanced Techniques 127
HOUR 7 Working with Traditional Controls 155
HOUR 8 Using Advanced Controls 183
HOUR 9 Adding Menus and Toolbars to Forms 203
PART III: Making Things Happen: Programming
HOUR 10 Creating and Calling Code Procedures 229
HOUR 11 Using Constants, Data Types, Variables, and Arrays 249
HOUR 12 Performing Arithmetic, String Manipulation, and Date/Time Adjustments 281
HOUR 13 Making Decisions in Visual Basic Code 305
HOUR 14 Looping for Efficiency 323
HOUR 15 Debugging Your Code 337
HOUR 16 Designing Objects Using Classes 361
HOUR 17 Interacting with Users 381
PART IV: Working with Data
HOUR 18 Working with Graphics 405
HOUR 19 Performing File Operations 425
HOUR 20 Working with Text Files and the Registry 443
HOUR 21 Working with a Database 467
HOUR 22 Controlling Other Applications Using Automation 485
PART V: Deploying Solutions and Beyond
HOUR 23 Deploying Applications 499
HOUR 24 The 10,000-Foot View 509