C


Call keyword with Sub procedures, 278

Case Else statement, 206–207

Catch blocks, 3935

check marks in menus, 113–115

CheckBox controls

for Dice Poker game, 252

for Guess a Number game, 212, 214

CheckForWinner Function procedure, 414–417

CheckGameResults() Sub procedure, 342

CheckState property, 115

circles, 378

drawing, 357–359

class library, 14–16

My Namespace, 363–365

Visual Basic Class Library, 53

Class Name list, code editor, 36

classes, 317–318, 320–328

code modules for, 322–323

examples of, 217

graphics class, working with 352–354

inheritance, 327–328

instantiating, 320

methods, adding, 325–327

new classes, creating, 320–323

properties, defining, 324–325

for Rock, Paper and Scissors game, 336–337

SoundPlayer class, 362–363

Clear Numbers menu item, Lottery Assistant game code, 140–141

Click Race game, 27–29, 48–62

CLR (common language runtime), 14–16

code. See also code editor; procedures

assisted code development, 36–37

breakpoints and, 389–390

for Click Race game, 52–56

comments, 150–151

for Dice Poker game, 255–268

for Guess a Number game, 217–225

for Hangman game, 300–310

IntelliSense, 38–40

for Lottery Assistant game, 135–144

menus, associating statements with, 110–111

for Rock, Paper and Scissors game, 336–344

for Speed Typing game, 92–99

for Story of Mighty Molly game, 183–192

for Tic-Tac-Toe game, 403–419

for VB Doodle game, 370–379

code editor, 35–40

assisted code development, 36–37

Class Name list, 36

for Click Race game, 52–56

color coding, 37–38

indentation, automatic, 37–38

IntelliSense, 38–40

Method Name list, 36

spacing, automatic, 37–38

for Speed Typing game, 92–93

window, 23

collections. See also loops

ForNext loop with, 238, 240

colors

coding, 37–38

with Pen class, 354–356

COM (Component Object Model), 13, 42

components, 42

ComboBox controls

with IfThenElseIf statement, 203

for VB Doodle game, 370

comments, 150–151

comparison operators, 208–209

compiling

CLR (common language runtime) for, 16

defined, 4, 16

Component Tray, 46–47

ComputerTurn() procedure, 341–342

conditional logic, 196. See also If…Then statements

comparison operators, 208–209

nesting, 204–206

Select Case statement, 206–207

conditions

with DoWhile loop, 232

testing condition, 233

constants, 152, 154–158

built-in constants, using, 156–158

declaring, 155–156

for Dice Poker game, 255

for Hangman game, 301

for Story of Mighty Molly game, 183

context menus, 119–121

controls. See also Toolbox

for Click Race game, 50–52

customizing properties, 21–22

for Dice Poker game, 250–254

form designer for, 34

forms, adding to, 19–21

for Hangman game, 292–300

IntelliSense, help from, 40

locking into place, 35

naming convention for, 89–90

for Rock, Paper and Scissors game, 331–336

for Speed Typing game, 87, 89–92

for Story of Mighty Molly game, 179–183

tab order, setting up, 66–67

for Tic-Tac-Toe game, 399–403

for VB Doodle game, 368–370

conversion of variables, 164–167

Convert object, 285–286

coordinates

for graphics, 350

in VB Doodle game, 373–376

Counter variable with ForNext loop, 237

CreateObjects() function, 352–353

Customer Contacts application, 240–241




Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner
Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner
ISBN: 1592008143
EAN: 2147483647
Year: 2006
Pages: 126

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net