- Page 1 and 2:
Computer Programming Concepts and V
- Page 3 and 4:
CONTENTS SECTION 1: PROBLEM SOLVING
- Page 5:
13.3 WEB PAGE PROGRAMMING WITH VBSC
- Page 9:
S E C T I O N 1 PROBLEM SOLVING
- Page 12 and 13:
4 Computer Programming Concepts and
- Page 14 and 15:
6 Computer Programming Concepts and
- Page 16 and 17:
8 Computer Programming Concepts and
- Page 18 and 19:
10 Computer Programming Concepts an
- Page 20 and 21:
12 Computer Programming Concepts an
- Page 23:
S E C T I O N 2 FUNDAMENTALS OF PRO
- Page 26 and 27:
18 Computer Programming Concepts an
- Page 28 and 29:
20 Computer Programming Concepts an
- Page 30 and 31:
22 Computer Programming Concepts an
- Page 32 and 33:
24 Computer Programming Concepts an
- Page 34 and 35:
26 Computer Programming Concepts an
- Page 36 and 37:
28 Computer Programming Concepts an
- Page 38 and 39:
30 Computer Programming Concepts an
- Page 40 and 41:
32 Computer Programming Concepts an
- Page 42 and 43:
34 Computer Programming Concepts an
- Page 44 and 45:
36 Computer Programming Concepts an
- Page 46 and 47:
38 Computer Programming Concepts an
- Page 48 and 49:
40 Computer Programming Concepts an
- Page 50 and 51:
42 Computer Programming Concepts an
- Page 52 and 53:
44 Computer Programming Concepts an
- Page 54 and 55:
46 Computer Programming Concepts an
- Page 56 and 57:
48 Computer Programming Concepts an
- Page 58 and 59:
50 Computer Programming Concepts an
- Page 60 and 61:
52 Computer Programming Concepts an
- Page 62 and 63:
54 Computer Programming Concepts an
- Page 64 and 65:
56 Computer Programming Concepts an
- Page 66 and 67:
58 Computer Programming Concepts an
- Page 68 and 69:
60 Computer Programming Concepts an
- Page 70 and 71:
62 Computer Programming Concepts an
- Page 72 and 73:
64 Computer Programming Concepts an
- Page 74 and 75:
66 Computer Programming Concepts an
- Page 76 and 77:
68 Computer Programming Concepts an
- Page 78 and 79:
70 Computer Programming Concepts an
- Page 81 and 82:
3.1 SUB PROCEDURES, PART I Structur
- Page 83 and 84:
The second task performed by the ad
- Page 85 and 86:
‘The density (number of people pe
- Page 87 and 88:
"Hawaii", 1184000, 6471 "Alaska", 6
- Page 89 and 90:
dure by just using the variable in
- Page 91 and 92:
Call CalculateSum(x, y, s) Call Dis
- Page 93 and 94:
■ FORM-LEVEL VARIABLES Visual Bas
- Page 95 and 96:
3. In Appendix D, the section “St
- Page 97 and 98:
Private Sub cmdDetermine_Click() Di
- Page 99 and 100:
Private Sub cmdCompute_Click() Dim
- Page 101 and 102:
preceded with the word ByVal. Built
- Page 103 and 104:
It is clear from the hierarchy char
- Page 105 and 106:
The meaningful procedure names, alo
- Page 107:
FIGURE 3-9 Sample Run for Programmi
- Page 111 and 112:
4.1 RELATIONAL AND LOGICAL OPERATOR
- Page 113 and 114:
(a) (2 < n) And (n < 6) (b) (2 < n)
- Page 115 and 116:
SOLUTION: In the following program,
- Page 117 and 118:
The Else part of an If block can be
- Page 119 and 120:
picTax.Cls picTax.Print “Your FIC
- Page 121 and 122:
Case 4, 5 picOutcome.Print “You a
- Page 123 and 124:
EXAMPLE 3 The following program use
- Page 125 and 126:
Case Else picResult.Print “The st
- Page 127 and 128:
4. The items in the value list must
- Page 129 and 130:
The hierarchy chart in Figure 4-4 s
- Page 131 and 132:
‘Program to compute employees’
- Page 133 and 134:
Private Function TaxMarried(adjPay
- Page 135 and 136:
and tells us whether the food meets
- Page 137:
S E C T I O N 5 REPETITION
- Page 140 and 141:
132 Computer Programming Concepts a
- Page 142 and 143:
134 Computer Programming Concepts a
- Page 144 and 145:
136 Computer Programming Concepts a
- Page 146 and 147:
138 Computer Programming Concepts a
- Page 148 and 149:
140 Computer Programming Concepts a
- Page 150 and 151:
142 Computer Programming Concepts a
- Page 152 and 153:
144 Computer Programming Concepts a
- Page 154 and 155:
146 Computer Programming Concepts a
- Page 156 and 157:
148 Computer Programming Concepts a
- Page 158 and 159:
150 Computer Programming Concepts a
- Page 160 and 161:
152 Computer Programming Concepts a
- Page 162 and 163:
154 Computer Programming Concepts a
- Page 164 and 165:
156 Computer Programming Concepts a
- Page 167:
S E C T I O N 6 ARRAYS
- Page 170 and 171:
162 Computer Programming Concepts a
- Page 172 and 173:
164 Computer Programming Concepts a
- Page 174 and 175:
166 Computer Programming Concepts a
- Page 176 and 177:
168 Computer Programming Concepts a
- Page 178 and 179:
170 Computer Programming Concepts a
- Page 180 and 181:
172 Computer Programming Concepts a
- Page 182 and 183:
174 Computer Programming Concepts a
- Page 184 and 185:
176 Computer Programming Concepts a
- Page 186 and 187:
178 Computer Programming Concepts a
- Page 188 and 189:
180 Computer Programming Concepts a
- Page 190 and 191:
182 Computer Programming Concepts a
- Page 192 and 193:
184 Computer Programming Concepts a
- Page 194 and 195:
186 Computer Programming Concepts a
- Page 196 and 197:
188 Computer Programming Concepts a
- Page 198 and 199:
190 Computer Programming Concepts a
- Page 200 and 201:
192 Computer Programming Concepts a
- Page 202 and 203:
194 Computer Programming Concepts a
- Page 204 and 205:
196 Computer Programming Concepts a
- Page 206 and 207:
198 Computer Programming Concepts a
- Page 208 and 209:
200 Computer Programming Concepts a
- Page 210 and 211:
202 Computer Programming Concepts a
- Page 212 and 213:
204 Computer Programming Concepts a
- Page 214 and 215:
206 Computer Programming Concepts a
- Page 216 and 217:
208 Computer Programming Concepts a
- Page 218 and 219:
210 Computer Programming Concepts a
- Page 220 and 221:
212 Computer Programming Concepts a
- Page 223:
S E C T I O N 7 SEQUENTIAL FILES
- Page 226 and 227:
218 Computer Programming Concepts a
- Page 228 and 229:
220 Computer Programming Concepts a
- Page 230 and 231:
222 Computer Programming Concepts a
- Page 232 and 233:
224 Computer Programming Concepts a
- Page 234 and 235:
226 Computer Programming Concepts a
- Page 236 and 237:
228 Computer Programming Concepts a
- Page 238 and 239:
230 Computer Programming Concepts a
- Page 240 and 241:
232 Computer Programming Concepts a
- Page 242 and 243:
234 Computer Programming Concepts a
- Page 244 and 245:
236 Computer Programming Concepts a
- Page 246 and 247:
238 Computer Programming Concepts a
- Page 248 and 249:
240 Computer Programming Concepts a
- Page 251:
S E C T I O N 8 RANDOM-ACCESS FILES
- Page 254 and 255:
246 Computer Programming Concepts a
- Page 256 and 257:
248 Computer Programming Concepts a
- Page 258 and 259:
250 Computer Programming Concepts a
- Page 260 and 261:
252 Computer Programming Concepts a
- Page 262 and 263:
254 Computer Programming Concepts a
- Page 265:
S E C T I O N 9 THE GRAPHICAL DISPL
- Page 268 and 269:
260 Computer Programming Concepts a
- Page 270 and 271:
262 Computer Programming Concepts a
- Page 272 and 273:
264 Computer Programming Concepts a
- Page 274 and 275:
266 Computer Programming Concepts a
- Page 276 and 277:
268 Computer Programming Concepts a
- Page 278 and 279:
270 Computer Programming Concepts a
- Page 280 and 281:
272 Computer Programming Concepts a
- Page 282 and 283:
274 Computer Programming Concepts a
- Page 284 and 285:
276 Computer Programming Concepts a
- Page 286 and 287:
278 Computer Programming Concepts a
- Page 288 and 289:
280 Computer Programming Concepts a
- Page 290 and 291:
282 Computer Programming Concepts a
- Page 292 and 293:
284 Computer Programming Concepts a
- Page 295 and 296:
10.1 LIST BOXES AND COMBO BOXES The
- Page 297 and 298:
Private Sub cmdAdd_Click() Dim item
- Page 299 and 300:
either typing in information or jus
- Page 301 and 302:
Private Sub cmdDisplay_Click() picF
- Page 303 and 304:
clicks on the square to toggle betw
- Page 305 and 306:
circle and the button is said to be
- Page 307 and 308:
hsbBar.Value changes accordingly. T
- Page 309 and 310: THE SHAPE CONTROL The shape control
- Page 311 and 312: FIGURE 10-9 A Picture Created with
- Page 313 and 314: Rows 9 ScrollBars 0 - flexScrollBar
- Page 315 and 316: Private Sub cmdQuit_Click() End End
- Page 317 and 318: Here, the menu bar contains two men
- Page 319 and 320: Clipboard.Clear deletes the content
- Page 321 and 322: cedures that are available to all f
- Page 323 and 324: The Flags property influences certa
- Page 325 and 326: 13. Additional forms serve as new w
- Page 327: 6. Voting Machine. The members of t
- Page 331 and 332: 11.1 AN INTRODUCTION TO DATABASES T
- Page 333 and 334: 9. Click on the down arrow to the r
- Page 335 and 336: clicked or a Move, Update, Delete,
- Page 337 and 338: Do While (Not foundFlag) And (Not d
- Page 339 and 340: mary key. Databases of student enro
- Page 341 and 342: question mark stands for a single c
- Page 343 and 344: 1995 populations. When the second c
- Page 345 and 346: If a Find method does not locate a
- Page 347 and 348: place an x in the check box next to
- Page 349 and 350: population (in descending order). W
- Page 351 and 352: Creating and Designing Databases 34
- Page 353 and 354: 9. When all fields have been specif
- Page 355 and 356: Creating and Designing Databases 34
- Page 357 and 358: TABLE 11.5(B) TABLE 11.5(C) course
- Page 359: (a) Update the quantity field of th
- Page 364 and 365: 356 Computer Programming Concepts a
- Page 366 and 367: 358 Computer Programming Concepts a
- Page 368 and 369: 360 Computer Programming Concepts a
- Page 370 and 371: 362 Computer Programming Concepts a
- Page 372 and 373: 364 Computer Programming Concepts a
- Page 374 and 375: 366 Computer Programming Concepts a
- Page 376 and 377: 368 Computer Programming Concepts a
- Page 378 and 379: 370 Computer Programming Concepts a
- Page 380 and 381: 372 Computer Programming Concepts a
- Page 382 and 383: 374 Computer Programming Concepts a
- Page 384 and 385: 376 Computer Programming Concepts a
- Page 386 and 387: 378 Computer Programming Concepts a
- Page 388 and 389: 380 Computer Programming Concepts a
- Page 390 and 391: 382 Computer Programming Concepts a
- Page 393 and 394: 13.1 OLE OLE, which stands for Obje
- Page 395 and 396: Dim objExcel As Object ‘In (Decla
- Page 397 and 398: FIGURE 13-2 Dialog Box for Insertin
- Page 399 and 400: Notice that the document in the OLE
- Page 401 and 402: To access an initial Web page, you
- Page 403 and 404: EXAMPLE 2 The following enhancement
- Page 405 and 406: DownloadComplete Triggered when the
- Page 407 and 408: FIGURE 13-5 Web Page ■ PLACING AC
- Page 409 and 410: FIGURE 13-7 14. Feel free to type i
- Page 411:
SUMMARY 1. OLE, a technology develo
- Page 415 and 416:
APPENDIX A ANSI VALUES ANSIValue Ch
- Page 417 and 418:
APPENDIX B HOW TO HOW TO: INSTALL,
- Page 419 and 420:
4. If you selected Recent, double-c
- Page 421 and 422:
3. Press F1. C. Display an ANSI tab
- Page 423 and 424:
2. Point to Programs. 3. Point to A
- Page 425 and 426:
1. Press F4. or 1. Click on an obje
- Page 427 and 428:
3. Click on the down arrow at the r
- Page 429:
B. Remove all breakpoints. 1. Press
- Page 432 and 433:
424 Computer Programming Concepts a
- Page 434 and 435:
426 Computer Programming Concepts a
- Page 436 and 437:
428 Computer Programming Concepts a
- Page 438 and 439:
430 Computer Programming Concepts a
- Page 440 and 441:
432 Computer Programming Concepts a
- Page 442 and 443:
434 Computer Programming Concepts a
- Page 444 and 445:
436 Computer Programming Concepts a
- Page 446 and 447:
438 Computer Programming Concepts a
- Page 448 and 449:
440 Computer Programming Concepts a
- Page 450 and 451:
442 Computer Programming Concepts a
- Page 452 and 453:
444 Computer Programming Concepts a
- Page 454 and 455:
446 Computer Programming Concepts a
- Page 456 and 457:
448 Computer Programming Concepts a
- Page 458 and 459:
450 Computer Programming Concepts a
- Page 460 and 461:
452 Computer Programming Concepts a
- Page 462 and 463:
454 Computer Programming Concepts a
- Page 464 and 465:
456 Computer Programming Concepts a
- Page 466 and 467:
APPENDIX D VISUAL BASIC DEBUGGING T
- Page 468 and 469:
can then alter the expression in th
- Page 470 and 471:
point. (Pressing F9 is referred to
- Page 472 and 473:
2. Press F8, click the command butt
- Page 474 and 475:
I N D E X A Access key, 24, 296-297
- Page 476 and 477:
I If block, 106-112, 114, 119, 126,
- Page 478 and 479:
END-USER LICENSE AGREEMENT FOR MICR
- Page 480 and 481:
MISCELLANEOUS If you acquired this