Synopses & Reviews
This book is designed to teach you how to write useful programs in Visual Basic 2010 as quickly and easily as possible.
There are two kinds of beginners for whom this book is ideal:
You're a beginner to programming and you've chosen Visual Basic 2010 as the place to start. That's a great choice! Visual Basic 2010 is not only easy to learn, it's also fun to use and very powerful.
You can program in another language but you're a beginner to .NET programming. Again, you've made a great choice! Whether you've come from Fortran or Visual Basic 6, you'll find that this book quickly gets you up to speed on what you need to know to get the most from Visual Basic 2010.
Visual Basic 2010 offers a great deal of functionality in both tools and language. No one book could ever cover Visual Basic 2010 in its entirety—you would need a library of books. What this book aims to do is to get you started as quickly and easily as possible. It shows you the roadmap, so to speak, of what there is and where to go. Once we've taught you the basics of creating working applications (creating the windows and controls, how your code should handle unexpected events, what object-oriented programming is, how to use it in your applications, and so on) we’ll show you some of the areas you might want to try your hand at next:
Chapters 1 through 9 provide an introduction to Visual Studio 2010 and Windows programming. These chapters will help you install the Visual Studio 2010 IDE you'll use to create Visual Basic 2010 applications and learn your way around the interface. You'll be introduced to the .NET Framework and the CLR (Common Language Runtime). You'll learn to use variables, data types, comments, methods, and control software flow with the If statement and loops. You'll work with data in arrays, enumerations, constants, structures, ArrayLists, Collections, and tables. Chapter 6 provides an introduction to XAML and Windows Presentation Foundation (WPF) programming. XAML and WPF are the most recent addition to how VB programmers create user interfaces for their applications. You'll also work with events, create toolbars, buttons, forms, display dialog boxes, and create menus.
Chapter 10 provides an introduction to application debugging and error handling.
Chapters 11 through 13 provide an introduction to object-oriented programming (OOP) and building objects. You'll use classes, learn about reusability, work with constructors and inheritance, and see .NET Framework classes and namespaces. You’ll learn to work with OOP memory management, class libraries, you'll register assemblies, and see how to use third party class libraries.
Chapter 14 provides an introduction to creating Windows Forms user controls. While WPF user interfaces are newer, Windows forms are still in widespread use. You'll create and test controls and work with their properties.
Chapters 15 and 16 provide an introduction to programming with databases and covers Access, SQL Server, and ADO.NET. The chapters walk you through the SQL SELECT statement, Access queries, data access components, and data binding.
Chapters 17 and 18 provide an introduction to Dynamic Data Web Sites and ASP.NET and show you how to write applications for the Web. You'll work with the most current ASP.NET 4 web techniques in Visual Studio 2010.
Chapter 19 provides a brief introduction to XML, a powerful tool for integrating your applications with others—regardless of the language they were written in.
Chapter 20 introduces you to deploying applications using ClickOnce technology.
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
A focused, step-by-step approach to Visual Basic for new programmers
What better way to get started with Visual Basic than with this essential Wrox beginner's guide? Beginning Microsoft Visual Basic 2010 not only shows you how to write Windows applications, Web applications with ASP.NET, and Windows mobile and embedded CE apps with Visual Basic 2010, but you'll also get a thorough grounding in the basic nuts-and-bolts of writing good code.
You'll be exposed to the very latest VB tools and techniques with coverage of both the Visual Studio 2010 and .NET 4 releases. Plus, the book walks you step-by-step through tasks, as you gradually master this exciting new release of Microsoft's popular and important programming language. Microsoft's Visual Basic is a frequent first language for new programmers; this clear, focused book walks you through the basics and gets you quickly productive in Visual Basic Features in-depth coverage of the Visual Studio 2010 and .NET 4 releases, so you'll be learning the very latest VB tools and techniques Discusses flow control, data structure, Windows applications, dialog boxes, menus, error handing and debugging, and objects and object oriented techniques Covers class libraries, Windows Forms, graphics programming, accessing databases, Web programming with ASP.NET and Visual Basic, data access, SQL Server, ADO.NET, and XML
Launch your Visual Basic programming career the right way with this practical, thorough guide.
A thorough introduction to the basics of Visual Basic 2010
Synonymous with writing code in Visual Studio 2010, Visual Basic is an incredibly popular programming language. Its speed and ease of use make it a frequent first choice for new programmers, as well as a heavily favored choice for the more experienced set eager to learn Visual Basic's latest iteration. This beginning guide provides you with a solid foundation, unlocking the power and possibilities of Visual Basic 2010 and giving detailed steps for quickly and easily writing useful programs.
Beginning Microsoft Visual Basic 2010:
Details the process for creating Windows Forms applications, WPF Windows applications, web applications, WPF browser applications, mobile device applications, and Web Services
Discusses application debugging, error handling, and dealing with unexpected events
Addresses object-oriented programming and how to use it in your applications
Reviews dynamic data web sites and ASP.NET
Introduces XML and shows how it can be used to integrate your applications with others
Explains deploying applications using ClickOnce technology
Covers Access, SQL Server, and ADO.NET
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
Visual Basic 2010 offers a great deal of functionality in both tools and language. No one book could ever cover Visual Basic 2010 in its entirety—you would need a library of books. What this book aims to do is to get you started as quickly and easily as possible. It shows you the roadmap, so to speak, of what there is and where to go. Once we've taught you the basics of creating working applications (creating the windows and controls, how your code should handle unexpected events, what object-oriented programming is, how to use it in your applications, and so on) we’ll show you some of the areas you might want to try your hand at next.
About the Author
Bryan Newsome is an author or coauthor of many books and works for a Microsoft Partner in Charlotte specializing in Custom Software Solutions. He provides clients with solutions and mentoring on leading-edge Microsoft technologies.
Table of Contents
CHAPTER 1 Welcome to Visual Basic 2010.
CHAPTER 2 TheMicrosoft.NET Framework.
CHAPTER 3 Writing Software.
CHAPTER 4 Controlling the Flow.
CHAPTER 5 Working with Data Structures.
CHAPTER 6 Extensible ApplicationMarkup Language (XAML).
CHAPTER 7 Building Windows Applications.
CHAPTER 8 Displaying Dialog Boxes.
CHAPTER 9 CreatingMenus.
CHAPTER 10 Debugging and Error Handling.
CHAPTER 11 Building Objects.
CHAPTER 12 Advanced Object-Oriented Techniques.
CHAPTER 13 Building Class Libraries.
CHAPTER 14 CreatingWindows Forms User Controls.
CHAPTER 15 Accessing Databases.
CHAPTER 16 Database Programming with SQL Server and ADO.NET.
CHAPTER 17 Dynamic DataWeb Site.
CHAPTER 18 ASP.NET.
CHAPTER 19 Visual Basic 2010 and XML.
CHAPTER 20 Deploying Your Application.
APPENDIX A Exercise Solutions.
APPENDIX B Where to Now?