Visual Basic 2012 programmer's reference

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

Full description

Saved in:
Bibliographic Details
Main Author: Stephens, Rod (Kenneth Rod)
Format: eBook Book
Language:English
Published: Indianapolis, IN Wiley 2012
John Wiley & Sons, Incorporated
Wrox
Wrox/John Wiley & Sons
Edition:1
Subjects:
ISBN:1118314077, 9781118314074, 9781118439388, 1118439384, 9781118332085, 1118332083, 111833535X, 9781118335352
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • Find All References -- Generate From Usage -- The Code Editor at Run Time -- Summary -- Chapter 6: Debugging -- Debugging and Testing -- The Debug Menu -- The Debug ? Windows Submenu -- The Breakpoints Window -- The Command and Immediate Windows -- Summary -- Part II: Getting Started Chapter -- 7: Selecting Windows Forms Controls -- Controls -- Controls Overview -- Choosing Controls -- Containing and Arranging Controls -- Making Selections -- Entering Data -- Displaying Data -- Providing Feedback -- Initiating Action -- Displaying Graphics -- Displaying Dialog Boxes -- Third-Party Controls -- Summary -- Chapter 8: Using Windows forms Controls -- Using Controls and Components -- Controls and Components -- Creating Controls -- Properties -- Properties at Design Time -- Properties at Run Time -- Useful Control Properties -- Position and Size Properties -- Methods -- Events -- Creating Event Handlers at Design Time -- Validation Events -- Summary -- Chapter 9: Windows Forms -- Using Forms -- Transparency -- About, Splash, and Login Forms -- Mouse Cursors -- Icons -- Application Icons -- Notification Icons -- Properties Adopted by Child Controls -- Property Reset Methods -- Overriding WndProc -- MRU Lists -- Dialog Boxes -- Wizards -- Summary -- Chapter 10: Selecting WPF Controls -- WPF Controls and Code -- Controls Overview -- Containing and Arranging Controls -- Making Selections -- Entering Data -- Displaying Data -- Providing Feedback -- Initiating Action -- Presenting Graphics and Media -- Providing Navigation -- Managing Documents -- Digital Ink -- Summary -- Chapter 11: Using WPF Controls -- WPF Controls -- WPF Concepts -- Separation of User Interface and Code -- WPF Control Hierarchies -- WPF in the IDE -- Editing XAML -- Editing Visual Basic Code -- XAML Features -- Objects -- Resources -- Styles -- Templates -- Transformations -- Animations
  • Dictionaries
  • Drawing Objects -- Procedural WPF -- Documents -- Flow Documents -- Fixed Documents -- XPS Documents -- Summary -- Chapter 12: WPF Windows -- Using WPF Windows -- Window Applications -- Page Applications -- Browser Applications -- Frame Applications -- Summary -- Chapter 13: Program and Module Structure -- Solutions and Projects -- Hidden Files -- Code File Structure -- Code Regions -- Conditional Compilation -- Namespaces -- Typographic Code Elements -- Comments -- XML Comments -- Line Continuation -- Implicit Line Continuation -- Line Joining -- Summary -- Chapter 14: Data Types, Variables, and Constants -- Variables -- Data Types -- Type Characters -- Data Type Conversion -- Narrowing Conversions -- Data Type Parsing Methods -- Widening Conversions -- The Convert Class -- ToString -- Variable Declarations -- Attribute_List -- Accessibility -- Shared -- Shadows -- ReadOnly -- Dim -- WithEvents -- Name -- Bounds_List -- New -- As Type and Inferred Types -- Initialization_Expression -- Initializing Collections -- Multiple Variable Declarations -- Option Explicit and Option Strict -- Scope -- Block Scope -- Procedure Scope -- Module Scope -- Namespace Scope -- Restricting Scope -- Parameter Declarations -- Property Procedures -- Enumerated Data Types -- Anonymous Types -- Nullable Types -- Constants -- Accessibility -- As Type -- Initialization_Expression -- Delegates -- Naming Conventions -- Summary -- Chapter 15: Operators -- Understanding Operators -- Arithmetic Operators -- Concatenation Operators -- Comparison Operators -- Logical Operators -- Bitwise Operators -- Operator Precedence -- Assignment Operators -- The StringBuilder Class -- Date and TimeSpan Operations -- Operator Overloading -- Summary -- Chapter 16: Subroutines and Functions -- Managing Code -- Subroutines -- Attribute_List -- Inheritance_Mode -- Accessibility -- Subroutine_Name
  • XML Literals -- LINQ into XML -- LINQ out of XML -- LINQ to ADO.NET -- LINQ to SQL and LINQ to Entities -- LINQ to DataSet -- PLINQ -- Summary -- Chapter 21: Metro-Style Applications -- Building Metro-Style Applications -- Starting a New Project -- Special Image Files -- Building MetroBones -- Control Layout -- XAML Code -- Zooming in on the Controls -- Visual Basic Code -- Testing -- Summary -- Part III: Object-Oriented Programming -- Chapter 22: OOP Concepts -- Introducing OOP -- Classes -- Encapsulation -- Inheritance -- Inheritance Hierarchies -- Refinement and Abstraction -- Has-a" and "Is-a" Relationships -- Adding and Modifying Class Features -- Interface Inheritance -- Polymorphism -- Method Overloading -- Extension Methods -- Summary -- Chapter 23: Classes and Structures -- Packaging Data -- Classes -- Attribute_list -- Partial -- Accessibility -- Shadows -- Inheritance -- Implements interface -- Structures -- Structures Cannot Inherit -- Structures Are Value Types -- Memory Required -- Heap and Stack Performance -- Object Assignment -- Parameter Passing -- Boxing and Unboxing -- Class Instantiation Details -- Structure Instantiation Details -- Garbage Collection -- Finalize -- Dispose -- Constants, Properties, and Methods -- Events -- Declaring Events -- Raising Events -- Catching Events -- Shared Variables -- Shared Methods -- Summary -- Chapter 24: Namespaces -- Handling Name Conflicts -- The Imports Statement -- Automatic Imports -- Namespace Aliases -- Namespace Elements -- The Root Namespace -- Making Namespaces -- Classes, Structures, and Modules -- Resolving Namespaces -- Summary -- Chapter 25: Collection Classes -- Grouping Data -- What Is a Collection? -- Arrays -- Array Dimensions -- Lower Bounds -- Resizing -- Speed -- Other Array Class Features -- Collections -- ArrayList -- StringCollection -- NameValueCollection
  • Intro -- Visual Basic® 2012: Programmer's Reference -- About the Author -- About the Technical Editor -- Credits -- Acknowledgments -- Contents -- Introduction -- Should you use visual basic 2012? -- Who Should Read this Book -- How this Book is Organized -- Part I: IDE -- Part II: Getting Started -- Part III: Object-Oriented Programming -- Part IV: Interacting with the Environment -- Part V: Appendices -- How to use this Book -- Necessary Equipment -- Conventions -- Source Code -- Errata -- P2P.Wrox.Com -- Important Urls -- Part I: IDE -- Chapter 1: Introduction to the IDE -- Introducing the IDE -- Different IDE Appearances -- IDE Configurations -- Projects and Solutions -- Starting the IDE -- Creating a Project -- Saving a Project -- Summary -- Chapter 2: Menus, Toolbars, and Windows -- IDE Tools -- Menus -- File -- Edit -- View -- Project -- Build -- Debug -- Data -- Format -- Tools -- Test -- Window -- Help -- Toolbars -- Secondary Windows -- Toolbox -- Properties Window -- Summary -- Chapter 3: Windows forms Designer -- Introducing Windows Forms Designer -- Setting Designer Options -- Adding Controls -- Selecting Controls -- Copying Controls -- Moving and Sizing Controls -- Arranging Controls -- Setting Properties -- Setting Group Properties -- Using Smart Tags -- Adding Code to Controls -- Summary -- Chapter 4: WPF Designer -- Introducing WPF Designer -- Editor Weaknesses -- Recognizing Designer Windows -- Adding Controls -- Selecting Controls -- Moving and Sizing Controls -- Setting Properties -- Setting Group Properties -- Adding Code to Controls -- Summary -- Chapter 5: Visual Basic Code Editor -- Editing Code -- Margin Icons -- Outlining -- Tooltips -- IntelliSense -- Code Coloring and Highlighting -- Code Snippets -- Architectural Tools -- Rename -- Go To Definition -- Go To Type Definition -- Highlight References
  • Parameters -- Implements interface.subroutine -- Statements -- Functions -- Property Procedures -- Extension Methods -- Lambda Functions -- Relaxed Delegates -- Asynchronous Methods -- Calling EndInvoke Directly -- Handling a Callback -- Using Async and Await -- Summary -- Chapter 17: Program Control Statements -- Controlling Programs -- Decision Statements -- Single-Line If Then -- Multiline If Then -- Select Case -- Enumerated Values -- IIf -- If -- Choose -- Looping Statements -- For Next -- Non-Integer For Next Loops -- For Each -- Enumerators -- Iterators -- Do Loop Statements -- While End -- Summary -- Chapter 18: Error Handling -- The Struggle for Perfection -- Bugs versus Unplanned Conditions -- Catching Bugs -- Catching Unplanned Conditions -- Global Exception Handling -- Structured Error Handling -- Exception Objects -- Throwing Exceptions -- Re-throwing Exceptions -- Custom Exceptions -- Debugging -- Summary -- Chapter 19: Database Controls and Objects -- Data Sources -- Automatically Connecting to Data -- Connecting to the Data Source -- Adding Data Controls to the Form -- Automatically Created Objects -- Other Data Objects -- Data Overview -- Connection Objects -- Transaction Objects -- Data Adapters -- Command Objects -- DataSet -- DataTable -- DataRow -- DataColumn -- DataRelation -- Constraints -- DataView -- DataRowView -- Simple Data Binding -- CurrencyManager -- Complex Data Binding -- Summary -- Chapter 20: LINQ -- The Many Faces of LINQ -- Introduction to LINQ -- Basic LINQ Query Syntax -- From -- Where -- Order By -- Select -- Using LINQ Results -- Advanced LINQ Query Syntax -- Join -- Group By -- Aggregate Functions -- Set Operations -- Limiting Results -- LINQ Functions -- LINQ Extension Methods -- Method-Based Queries -- Method-Based Queries with Lambda Functions -- Extending LINQ -- LINQ to Objects -- LINQ to XML