Wednesday, January 9, 2013

Programming in Visual Basic 2010

0 komentar

Programming in Visual Basic 2010
The Very Beginner’s Guide

Table of Contents

Preface page
1 Fundamentals of Design and Programming – Starting from Scratch
What Is Programming?
Basic Tasks
Basic Procedures
Following Directions
Interface/Instructions – The Human/Computer Connections
What Is a Program?
Your First Program – College Tuition
VB Basics
Summary
Review
Terms
Keywords
2 Variables and Constants – A Place for Everything and Everything in Its Place
Computer Memory: Location, Location, Location
Declarations, Input, Processing, Output – No Program Should Be Without Them
Summary
Review
Terms
Keywords
3 Writing Programs – First You Walk, Then You Run
Following IPO
Commenting Your Code
Formatting Your Output
Errors in Your Program
Debugging Practice
Controlling Your Controls
Data Type Conversion
Jim Soxx Sports Sales Program
Open and Run
Fixing a Program – Van Nilla’s Ice Cream Stand
On Your Own
Summary
Review
Terms
Keywords
4 Writing Programs II – More Controls and New Logic
Variable Scope
Counters and Accumulators
More Data Types
Methods
The Load Event
More Controls
Controlling Strings
Tying It All Together
Fixing a Program
On Your Own
Summary
Review
Terms
Keywords
5 Using If and Case – Decisions, Decisions, Decisions
What Are Decision Structures?
If . . . Then. . . Else Structures
Flowchart Update
Deskcheck
Potential Problems
Data Validation
Stacked If Structures
ElseIf
Guessing Game Case Study
Case Structures
A Roll of the Dice Case Study
Tying It All Together
On Your Own
Summary
Review
Terms
Keywords
6 Loops – Once Is Not Enough
What Are Loops?
For . . . Next Loops
DoWhile Loops
Do LoopWhile
Do Until Loops
Do Loop Until
Loop Questions
Infinite Loops
Nested Loops
Chr and Asc Commands
A Little FunWith Graphics
Tying It All Together
Potential Problems
Fixing a Program
On Your Own
Summary
Review
Terms
Keywords
7 Procedures and Functions – Divide and Conquer
Why Use Procedures?
Flowcharting Procedures
Potential Problems
Functions
Flowcharting Functions
Potential Problems
New Controls – Menus and Timers
Tying It All Together
Fixing a Program
On Your Own
Summary
Review
Terms
Keywords
8 Writing Programs III – Tying It All Together, So Far
RadioButtons
CheckBoxes
Potential Problems
ListBoxes
ComboBoxes
CheckedListBoxes
Tab Controls, ScrollBars, and TrackBars
Multiple Forms
Controlling Strings
MaskedTextBox
Pizza Program Finished
Tying It All Together
Potential Problems
On Your Own
Summary
Review
Terms
Keywords
9 File I/O – Files and Records and Fields, Oh My!
The Basics of File Input and Output
Sequential File Access
File Output
Dialog Boxes
Try-Catch Blocks
Intro to Namespaces
Control Break Programming
Minor Control Break Processing
Updating Files
Merging Files
Fixing a Program
On Your Own
Summary
Review
Terms
Keywords
10 Arrays and Structures – Organizing Data
Arrays – Order by the Numbers
Using an Array
Arrays and Loops – Hand in Hand
Loading an Array From a File
Searching an Array
Sorting an Array
Two-Dimensional Arrays
Student Grade Program Case Study
Structures
On Your Own
Summary
Review
Terms
Keywords
11 Events and More Controls – Tips and Tricks for Programming
New Events
Mouse Events
Potential Problems
Potential Problems
New Controls
Variable Scope
Globals
Overloading
Event Handlers
Potential Problems
Fixing a Program
On Your Own
Summary
Review
Terms
Keywords
12 Objects and Classes – Objects Are in a Class By Themselves
Built-in Objects
Creating Classes of Your Own
Using Classes
Student Grade Class
Potential Problems
Employee Pay Class
Inheritance
Potential Problems
Why Use Classes?
Fixing a Program
On Your Own
Summary
Review
Terms
Keywords
13 Graphics – The Visual (and Audio) Side of Visual Basic
Graphic Basics
Drawing
Images
Potential Problems
Simple Paint Tutorial
Sound
Windows Media Player
Creating Charts
Potential Problems
Fixing a Program
On Your Own
Summary
Review
Terms
Keywords
14 LINQ to SQL – The World Runs on Databases
Background
Connecting to a Database Tutorial
Wages Tutorial
Potential Problems
Customer Queries
Potential Problems
On Your Own
Summary
Review
Terms
Keywords
15 Crystal Reports – Tying Databases to Output
Crystal Reports Tutorial
Creating a Report Using the ReportWizard
Mailing Labels
Potential Problems
On Your Own
Summary
Review
Terms
Keywords
Appendix A American Standard Code for Information Interchange (ASCII) Table
Appendix B Flowchart Table
Appendix C My Application
Appendix D Customizing Your VB Environment
Appendix E Using Help
Appendix F Using Debug
Appendix G Structured Query Language (SQL) Basics
Appendix H Answers to Self-Check Questions
Appendix I Control and Variable Naming Conventions
Index
Please download here PDF | 8,98 MB


Read More ->>

Visual Basic 2008 Made Easy

0 komentar
TABLE OF CONTENTS
Chapter 1 Introduction to Visual Basic 2008
1.1 A brief description of Visual Basic 2008
1.2 The Visual Basic 2008 Integrated Development Environment
Chapter 2 Working with Controls
2.1 Using Text Box
2.2 Using List Box
Chapter 3 Working with Control Properties
3.1 Setting Control Properties in Properties Window
3.2 Setting Control Properties Using Code
Chapter 4 Object Oriented Programming
4.1 Encapsulation
4.2 Inheritance
4.3 Polymorphism
Chapter 5 Writing the Code
5.1 The Event Procedure
5.2 Writing the Code
Chapter 6 Managing VB2008 Data
6.1 Visual Basic 2008 Data Types
6.1.1 Numeric Data Types
6.1.2 Non-numeric Data Types
6.1.3 Suffixes for Literals
6.2 Managing Variables
6.2.1 Variable Names
6.2.2 Declaring Variables
6.2.3 Assigning Values to Variables
6.3 Constants
6.3.1 Declaring a Constant
Chapter 7 Mathematical Operations
7.1 Basic Arithmetic Operations
7.2 Pythagoras Theorem
7.3 BMI Calculator
Chapter 8 String Manipulation
8.1 String Manipulation Using + and & signs.
8.2 String Manipulation Using VB2008 Built-in Functions
8.2.1 The Len Function
8.2.2 The Right Function
8.2.3 The Left Function
Chapter 9 Controlling Program Flow
9.1 Conditional Operators
9.2 Logical Operators
9.3 Using If control structure with Comparison Operators
9.3.1 If...Then Statement
9.3.2 If....Then...Else Statement
9.3.3 If....Then...ElseIf Statement
Chapter 10 Select Case Control Structure
10.1 The Select Case...End Select Structure
Chapter 11 Looping
11.1 For...Next Loop
11.2 Do Loop
11.3 While...End While Loop
Chapter 12 Functions
12.1 MsgBox( ) Function
12.2 The InputBox( ) Function
Chapter 13 String Functions
13.1 The Mid Function
13.2 The Right Function
13.3 The Left Function
13.4 The Trim Function
13.5 The Ltrim Function
13.6 The Rtrim Function
13.7 The InStr function
13.8 The Ucase and the Lcase Functions
13.8 The Chr and the Asc functions
Chapter 14 Mathematical Functions
14.1 The Abs function
14.2 The Exp function
14.3 The Fix Function
14.4 The Int Function
14.5 The Log Function
14.6 The Rnd( ) Function
14.7 The Round Function
Chapter 15 Formatting Functions
15.1 Predefined Format Function
15.2 User-Defined Function
Chapter 16 Formatting Date and Time
16.1 Formatting Date and time using predefined formats
16.2 Formatting Date and time using user-defined formats
Chapter 17 Using the Check Box 70
Chapter 18 Using the Radio Button 76
Chapter 19 Creating a Simple Web Browser 80
Chapter 20 Errors Handling
20.1 Introduction
20.2 Using On Error GoTo Syntax
20.3 Errors Handling using Try.....Catch....End Try Structure
Chapter 21 Reading and write Files
21.1 Introduction
21.2 Reading a Text File
21.3 Writing to a Text File
Chapter 22 Creating and Managing Graphics
22.1 Introduction
22.2 Creating the Graphics Object
22.3 Creating a Pen
22.4 Drawing a Line
22.5 Creating Rectangles
22.6 Customizing Line Style of the Pen Object
22.7 Drawing Ellipse
22.8 Drawing a Circle
22.9 Drawing Text
22.10 Drawing Polygons
22.11 Drawing a Pie
22.12 Drawing and Filling an Ellipse
22.13 Drawing and Filling a Polygon
22.14 Drawing and Filling a Pie
Chapter 23 Packaging Applications for Distribution
23.1 Creating the Setup Program using Publish Wizard
23.2 Testing your Install Program
Please download here PDF | 829,95 KB

Read More ->>
 

| Gudang PDF © 2014. All Rights Reserved | Template Style by My Blogger Tricks .com | Design by Brian Gardner | Back To Top |