did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780072938708

Programming in Visual Basic . NET with Student CD and 5-Cd Visual Basic. NET 2003 Software Set

by ;
  • ISBN13:

    9780072938708

  • ISBN10:

    0072938706

  • Format: Paperback
  • Copyright: 2003-08-06
  • Publisher: McGraw-Hill/Irwin
  • View Upgraded Edition
  • Purchase Benefits
List Price: $104.75

Summary

Programming in Visual Basic.NET, by best-selling authors Bradley & Millspaugh, maintains the strong pedagogy that has been used to teach students how to program in Visual Basic since VB 4.0. Instructors and students like this book because it does not just teach Visual Basic, it incorporates basic concepts of programming, problem solving, and programming logic. Programming in Visual Basic.NET has been completely revised: including the text, website, and instructor's materials.This edition includes the full version of Visual Basic.NET Standard Edition on 5 CDs - no timeouts!

Table of Contents

Introduction to Visual Basic .Net
1(62)
Writing Windows Applications with Visual Basic
2(1)
The Windows Graphical User Interface
3(1)
Programming Languages---Procedural, Event Driven, and Object Oriented
3(3)
The Object Model
4(1)
Microsoft's Visual Studio .Net
5(1)
Writing Visual Basic Projects
6(2)
The Three-Step Process
6(1)
Visual Basic Application Files
7(1)
The Visual Studio Environment
8(6)
The IDE Start Page
8(1)
The New Project Dialog
9(1)
The IDE Main Window
10(1)
The Toolbars
10(2)
The Document Window
12(1)
The Form Designer
12(1)
The Solution Explorer Window
12(1)
The Properties Window
12(1)
The Toolbox
12(1)
Help
13(1)
Design Time, Run Time, and Break Time
14(1)
Writing Your First Visual Basic Project
14(33)
Set Up Your Workspace
15(4)
Plan the Project
19(1)
Define the User Interface
20(6)
Set Properties
26(6)
Write Code
32(1)
Visual Basic Code Statements
33(1)
Code the Event Procedures for Hello World
34(3)
Run the Project
37(2)
Save Your Work
39(1)
Open the Project
39(1)
Modify the Project
40(6)
Print the Code
46(1)
Sample Printout
47(1)
Finding and Fixing Errors
47(6)
Syntax Errors
47(3)
Run-Time Errors
50(1)
Logic Errors
50(1)
Project Debugging
51(1)
Naming Rules and Conventions for Objects
51(2)
Visual Studio Help
53(10)
Installing and Running MSDN
53(1)
Viewing Help Topics
54(2)
Context-Sensitive Help
56(1)
Managing Windows
56(7)
More Controls
63(32)
Introducing More Controls
64(5)
Text Boxes
65(1)
Group Boxes
65(1)
Check Boxes
66(1)
Radio Buttons
66(1)
Picture Boxes
67(1)
Setting a Border and Style
68(1)
Drawing a Line
69(1)
Working with Multiple Controls
69(3)
Selecting Multiple Controls
70(1)
Deselecting a Group of Controls
71(1)
Moving Controls as a Group
71(1)
Setting Properties for Multiple Controls
71(1)
Aligning Controls
72(1)
Designing Your Applications for User Convenience
72(6)
Designing the User Interface
72(1)
Defining Keyboard Access Keys
73(1)
Setting the Default and Cancel Properties of Buttons
74(1)
Setting the Tab Order for Controls
74(2)
Setting the Form's Location on the Screen
76(1)
Creating ToolTips
77(1)
Coding for the Controls
78(4)
Clearing Text Boxes and Labels
78(1)
Resetting the Focus
78(1)
Setting the Checked Property of Radio Buttons and Check Boxes
79(1)
Setting Visibility at Run Time
79(1)
Changing the Color of Text
79(1)
Changing Multiple Properties of a Control
80(1)
Concatenating Text
81(1)
Continuing Long Program Lines
81(1)
Your Hands-On Programming Example
82(5)
Good Programming Habits
87(8)
Variables, Constants, and Calculations
95(48)
Data: Variables and Constants
96(10)
Data Types
97(1)
Naming Rules
98(1)
Naming Conventions
98(2)
Constants: Named and Intrinsic
100(2)
Declaring Variables
102(1)
Scope and Lifetime of Variables
103(3)
Calculations
106(8)
Converting to the Correct Data Type
107(2)
Arithmetic Operations
109(1)
Order of Operations
109(2)
Using Calculations in Code
111(1)
Option Explicit and Option Strict
112(2)
Formatting Data
114(4)
A Calculation Programming Example
118(4)
Planning the Project
118(3)
The Project Coding Solution
121(1)
Handling Exceptions
122(2)
Try/Catch Blocks
122(2)
Displaying Messages in Message Boxes
124(3)
The TextMessage String
125(1)
The Title Bar Text
125(1)
MessageBox Buttons
126(1)
MessageBox Icons
126(1)
Using Overloaded Methods
126(1)
Counting and Accumulating Sums
127(1)
Summing Numbers
128(1)
Counting
128(1)
Calculating an Average
128(1)
Your Hands-On Programming Example
128(15)
Decisions and Conditions
143(54)
If Statements
144(4)
Flowcharting If Statements
146(1)
The Helpful Editor
147(1)
Conditions
148(6)
Comparing Numeric Variables and Constants
148(1)
Comparing Strings
149(3)
Testing for True or False
152(1)
Comparing Uppercase and Lowercase Characters
152(1)
Compound Conditions
152(2)
Nested If Statements
154(3)
Using If Statements with Radio Buttons and Check Boxes
157(3)
A Simple Sample
158(1)
Checking the State of a Radio Button Group
159(1)
Checking the State of Multiple Check Boxes
160(1)
Enhancing Message Boxes
160(4)
Displaying the Message String
160(2)
Displaying Multiple Buttons
162(2)
Input Validation
164(3)
Checking for Numeric Values
165(1)
Checking for a Range of Values
165(1)
Checking for a Required Field
166(1)
Performing Multiple Validations
166(1)
Calling Event Procedures
167(2)
Your Hands-On Programming Example
169(8)
Debugging Visual Basic Projects
177(6)
Writing to the Output Window
178(1)
Pausing Execution with the Break Button
179(1)
Forcing a Break
179(1)
Checking the Current Values of Expressions
180(1)
Stepping through Code
181(1)
The Locals Window
182(1)
The Autos Window
182(1)
Debugging Step-by-Step Tutorial
183(14)
Menus, Sub Procedures, and Functions
197(42)
Menus
198(7)
Defining Menus
198(3)
Creating a Menu---Step-by-Step
201(2)
Coding for Menu Items
203(1)
Modifying Menu Items
203(2)
Standards for Windows Menus
205(1)
Common Dialog Boxes
205(3)
Displaying a Windows Common Dialog Box
205(1)
Using the Information from the Dialog Box
206(2)
Setting Initial Values
208(1)
Creating Context Menus
208(3)
Creating a Context Menu---Step-by-Step
209(2)
Writing General Procedures
211(11)
Creating a New Sub Procedures
212(1)
Passing Arguments to Procedures
213(1)
Writing Function Procedures
214(2)
Functions with Multiple Arguments
216(1)
Reusing Procedures
217(2)
Breaking Calculations into Smaller Units
219(3)
Your Hands-On Programming Example
222(17)
OOP: Creating Object-Oriented Programs
239(52)
Object-Oriented Programming
240(4)
Objects
240(1)
Object-Oriented Terminology
241(2)
Reusable Objects
243(1)
Multitier Applications
243(1)
Classes
244(7)
Instantiating an Object
244(1)
Designing Your Own Class
245(1)
Creating Properties in a Class
245(2)
Creating a New Class---Step-by-Step
247(4)
Creating a New Object Using a Class
251(6)
Defining and Using a New Object---Step-by-Step
252(2)
Instance Variables versus Shared Variables
254(2)
Adding Shared Properties to the Step-by-Step Tutorial
256(1)
Constructors and Destructors
257(3)
Constructors
257(1)
Adding Constructors to the Step-by-Step Tutorial
258(1)
Destructors
259(1)
Inheritance
260(9)
Inheriting Properties and Methods
260(1)
Inheriting Constructors
260(1)
Overriding Methods
261(1)
Creating a Derived Class Based on BookSale
261(1)
Adding Inheritance to the Step-by-Step Tutorial
262(3)
Creating a Base Class Strictly for Inheritance
265(1)
Inheriting Form Classes
266(3)
Displaying Values on a Different Form
269(1)
Using the Object Browser
269(4)
Examining VB Classes
270(2)
Examining You Own Classes
272(1)
Your Hands-On Programming Example
273(18)
Lists, Loops, and Printing
291(42)
List Boxes and Combo Boxes
292(7)
The Items Collection
293(1)
Filling a List
293(3)
The SelectedIndex Property
296(1)
The Items.Count Property
296(1)
Referencing the Items Collection
296(1)
Removing an Item from a List
297(1)
Clearing a List
298(1)
List Box and Combo Box Events
299(1)
Do/Loops
299(4)
The Boolean Data Type Revisited
302(1)
Using a Do/Loop with a List Box
302(1)
For/Next Loops
303(4)
Negative Increment or Counting Backward
305(1)
Conditions Satisfied before Entry
305(1)
Altering the Values of the Loop Control Variables
305(1)
Endless Loops
306(1)
Exiting For/Next Loops
306(1)
Making Entries Appear Selected
307(2)
Selecting the Entry in a Text Box
307(1)
Selecting an Entry in a List Box
308(1)
Sending Information to the Printer
309(7)
The PrintDocument Control
309(3)
Printing the Contents of a List Box
312(1)
Printing the Selected Item from a List
313(1)
Aligning Decimal Columns
313(1)
Displaying a Print Preview
314(1)
Using Static Variables
315(1)
Printing Multiple Pages
315(1)
Your Hands-On Programming Example
316(17)
Arrays
333(40)
The Case Structure
334(2)
Sharing an Event Procedure
336(2)
Single-Dimension Arrays
338(3)
Subscripts
339(1)
Valid Subscripts
340(1)
For Each/Next Statements
341(1)
Initializing an Array Using For Each
342(1)
Structures
342(2)
Declaring Variables Based on a Structure
343(1)
Accessing the Elements in a Structure Variable
343(1)
Including an Array in a Structure
344(1)
Using Array Elements for Accumulators
344(2)
Adding to the Correct Total
345(1)
Debugging Array Programs
346(1)
Table Lookup
346(4)
Coding a Table Lookup
349(1)
Using List Boxes with Arrays
350(2)
Multidimensional Arrays
352(6)
Initializing Two-Dimensional Arrays
353(1)
Printing a Two-Dimensional Table
353(1)
Summing a Two-Dimensional Table
354(1)
Lookup Operation for Two-Dimensional Tables
355(3)
Your Hands-On Programming Example
358(15)
Programming With Web Forms
373(26)
Visual Basic and Web Programming
374(2)
Client/Server Web Applications
374(2)
Creating Web Forms
376(7)
Web Forms in the Visual Studio IDE
376(2)
Creating Your First Web Form---Step-by-Step
378(1)
Viewing the HTML Code
379(1)
Browser View
379(1)
Toolbars
379(1)
Controls
379(1)
Event Handling
380(1)
Files
380(2)
Coding Event Procedures---Step-by-Step
382(1)
Debugging
383(1)
Testing in Other Browsers
383(1)
Laying Out Web Forms
383(4)
The Page Layout
384(1)
Using Tables for Layout
384(2)
Entering Data in a Table
386(1)
Using the Validator Controls
387(1)
Managing Web Projects
388(2)
Location of Files
389(1)
Moving a Project
389(1)
Deleting a Web Project
390(1)
Some Web Acronyms
390(1)
Your Hands-On Programming Examples
391(8)
Accessing DataBase Files
399(52)
Database files
400(2)
Visual Basic and Database Files
400(1)
Database Terminology
400(1)
XML Data
401(1)
Using ADO.NET and Visual Basic
402(14)
Creating a Connection
404(4)
Setting Up a Data Adapter
408(5)
Defining a Dataset
413(2)
Binding Data to Controls
415(1)
Creating a Database Application
416(7)
Creating a Bound DataGrid Control---Step-by-Step
416(6)
Displaying a Data Preview
422(1)
Binding Data
423(1)
Using Data-Bound Labels
423(4)
Navigating through a Dataset
424(1)
Retrieving the Record Count
424(1)
Binding Data to Labels---Step-by-Step
424(3)
Populating Combo Boxes with Data
427(5)
Filling a List---Windows Forms
428(1)
Using Multiple Data Adapters
429(1)
Creating a Parameterized Query
429(1)
Displaying the Data for a Selected Item
430(1)
Using Web Forms
431(1)
Making a Database Project Portable
432(1)
Advanced Topic---Updating a Data Set
433(9)
The Update Method
434(1)
The Logic of an Update Program
434(1)
Editing Records
435(1)
Deleting Records
436(1)
Adding Records
436(1)
The Full Program
437(5)
Your Hands-On Programming Examples
442(9)
Saving Data and Objects in Files
451(32)
Data Files
452(7)
Data Files and Project Files
452(1)
Data File Terminology
452(1)
File Handling Using Streams
453(1)
Writing Data
453(3)
Reading Files
456(3)
Using the File Common Dialog Boxes
459(4)
OpenFileDialog Control Properties
460(1)
Displaying the OpenFile Dialog Box
461(1)
The Write File Program
462(1)
Saving the Contents of a List Box
463(6)
Loading the List Box
464(1)
Checking for Existence of the File
464(1)
Saving the File
465(1)
Querying the User to Save
466(1)
The Form_Closing Procedure
466(1)
Programming Example
466(3)
Serialization
469(2)
Making a Class Serializable
470(1)
Adding a Formatter Object
470(1)
Using a FileStream
470(1)
Saving an Object
471(1)
Re-creating an Object
471(1)
Your Hands-On Programming Examples
471(12)
Graphics and Animation
483(28)
Graphics in Windows and the Web
484(1)
The Graphics Environment
484(7)
Steps for Drawing Graphics
484(1)
The Paint Event Procedure
485(1)
Pen and Brush Objects
486(1)
The Coordinate System
487(1)
Graphics Methods
488(3)
Random Numbers
491(3)
A Random Number Example
492(2)
Simple Animation
494(3)
Displaying an Animated Graphic
494(1)
Controlling Pictures at Run Time
495(2)
Moving a Picture
497(1)
The Timer Component
497(3)
The Scroll Bar Controls
500(4)
Scroll Bar Properties
500(1)
Scroll Bar Events
501(1)
A Programming Example
502(2)
Your Hands-On Programming Examples
504(7)
Additional Topics in Visual Basic
511(28)
Multiple Document Interface
512(3)
Creating an MDI Project
513(1)
Adding a Window Menu
514(1)
Toolbars and Status Bars
515(6)
Image Lists
515(1)
Toolbars
516(3)
Status Bars
519(2)
Some More Controls
521(4)
The Calendar Controls
522(3)
Crystal Reports
525(14)
Adding a Report Designer
525(2)
Creating a Report---Step-by-Step
527(5)
The Report Designer
532(3)
Adding a Report to a Web Form
535(1)
Moving a Crystal Reports Project
536(3)
Answers to Feedback Questions
539(14)
Functions for Working with Dates, Financial Calculations, Mathematics, and String Operations
553(12)
Working with Dates
554(2)
The DateTime Structure
554(1)
Retrieving the System Date and Time
555(1)
Date Variables
556(1)
Converting Values to a Date Format
556(1)
Financial Functions
556(3)
The PMT Function
557(1)
The Rate Function
557(2)
Functions to Calculate Depreciation
559(1)
Mathematical Functions
559(2)
Working with Strings
561(3)
Functions for Converting between Data Types
564(1)
Tips and Shortcuts for Mastering the Environment
565(14)
Set Up the Screen for Your Convenience
566(6)
Close or Hide Extra Windows
566(3)
Use the Full Screen
569(1)
Modify the Screen Layout
570(1)
Set Options for Your Work
571(1)
Turn Off Dynamic Help
571(1)
Use Shortcuts in the Form Designer
572(1)
Create Multiple Controls of the Same Type
572(1)
Use the Layout Toolbar
572(1)
Nudge Controls into Place
572(1)
Use Shortcuts in the Editor
573(3)
Use the Text Editor Toolbar
573(1)
Use Keyboard Shortcuts When Editing Code
574(1)
Split the Editor Window
575(1)
Use Drag-and-Drop Window
575(1)
Use the Task List
575(1)
Use the Class View Window
576(1)
Use the Object Browser
577(1)
Use Context-Sensitive Help
577(1)
Copy and Move Projects
578(1)
Copy and Move a Windows Project
578(1)
Copy and Move a Web Project
578(1)
Copy and Move a Database Project
578(1)
Glossary 579(10)
Index 589

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program