Cover image for Visual Basic .NET Programming.
Visual Basic .NET Programming.
Title:
Visual Basic .NET Programming.
Author:
Davis, Harold.
ISBN:
9780470107867
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (542 pages)
Contents:
Contents -- Introduction -- Chapter 1 Understanding Visual Basic .NET -- What Is .NET? -- The .NET Framework -- The Common Language Runtime (CLR) -- Managed Code -- Programming in the .NET Framework -- Assemblies -- Namespaces -- Objects and Classes -- The .NET Languages -- Upcoming .NET Languages -- From VB6 to VB .NET -- Using a Text Editor to Create VB .NET Programs -- Creating a VB .NET Program in Notepad -- Compiling the Program -- Visual Studio .NET Requirements -- Software Requirements -- Hardware Requirements -- Summary -- Chapter 2 Introducing Projects, Forms, and Buttons -- Understanding Projects and Solutions -- Types of Projects -- Windows Application and Web Application Projects -- For the Very First Time… -- Configuring Your Startup Environment -- Starting a New Project -- Configuring Your Project and Environment -- Changing Environment Settings -- Using the Solution Explorer -- Adding a Windows Form -- Setting Windows Form Properties -- Categorizing Properties -- Running a Project -- Adding Controls -- Introducing Event Handlers -- Using the Code Editor -- Adding Code to an Event -- Summary -- Chapter 3 Building a User Interface -- Displaying Message Boxes -- Understanding MessageBox.Show Syntax -- Adding Buttons and Icons to Message Boxes -- Reviewing MessageBox.Show Examples -- Adding Form Controls -- Using GroupBoxes, Panels, and Splitters -- Adding GroupBoxes -- Inserting Panels and Splitters -- Adding Labels and TextBoxes -- Adding RadioButtons -- Setting the Tab Order -- Using If Statements -- Wiring the Form -- Determining Button Choice -- Determining Icon Choice -- Displaying the Message Box -- Evaluating the Response -- Summary -- Chapter 4 Working with Windows Form Properties -- Using the Form Properties -- Form and Property References -- The Code Editor Pick List -- Setting the Form Style -- Setting the Default Button.

Setting Background and Foreground Colors -- Using the Properties Window Palettes -- Using Predefined Color Values -- Using the RGB Function -- Using Code to Set the BackColor Property -- Setting the Font -- Changing the Font Property in Code -- Assigning Icons -- Setting the Form's Size and Position -- Changing the Form Size in Code -- Setting the Form Position -- Specifying the Text Property -- Changing the Text Property in Code -- Controlling Form Appearance and Behavior -- Setting Dynamic Properties -- Summary -- Chapter 5 Events and the Life Cycle of Forms -- Understanding Event-Driven Programming -- Handling Events -- Monitoring Events -- Monitoring the New Method -- Monitoring the Form Load Sequence -- Monitoring User-Interaction Events -- Monitoring Form Closing Events -- Initializing Forms in the Load Event -- Unloading Forms -- Understanding Event Syntax -- Don't Get Caught in an Event Loop -- Assigning Multiple Events to One Event Handler -- Summary -- Chapter 6 Working with Form Methods and Modules -- Using Form Methods -- Understanding Method Syntax -- Introducing Important Form Methods -- Using Code Modules -- Adding Code Modules -- Renaming a Module -- Creating Sub Main -- Setting the Startup Object -- Working with Forms -- Opening and Closing Forms -- Manipulating Another Form -- Showing a Modal Form -- Positioning Forms -- Using Form Inheritance Features -- Working with the Graphics Object -- Drawing Text on a Form -- Achieving Persistence with the Paint Event -- Drawing Circles and Lines -- Why Be Square? -- Creating MDI Applications -- Summary -- Chapter 7 Working with Windows Forms Controls -- Working with the Toolbox -- Adding Frequently Used Code to the Toolbox -- Customizing the Toolbox -- Adding PictureBox Controls -- Loading a Picture -- Sizing and Positioning Pictures -- Changing PictureBox Properties in Code.

Adding CheckBox Controls -- Determining the CheckBox State -- Enabling a CheckBox at Runtime -- Setting CheckBox Appearance -- Working with Groups of Controls -- Accessing Controls through Collections -- Wiring Multiple Controls to the Same Handler -- Using For…Next Statements -- Using Arrays in VB .NET -- Working with ComboBoxes, ListBoxes, and CheckedListBoxes -- Adding and Removing Items from a ListBox -- Determining the Status of a CheckedListBox -- Working with the ErrorProvider -- Checking for Numeric Entries -- Validating the Range -- Summary -- Chapter 8 Adding StatusBars, ToolBars, ToolTips, and Tabbed Dialogs -- Working with StatusBars -- Adding a Panel to a StatusBar -- Dynamically Adding StatusBar Panels -- Working with ToolBars -- Adding an ImageList -- Adding Buttons to the ToolBar -- Determining Which ToolBar Button Was Clicked -- Dynamically Adding ToolBar Buttons -- Adding ToolTips -- Dynamically Changing ToolTip Text -- Adding Tabbed Pages -- Dynamically Moving Controls between TabPages -- Summary -- Chapter 9 Working with Common Dialogs -- Using Common Dialog Controls -- Working with the ColorDialog Control -- Working with the FontDialog Control -- Using the SaveFileDialog and OpenFileDialog Controls -- Saving the Contents of a RichTextBox -- Retrieving Rich Text into a RichTextBox -- Working with Files -- Using a StreamWriter to Save Control Values to a File -- Using a StreamReader to Restore Control Values -- Summary -- Chapter 10 Using Timers, EventLogs, and ServiceControllers -- Working with the Timer Component -- Keeping the Time Current -- Counting the Number of Times the Timer Has Fired -- Using the Timer for Simple Animations -- Using the Server Explorer -- Writing to an Event Log -- Writing an Event Log Entry -- Writing Timed Entries -- Working with a ServiceController -- Displaying Services -- Starting a Service.

