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.



Autorentext

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.



Zusammenfassung
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.



Inhalt
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 Wn...

Titel
Visual Basic 2012 Programmer's Reference
EAN
9781118332085
Format
E-Book (epub)
Hersteller
Digitaler Kopierschutz
Adobe-DRM
Dateigrösse
12.11 MB
Anzahl Seiten
840