Cover image for Beginning Visual Basic 2012.
Beginning Visual Basic 2012.
Title:
Beginning Visual Basic 2012.
Author:
Newsome, Bryan.
ISBN:
9781118332047
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (748 pages)
Contents:
Beginning Visual Basic® 2012 -- Contents -- Chapter 1: Welcome to Visual Basic 2012 -- Event-Driven Programming -- Installing Visual Basic 2012 -- The Visual Studio 2012 IDE -- The Profile Setup Page -- The Menu -- The Toolbars -- Creating a Simple Application -- Windows in the Visual Studio 2012 IDE -- The Toolbox -- Modified Hungarian Notation -- The Code Editor -- Using the Help System -- SUMMARY -- Chapter 2: The Microsoft .NET Framework -- Microsoft's Reliance on Windows -- MSN 1.0 -- The .NET Vision -- This Sounds Like Java -- Where Now? -- Writing Software for Windows -- The .NET Framework Classes -- Executing Code -- Common Language Runtime -- Code Loading and Execution -- Application Isolation -- Security -- Interoperability -- Exception Handling -- The Common Type System and Common Language Specification -- SUMMARY -- Chapter 3: Writing Software -- Information and Data -- Algorithms -- What Is a Programming Language? -- Working with Variables -- Comments and Whitespace -- Comments -- Whitespace -- Data Types -- Working with Numbers -- Common Integer Math Operations -- Integer Math Shorthand -- The Problem with Integer Math -- Floating-Point Math -- Other States -- Single-Precision Floating-Point Numbers -- Working with Strings -- Concatenation -- Using the Concatenation Operator Inline -- More String Operations -- Substrings -- Formatting Strings -- Localized Formatting -- Replacing Substrings -- Using Dates -- Formatting Date Strings -- Extracting Date Properties -- Date Constants -- Defining Date Literals -- Manipulating Dates -- Boolean -- Storing Variables -- Binary -- Bits and Bytes -- Representing Values -- Converting Values -- Methods -- Why Use Methods? -- Methods You've Already Seen -- Building a Method -- Choosing Method Names -- Scope -- SUMMARY -- Chapter 4: Controlling the Flow -- Making Decisions.

The If Statement -- The Else Statement -- Allowing Multiple Alternatives with ElseIf -- Nested If Statements -- Single-Line If Statement -- Comparison Operators -- Using Not Equal To -- Using the Numeric Operators -- The And and Or Operators -- Using the And Operator -- More on And and Or -- String Comparison -- Select Case -- Case-Insensitive Select Case -- Multiple Selections -- The Case Else Statement -- Different Data Types with Select Case -- Loops -- The For…Next Loop -- Using the Step Keyword -- Looping Backward -- The For Each…Next Loop -- The Do…Loop Loops -- Do While…Loop -- Acceptable Expressions for a Do…Loop -- Other Versions of the Do…Loop -- Nested Loops -- Quitting Early -- Quitting Do…Loops -- Infinite Loops -- SUMMARY -- Chapter 5: Working with Data Structures -- Understanding Arrays -- Defining and Using Arrays -- Using For Each…Next -- Passing Arrays As Parameters -- Sorting Arrays -- Going Backward -- Initializing Arrays with Values -- Understanding Enumerations -- Using Enumerations -- Determining the State -- Setting Invalid Values -- Understanding Constants -- Using Constants -- Different Constant Types -- Structures -- Building Structures -- Adding Properties to Structures -- Working with ArrayLists -- Using an ArrayList -- Deleting from an ArrayList -- Showing Items in the ArrayList -- Working with Collections -- Creating CustomerCollection -- Adding an Item Property -- Building Lookup Tables with Hashtable -- Using Hashtables -- Cleaning Up: Remove, RemoveAt, and Clear -- Case Sensitivity -- Advanced Array Manipulation -- Dynamic Arrays -- Using Preserve -- SUMMARY -- Chapter 6: Extensible Application Markup Language (XAML) -- What Is XAML? -- XAML Syntax -- Windows Presentation Foundation -- Creating a Rich WPF User Interface -- Using WPF Common Controls -- Wiring Up Events -- SUMMARY.