Stopping a Service -- Summary -- Chapter 11 Creating Menus -- Using the MainMenu Control -- Using MenuItems Collections -- Responding to Menu Clicks -- Wiring an MDI Menu -- Adding Context Menus -- Working with Checked Menu Items -- Manipulating Menus in Code -- Looking at the Code Behind the Menus -- Creating Menus Interactively -- Creating the Main Menu -- Adding Top-Level Menus -- Adding Menu Items -- Creating an Event Handler for Menu Items -- Coded Menus versus Menu Controls -- Summary -- Chapter 12 Printing from an Application -- Using Printing Components and Controls -- Printing a Page -- Adding a PrintDocument Component -- Adding Code to the PrintPage Event -- Invoking the Print Method -- Building a Simple Printing Demo -- Using the PageSetupDialog Control -- Using the PrintDialog Control -- Printing -- Using the PrintPreviewDialog Control -- Summary -- Chapter 13 Errors, Exceptions, and Debugging -- Understanding Errors and Exceptions -- What Causes Syntax Errors? -- When Do Runtime Errors Occur? -- What Can You Do About Logical Errors? -- What Is an Exception? -- A Blast from the Past: On Error GoTo -- Understanding Structured Exception Handling -- Using Try…Catch…Finally -- Throwing Exceptions -- Exploring the Exception Object and Classes -- Using the Exceptions Dialog -- Testing and Debugging -- Testing Guidelines -- Using the Debugging Tools -- Summary -- Chapter 14 Using the Object Browser -- Opening the Object Browser -- Opening the Object Browser Using Go To Definition -- Setting Browser Scope -- Using the Object Browser Interface -- The Objects Pane -- The Members Pane -- The Description Pane -- The Toolbar -- Exploring Namespaces -- Exploring Classes -- Viewing Classes in the Object Browser -- Using the Class View Window -- Summary -- Chapter 15 Object-Oriented Programming in VB .NET -- Understanding Object-Oriented Programming.

Abstraction -- Classes -- Containment -- Encapsulation -- Inheritance -- Polymorphism -- Creating a Class -- Creating the Class Framework -- Adding a Method -- Invoking a Class -- Using a Shared Member -- Building a Class Library -- Invoking a Class Using Its Namespace -- Referencing and Instantiating the Class -- Using the Imports Keyword -- Using Class Modules -- Creating a Class Module -- Adding Classes to the Module -- Working with Class Properties, Methods, and Events -- Implementing Class Properties -- Implementing Class Methods -- Adding Events to a Class -- Creating a Collection Class -- Implementing a Collection Class -- Using the Collection Class -- Summary -- Chapter 16 Creating Windows Controls -- Creating an Inherited Control -- Creating a New Windows Control Project -- Inheriting from a Single Control -- Adding a Toolbox Bitmap -- Adding Code -- Adding a Test Project to the Solution -- Adding the Control to the Toolbox -- Testing the Control -- Creating a Composite Control -- Adding Multiple Controls -- Implementing Control Functionality -- Implementing Properties -- Testing the Control -- Summary -- Chapter 17 Working with Data and ADO.NET -- Reviewing Database Basics -- Using the Data Components -- Working with Managed Providers -- Displaying Data with a DataReader -- Adding Data Components -- Setting Data Adapter Properties -- Creating a Dataset with Data Components -- Adding a DataAdapter Component -- Previewing the Dataset -- Generating the Dataset -- Binding Controls to Data -- Creating a Dataset in Code -- Binding to a DataGrid and Updating a Database -- Using the Data Form Wizard -- Summary -- Chapter 18 Working with XML -- Understanding XML -- Viewing XML Schemas -- Reading XML Data into a Dataset -- Creating an XML Schema -- Creating an XML Data File -- Creating a Dataset Based on XML Data -- Writing and Reading XML Content.

Using XMLSerializer.
Abstract:
Harold Davis is a software development consultant and writer, who has established a strong reputation for his clearly written introductory technical books. He is the author of the best-selling Visual Basic 6: Visual QuickStart Guide from Peachpit, as well as books on Linux, Delphi, and web development. He had a previous career as a professional photographer, so he is that rare combination of techie and artist.
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: