Visual Basic 2012 Programmer's Reference - Stephens Rod | Libro John Wiley & Sons 08/2012 - HOEPLI.it


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


Torna Indietro

stephens rod - visual basic 2012 programmer's reference

Visual Basic 2012 Programmer's Reference




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: 08/2012





Note Editore

Learn to write code that leverages the latest features of Visual Basic 2012

Visual Basic 2012 is packed with powerful features and this book will help you master them all. You'll gain a solid understanding of essential Visual Basic topics and begin applying the information to perform a host of important development tasks. The tutorials inside are filled with code examples and the best methods for using them to write your own programs. Soon you'll be building sophisticated applications as you learn to get the most out of forms, windows, controls, and other objects that help make Visual Basic such a popular programming language.

Visual Basic 2012 Programmer's Reference:

  • Explores the Visual Studio integrated development environment (IDE) from a developer's point of view
  • Covers the objects a program uses to build a user interface and implement the program's functionality
  • Shows how to perform specific tasks and why one approach might be better than another
  • Discusses the fundamental concepts of object–oriented programming
  • Uncovers how an application can interact with its environment, including loading data in external sources
  • Offers a quick review of the syntax for particular commands

Wrox Programmer's References are designed to give the experienced developer straight facts on a new technology, without hype or unnecessary explanations. They deliver hard information with plenty of practical examples.

wrox.com

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.





Sommario

INTRODUCTION xxvii

PART I: IDE

CHAPTER 1: INTRODUCTION TO THE IDE 3

Introducing the IDE 3

Different IDE Appearances 4

IDE Configurations 5

Projects and Solutions 6

Starting the IDE 6

Creating a Project 8

Saving a Project 11

Summary 13

CHAPTER 2: MENUS, TOOLBARS, AND WINDOWS 15

IDE Tools 15

Menus 16

File 16

Edit 18

View 19

Project 20

Build 24

Debug 24

Data 24

Format 25

Tools 25

Test 28

Window 28

Help 29

Toolbars 30

Secondary Windows 30

Toolbox 32

Properties Window 33

Summary 33

CHAPTER 3: WINDOWS FORMS DESIGNER 35

Introducing Windows Forms Designer 35

Setting Designer Options 35

Adding Controls 37

Selecting Controls 38

Copying Controls 39

Moving and Sizing Controls 40

Arranging Controls 40

Setting Properties 40

Setting Group Properties 41

Using Smart Tags 41

Adding Code to Controls 42

Summary 43

CHAPTER 4: WPF DESIGNER 45

Introducing WPF Designer 45

Editor Weaknesses 46

Recognizing Designer Windows 47

Adding Controls 48

Selecting Controls 49

Moving and Sizing Controls 50

Setting Properties 51

Setting Group Properties 51

Adding Code to Controls 52

Summary 53

CHAPTER 5: VISUAL BASIC CODE EDITOR 55

Editing Code 55

Margin Icons 56

Outlining 58

Tooltips 59

IntelliSense 60

Code Coloring and Highlighting 61

Code Snippets 63

Architectural Tools 64

Rename 64

Go To Definition 64

Go To Type Definition 64

Highlight References 65

Find All References 65

Generate From Usage 65

The Code Editor at Run Time 66

Summary 68

CHAPTER 6: DEBUGGING 69

Debugging and Testing 69

The Debug Menu 70

The Debug Windows Submenu 72

The Breakpoints Window 74

The Command and Immediate Windows 75

Summary 77

PART II: GETTING STARTED

CHAPTER 7: SELECTING WINDOWS FORMS CONTROLS 81

Controls 81

Controls Overview 82

Choosing Controls 86

Containing and Arranging Controls 87

Making Selections 89

Entering Data 90

Displaying Data 90

Providing Feedback 91

Initiating Action 92

Displaying Graphics 94

Displaying Dialog Boxes 94

Third–Party Controls 95

Summary 96

CHAPTER 8: USING WINDOWS FORMS CONTROLS 97

Using Controls and Components 97

Controls and Components 98

Creating Controls 99

Properties 101

Properties at Design Time 101

Properties at Run Time 104

Useful Control Properties 106

Position and Size Properties 109

Methods 110

Events 110

Creating Event Handlers at Design Time 111

Validation Events 112

Summary 114

CHAPTER 9: WINDOWS FORMS 115

Using Forms 115

Transparency 116

About, Splash, and Login Forms 117

Mouse Cursors 118

Icons 120

Application Icons 121

Notification Icons 121

Properties Adopted by Child Controls 122

Property Reset Methods 123

Overriding WndProc 123

MRU Lists 125

Dialog Boxes 126

Wizards 128

Summary 129

CHAPTER 10: SELECTING WPF CONTROLS 131

WPF Controls and Code 131

Controls Overview 132

Containing and Arranging Controls 133

Making Selections 136

Entering Data 137

Displaying Data 137

Providing Feedback 138

Initiating Action 138

