Beginning Visual Basic 2010 - Willis Thearon; Newsome Bryan | Libro John Wiley & Sons 03/2010 - HOEPLI.it


home libri books ebook dvd e film top ten sconti 0 Carrello


Torna Indietro

willis thearon; newsome bryan - beginning visual basic 2010

Beginning Visual Basic 2010

;


Disponibilità: Normalmente disponibile in 10 giorni

PREZZO
€ 40,90
NICEPRICE
€ 34,76
SCONTO
15%



Questo prodotto usufruisce delle SPEDIZIONI GRATIS
selezionando l'opzione Corriere Veloce in fase di ordine.


Pagabile anche con App18 Bonus Cultura e Carta Docenti


Facebook Twitter Aggiungi commento


Spese Gratis

Dettagli

Genere:Libro
Lingua: Inglese
Pubblicazione: 03/2010





Note Editore

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.

wrox.com





Sommario

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





Trama

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.




Autore

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.








Altre Informazioni

ISBN: 9780470502228
Condizione: Nuovo
Collana: Wrox - Programmer to Programmer
Dimensioni: 238 x 35.63 x 189 mm Ø 1218 gr
Formato: Brossura
Pagine Arabe: 724






Utilizziamo i cookie di profilazione, anche di terze parti, per migliorare la navigazione, per fornire servizi e proporti pubblicità in linea con le tue preferenze. Se vuoi saperne di più o negare il consenso a tutti o ad alcuni cookie clicca qui. Chiudendo questo banner o proseguendo nella navigazione acconsenti all’uso dei cookie.

X