Beginning Visual Basic 2010

Beginning Visual Basic 2010

3.82 (11 ratings by Goodreads)
By (author)  , By (author) 

Free delivery worldwide

Available. Expected delivery to the United States in 10-15 business days.

Not ordering to the United States? Click here.


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.
show more

Product details

  • Paperback | 724 pages
  • 189 x 238 x 36mm | 1,218g
  • New York, United States
  • English
  • 1. Auflage
  • 0470502223
  • 9780470502228
  • 470,922

Back cover copy

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. Programmer Forums 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. Code Downloads Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use. Read More Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
show more

Table of contents

INTRODUCTION xxix CHAPTER 1: WELCOME TO VISUAL BASIC 2010 1 Event-Driven Programming 2 Installing Visual Basic 2010 3 The Visual Studio 2010 IDE 6 Creating a Simple Application 10 Using the Help System 20 Summary 20 CHAPTER 2: THE MICROSOFT .NET FRAMEWORK 23 Microsoft s Reliance on Windows 23 Writing Software for Windows 27 Common Language Runtime 30 The Common Type System and Common Language Specification 33 Summary 33 CHAPTER 3: WRITING SOFTWARE 37 Information and Data 37 Working with Variables 39 Comments and Whitespace 42 Data Types 44 Storing Variables 65 Methods 70 Summary 80 CHAPTER 4: CONTROLLING THE FLOW 83 Making Decisions 83 The If Statement 84 Select Case 98 Loops 106 Summary 120 CHAPTER 5: WORKING WITH DATA STRUCTURES 123 Understanding Arrays 123 Understanding Enumerations 133 Understanding Constants 139 Structures 142 Working with ArrayLists 146 Working with Collections 153 Building Lookup Tables with Hashtable 157 Advanced Array Manipulation 164 Summary 166 CHAPTER 6: EXTENSIBLE APPLICATION MARKUP LANGUAGE (XAML) 169 What Is XAML? 170 XAML Syntax 171 Windows Presentation Foundation 174 Summary 189 CHAPTER 7: BUILDING WINDOWS APPLICATIONS 193 Responding to Events 193 Building a Simple Application 201 Counting Characters 205 Counting Words 207 Creating More Complex Applications 213 Creating the Toolbar 214 Creating the Status Bar 218 Creating an Edit Box 220 Clearing the Edit Box 222 Responding to Toolbar Buttons 224 Using Multiple Forms 230 Summary 233 CHAPTER 8: DISPLAYING DIALOG BOXES 237 The MessageBox 237 The OpenFileDialog Control 244 The SaveDialog Control 252 The FontDialog Control 257 The ColorDialog Control 260 The PrintDialog Control 263 The FolderBrowserDialog Control 271 Summary 275 CHAPTER 9: CREATING MENUS 277 Understanding Menu Features 277 Creating Menus 280 Context Menus 290 Summary 297 CHAPTER 10: DEBUGGING AND ERROR HANDLING 299 Major Error Types 300 Debugging 305 Error Handling 331 Summary 335 CHAPTER 11: BUILDING OBJECTS 339 Understanding Objects 339 Building Classes 343 Reusability 344 Designing an Object 345 Constructors 357 Inheritance 359 Objects and Structures 369 The Framework Classes 370 Summary 377 CHAPTER 12: ADVANCED OBJECT-ORIENTED TECHNIQUES 381 Building a Favorites Viewer 381 An Alternative Favorite Viewer 399 Using Shared Properties and Methods 404 Understanding Object-Oriented Programming and Memory Management 410 Summary 414 CHAPTER 13: BUILDING CLASS LIBRARIES 417 Understanding Class Libraries 418 Using Strong Names 424 Registering Assemblies 428 Designing Class Libraries 429 Using Third-Party Class Libraries 430 Viewing Classes with the Object Browser 431 Summary 432 CHAPTER 14: CREATING WINDOWS FORMS USER CONTROLS 435 Windows Forms Controls 436 Creating and Testing a User Control 436 Exposing Properties from User Controls 440 Design Time or Runtime 447 Creating a Command Link Control 449 Summary 460 CHAPTER 15: ACCESSING DATABASES 463 What Is a Database? 464 The SQL SELECT Statement 465 Queries in Access 467 Data Access Components and Controls 471 Data Binding 473 Summary 479 CHAPTER 16: DATABASE PROGRAMMING WITH SQL SERVER AND ADO.NET 483 ADO.NET 485 The ADO.NET Classes in Action 497 Data Binding 506 Summary 533 CHAPTER 17: DYNAMIC DATA WEB SITE 537 Creating a Dynamic Data Linq to SQL Web Site 537 Summary 547 CHAPTER 18: ASP.NET 549 Thin-Client Architecture 550 Web Forms versus Windows Forms 551 Web Applications: The Basic Pieces 552 Active Server Pages 553 Building Web Sites 555 Summary 579 CHAPTER 19: VISUAL BASIC 2010 AND XML 583 Understanding XML 583 The Address Book Project 587 Integrating with the Address Book Application 611 Summary 618 CHAPTER 20: DEPLOYING YOUR APPLICATION 621 What Is Deployment? 621 Creating a Visual Studio 2010 Setup Application 627 User Interface Editor 630 Deploying Different Solutions 633 Summary 637 Appendix A: Exercise Solutions 639 Appendix B: Where to Now? 655 INDEX 661
show more

About Thearon Willis

Thearon Willis is an author or coauthor of nearly a dozen books and a senior consultant who develops intranet applications using ASP.NET, DHTML, XML, JavaScript, VBScript, VB COM components, and SQL Server. 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.
show more

Rating details

11 ratings
3.82 out of 5 stars
5 45% (5)
4 18% (2)
3 18% (2)
2 9% (1)
1 9% (1)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X