Presenting Graphics and Media 139

Providing Navigation 140

Managing Documents 140

Digital Ink 141

Summary 142

CHAPTER 11: USING WPF CONTROLS 143

WPF Controls 143

WPF Concepts 144

Separation of User Interface and Code 144

WPF Control Hierarchies 145

WPF in the IDE 145

Editing XAML 146

Editing Visual Basic Code 147

XAML Features 148

Objects 148

Resources 151

Styles 152

Templates 153

Transformations 156

Animations 156

Drawing Objects 159

Procedural WPF 162

Documents 166

Flow Documents 166

Fixed Documents 168

XPS Documents 169

Summary 169

CHAPTER 12: WPF WINDOWS 171

Using WPF Windows 171

Window Applications 172

Page Applications 174

Browser Applications 174

Frame Applications 176

Summary 177

CHAPTER 13: PROGRAM AND MODULE STRUCTURE 179

Solutions and Projects 179

Hidden Files 180

Code File Structure 184

Code Regions 185

Conditional Compilation 186

Namespaces 193

Typographic Code Elements 195

Comments 195

XML Comments 195

Line Continuation 198

Implicit Line Continuation 199

Line Joining 200

Summary 200

CHAPTER 14: DATA TYPES, VARIABLES, AND CONSTANTS 203

Variables 203

Data Types 204

Type Characters 207

Data Type Conversion 210

Narrowing Conversions 210

Data Type Parsing Methods 212

Widening Conversions 213

The Convert Class 213

ToString 213

Variable Declarations 214

Attribute—List 214

Accessibility 215

Shared 216

Shadows 216

ReadOnly 219

Dim 219

WithEvents 220

Name 221

Bounds—List 222

New 223

As Type and Inferred Types 224

Initialization—Expression 225

Initializing Collections 228

Multiple Variable Declarations 229

Option Explicit and Option Strict 230

Scope 233

Block Scope 233

Procedure Scope 234

Module Scope 234

Namespace Scope 235

Restricting Scope 235

Parameter Declarations 236

Property Procedures 238

Enumerated Data Types 240

Anonymous Types 243

Nullable Types 244

Constants 244

Accessibility 245

As Type 245

Initialization—Expression 246

Delegates 246

Naming Conventions 248

Summary 249

CHAPTER 15: OPERATORS 251

Understanding Operators 251

Arithmetic Operators 252

Concatenation Operators 253

Comparison Operators 253

Logical Operators 255

Bitwise Operators 257

Operator Precedence 257

Assignment Operators 259

The StringBuilder Class 260

Date and TimeSpan Operations 261

Operator Overloading 262

Summary 266

CHAPTER 16: SUBROUTINES AND FUNCTIONS 267

Managing Code 267

Subroutines 268

Attribute—List 268

Inheritance—Mode 272

Accessibility 273

Subroutine—Name 274

Parameters 274

Implements interface.subroutine 279

Statements 281

Functions 281

Property Procedures 283

Extension Methods 284

Lambda Functions 285

Relaxed Delegates 287

Asynchronous Methods 290

Calling EndInvoke Directly 291

Handling a Callback 293

Using Async and Await 295

Summary 297

CHAPTER 17: PROGRAM CONTROL STATEMENTS 299

Controlling Programs 299

Decision Statements 299

Single–Line If Then 300

Multiline If Then 300

Select Case 301

Enumerated Values 304

IIf 304

If 306

Choose 306





Trama

The comprehensive guide to Visual Basic 2012

Microsoft Visual Basic (VB) is the most popular programming language in the world, with millions of lines of code used in businesses and applications of all types and sizes. In this edition of the bestselling Wrox guide, Visual Basic expert Rod Stephens offers novice and experienced developers a comprehensive tutorial and reference to Visual Basic 2012. This latest edition introduces major changes to the Visual Studio development platform, including support for developing mobile applications that can take advantage of the Windows 8 operating system.
* This new edition includes information on developing Win8-compatible Metro applications using pre-loaded templates
* Explores the new design features and support for WPF designers
* Explains how to develop Windows smartphone apps
* Covers new VB language features such as Asynch and Await

Visual Basic 2012 Programmer's Reference is the programmer's go-to reference for the 2012 edition of Visual Basic.




Autore

Rod Stephens is a VB programming guru and the author of more than two dozen programming books, including Stephens' Visual Basic Programming 24–Hour Trainer. He also writes frequently for such magazines as Visual Basic Developer, Visual Basic Programmer's Journal, and Dr. Dobb's Journal. Rod's VB Helper website (vb–helper.com) provides thousands of pages of tips, tricks, and code examples for VB programmers.








Altre Informazioni

ISBN: 9781118314074
Condizione: Nuovo
Collana: WROX PROGRAMMER TO PROGRAMMER
Dimensioni: 230 x 39.85 x 188 mm Ø 1442 gr
Formato: Brossura
Pagine Arabe: 840






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