Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner

editing object properties, 46

Element variable in For…Each…Next loop, 241

Ellipse class, 359

ellipses (…), 109

embedding

comments, 151

If…Then statements, 204–206

enabling/disabling menus/menu items, 116–118

encapsulation, 319

End Class statement, 52–53

End Select statement, 206

endless loops, 243–244

Err object, 393

Error List window, 47

syntax errors, viewing, 384–385

errors, 383–387. See also exception handlers; run-time errors

breakpoints, establishing, 387–390

logical errors, 385

syntax errors, 384–385

with variable conversion, 166–167

events, 276

exception handlers, 390–396

CLR (common language runtime) for, 16

demonstration of run-time exceptions, 391–392

structured exception handlers, 394–396

unstructured exception handlers, 392–393

Exit button in Click Race game, 55–56

Exit menu, Lottery Assistant game code, 141

Exit statement

for Do loops, 245–246

for For…Next loop, 244–245

Категории