Chapter 7: Building Windows Applications -- Responding to Events -- Building a Simple Application -- Counting Characters -- Counting Words -- Creating More Complex Applications -- Creating the Toolbar -- Creating the Status Bar -- Creating an Edit Box -- Clearing the Edit Box -- Responding to Toolbar Buttons -- Using Multiple Forms -- About Dialog -- SUMMARY -- Chapter 8: Displaying Dialogs -- The MessageBox -- Available Icons for MessageBox -- Available Buttons for MessageBox -- Setting the Default Button -- Miscellaneous Options -- The Show Method Syntax -- Example Message Boxes -- The OpenFileDialog Control -- The OpenFileDialog Control -- The Properties of OpenFileDialog -- OpenFileDialog Methods -- Using the OpenFileDialog Control -- The SaveDialog Control -- The Properties of SaveFileDialog -- SaveFileDialog Methods -- Using the SaveFileDialog Control -- The FontDialog Control -- The Properties of FontDialog -- The Methods of FontDialog -- Using the FontDialog Control -- The ColorDialog Control -- The Properties of ColorDialog -- Using the ColorDialog Control -- The PrintDialog Control -- The Properties of PrintDialog -- Using the PrintDialog Control -- The PrintDocument Class -- The Properties of the PrintDocument Class -- Printing a Document -- The FolderBrowserDialog Control -- The Properties of FolderBrowserDialog -- Using the FolderBrowserDialog Control -- SUMMARY -- Chapter 9: Creating Menus -- Understanding Menu Features -- Images -- Access Keys -- Shortcut Keys -- Check Marks -- The Properties Window -- Creating Menus -- Designing the Menus -- Adding Toolbars and Controls -- Coding Menus -- Coding the View Menu and Toolbars -- Testing Your Code -- Context Menus -- Creating Context Menus -- Enabling and Disabling Menu Items and Toolbar Buttons -- SUMMARY -- Chapter 10: Debugging and Error Handling.

Major Error Types -- Syntax Errors -- Execution Errors -- Logic Errors -- Debugging -- Creating a Sample Project -- Setting Breakpoints -- Debugging Using the Watch Window and QuickWatch Dialog Box -- Debugging with the Autos Window -- Debugging with the Locals Window -- Error Handling -- Using Structured Error Handling -- SUMMARY -- Chapter 11: Building Objects -- Understanding Objects -- Encapsulation -- Methods and Properties -- Events -- Visibility -- What Is a Class? -- Building Classes -- Reusability -- Designing an Object -- State -- Behavior -- Storing State -- Real Properties -- Read/Write Properties -- Auto-Implemented Properties -- The IsMoving Method -- Constructors -- Inheritance -- Adding New Methods and Properties -- Adding a GetPowerToWeightRatio Method -- Changing Defaults -- Polymorphism: Scary Word, Simple Concept -- Overriding More Methods -- Inheriting from the Object Class -- Objects and Structures -- The Framework Classes -- Namespaces -- The Imports Statement -- Creating Your Own Namespace -- Inheritance in the .NET Framework -- SUMMARY -- Chapter 12: Advanced Object-Oriented Techniques -- Building a Favorites Viewer -- Internet Shortcuts and Favorites -- Using Classes -- Scanning Favorites -- Viewing Favorites -- An Alternative Favorite Viewer -- Building a Favorites Tray -- Displaying Favorites -- Using Shared Properties and Methods -- Using Shared Properties -- Using Shared Methods -- Understanding Object-Oriented Programming and Memory Management -- Garbage Collection -- Releasing Resources -- Defragmentation and Compaction -- SUMMARY -- Chapter 13: Building Class Libraries -- Understanding Class Libraries -- Creating a Class Library -- Building a Class Library for Favorites Viewer -- A Multitiered Application -- Using Strong Names -- Signing Assemblies -- Assembly Versions.

Registering Assemblies -- Gacutil Utility -- Why Is My Assembly Not Visible in the References Dialog? -- Designing Class Libraries -- Using Third-Party Class Libraries -- Viewing Classes with the Object Browser -- SUMMARY -- Chapter 14: Creating Windows Forms User Controls -- Windows Forms Controls -- Creating and Testing a User Control -- Exposing Properties from User Controls -- Adding Properties -- Exposing Methods from User Controls -- Exposing Events from User Controls -- Design Time or Runtime -- Creating a Command Link Control -- Building the Command Link Control -- Using the Command Link Control -- SUMMARY -- Chapter 15: Accessing Data Using Structured Query Language -- What You Need to Complete This Chapter's Exercises -- What Is a Database? -- Database Tables -- Primary and Foreign Keys -- Understanding Primary Keys -- Understanding Foreign Keys -- Queries -- Understanding Basic SQL Syntax -- Using SELECT Statement -- Using the JOIN Statement -- Using the UPDATE Statement -- Using the DELETE Statement -- Using the INSERT Statement -- Using the SQL Comment -- Executing Queries in SQL Server -- SUMMARY -- Chapter 16: Database Programming with SQL Server and ADO.NET -- ADO.NET -- ADO.NET Data Namespaces -- The SqlConnection Class -- Working with the Connection String Parameters -- Opening and Closing the Connection -- The SqlCommand Class -- The Connection Property -- The CommandText Property -- The Parameters Collection -- The ExecuteNonQuery Method -- The SqlDataAdapter Class -- The SelectCommand Property -- Setting SelectCommand to SQL Text -- Setting SelectCommand to a Stored Procedure -- Using Command Builders to Create the Other Commands -- The Fill Method -- The DataSet Class -- DataView -- The Sort Property -- The RowFilter Property -- The Find Method -- The ADO.NET Classes in Action -- Data Binding.

BindingContext and CurrencyManager.
Abstract:
Bryan Newsome works as a senior programmer and analyst specializing in Microsoft solutions. He provides clients with solutions and mentoring on leading-edge Microsoft technologies. Bryan is a Microsoft Certified Application Developer for VB.NET.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: