|
 |
 |
To access the contents, click the chapter and section titles.
Visual Basic 6 Programming Blue Book: The Most Complete, Hands-On Resource for Writing Programs with Microsoft Visual Basic 6!
(Publisher: The Coriolis Group)
Author(s): Peter G. Aitken
ISBN: 1576102815
Publication Date: 08/01/98
Index
- Symbols
- & (ampersand)
- access key specifier, 53
- long type declaration character, 67
- string concatenation operator, 81
- * (asterisk)
- multiplication operator, 59, 80
- wildcard character, 370
- @ (at sign)
- currency type declaration character, 67
- \ (backslash)
- integer division, 80
- ^ (caret)
- exponentiation operator, 80
- , (comma)
- field delimiter, 351
- location of Print # statement, 353355
- (double quotation mark)
- field delimiter, 351
- E+ characters, format specifier, 111
- = (equal sign)
- assignment operator, 58
- equal to comparison operator, 83
- ! (exclamation point)
- single type declaration character, 67
- > greater than comparison operator, 83
- >= greater than or equal to comparison operator, 83
- < less than comparison operator, 83
- <= less than or equal to comparison operator, 83
- - (minus sign)
- subtraction operator, 80
- <> not equal to comparison operator, 83
- % (percent sign)
- integer type declaration character, 67
- + (plus sign)
- addition operator, 80
- string concatenation operator, Basic, 81
- # (pound sign)
- double type declaration character, 67
- format specifier, 111
- ? (question mark)
- wildcard character, 370
- ; (semicolon)
- location of Print # statement, 353355
- Print method modifier, 335
- / (slash)
- division operator, 80
- _ (space+underscore)
- line continuation character, 85
- 0 (zero character)
- format specifier, 111
- A
- Abs function, 111
- Absolute coordinates, 332
- Accessing Windows API, 666668
- Access keys, menu items, 267
- AccessType property, 486
- Activating OLE objects, 241
- ActiveForm property, 298
- ActiveX, 183197
- class module, 184185
- and client/server applications, 622623
- project types, 134
- vs. DDE, 201
- ActiveX class, 185
- ActiveX client, 185
- ActiveX component, 136
- ActiveX control events, 445448
- ActiveX Control Lister (ACLIST), 461462
- ActiveX controls, 89, 4748, 159, 438462
- See also Custom controls.
- adding a property page, 454458
- adding properties, 452453
- compiling, 458459
- creating, 439443
- distributing, 460
- project type, 134
- responding to events, 448452
- running at design time, 444445
- testing, 443
- testing options, 452
- using in other projects, 459460
- using on the Web, 460462
- ActiveX Data Objects. See ADO.
- ActiveX DLL project type, 134
- ActiveX DLLs (Dynamic Link Libraries), 623
- ActiveX Document DLL project type, 134
- ActiveX Document EXE project type, 134
- ActiveX EXE, 623
- creating, 196197
- project type, 134
- ActiveX object, 185
- ActiveX server, 185196
- ActiveX server types, 623624
- Adding
- buttons to Toolbars, 579581
- Command Buttons, 29, 103105
- images to ImageList control, 160161
- Label controls, 2425
- menus, 266269
- property procedures, 189
- Addin project type, 134
- Addition operator (+), 80
- Additive primary colors, 325
- AddNew method, 519
- ADDRESS demonstration project, 493507
- adding a basic module, 496497
- chameleon command buttons, 498502
- designing the form, 494496
- initializing the program, 502505
- List form, 506507
- planning the database, 493494
- using multiple forms, 497498
- Adjusting. See Changing.
- ADO (ActiveX Data Objects), 532533, 534
- Data control, 533, 547
- and data-aware controls, 548
- error numbers, 598
- model, 545547
- in designing a relational database application, 551555
- objects, 545547
- ADO Data control, 603
- ADO Data control properties, 603
- Algebraic logic, 9596
- Alias for DLL procedures, 668
- Alias keyword, 668
- Align command, 44
- Aligning
- controls, 4445, 46
- text, 670671
- Alignment setting, 102
- Align property, 575
- ALIGNTXT demonstration project, 670675
- AllowCustomize property, 576
- AllowZeroLength property, 566
- And (logical operator), 84
- Animations, simple, creating, 318321
- ANSI, 357
- ANSI codes, 596
- API (Applications Programming Interface), 533
- See also Windows API.
- Text Viewer, 416
- Applications
- decision-support, 542
- deploying, 661663
- packaging, 659661
- transaction-processing, 542543
- Applications framework, 67
- Applications Programming Interface. See API.
- Application Wizard, 128129, 134
- Apply button, property page, 456
- ApplyChanges event, 457
- Architecture
- centralized, 618
- file server, 618, 620
- Arguments, 110
- Arithmetic operators, 8082
- Array index, 72
- Arrays, 7276
- ASCII codes, 596
- ASCII files, 264, 357
- Assigning unused error number, 641642
- Assignment operator (=), 58, 79
- Asterisk (*), multiplication operator, 59, 80
- Asynchronous communications ports, 400
- AtEndOfLine property, 358
- AtEndOfStream property, 358
- Atomic data, 553554
- Attribute classes, 538
- Attributes property, 382384
- AutoActivate property, 241
- AutoEnable property, 427
- Automatic link update, 202
- Automatic object references, 307
- Automation Manager, 625
- AutoRedraw property, 304
- AvailableSpace property, 375
- B
- Baby Editor project, 263289
- code writing, 271289
- planning, 264265
- visual design, 265270
- BackColor property, 43, 337
- Back end, 530
- BackStyle property, 337
- .BAS file extension, 39
- Basic modules, adding to database programs, 496497
- Basic procedure, 3233
- Basic statements. See Statements.
- Baud rate, 403
- Baud rate parameter, 400
- Binary access files, 345
- Binary access mode, when to use, 367368
- Binary files
- reading and writing data, 365367
- using, 364367
- Binary search algorithm, 540
- Binding, 548
- Bitmap image format, 309
- Bitmap pictures, displaying, 324
- .BMP file extension, 309
- Bookmark property, 522
- Boolean data type, 83
- Boolean variable, 102
- Boolean variable type, 68, 70
- BorderColor property, 337
- BorderStyle property, 43, 102, 302, 337
- BorderWidth property, 337
- Bound, 548
- BoundText properties, 603
- Break mode, 650
- and callback function, 677
- and Immediate window, 655
- Breakpoints, 649650
- Bugs, 648
- Built-in collections, 157159
- Business rules, 620621
- ButtonClick event, 429, 580
- ButtonCompleted event, 429430
- ButtonEnabled property, 427
- ButtonGotFocus event, 429
- ButtonHeight property, 576
- ButtonLostFocus event, 429
- Button object properties, 578579
- Button property, 575
- Buttons collection, 576577
- Buttons tab, 575576, 577579
- ButtonWidth property, 576
- Byte numeric variable type, 6465
- Byte variable type, 68
- C
- Calculator project, 95124
- creating the calculator, 100119
- enhancing the calculator, 119124
- planning, 95100
- visual interface, 102105
- writing the code, 105124
- Callback API function, 675680
- Callback demonstration project, 678680
- Callback function, 417
- Callback function
- and break mode, 677
- Call statement, 666667
- CanEject property, 427
- CanPlay property, 427
- CanRecord property, 427
- CanStep property, 427
- Capability command, 420
- Caption property, 26, 29, 43, 5253, 499, 578
- Captions, changing, 29
- CausesValidation property, 571572, 597
- Centralized architecture, 618
- Changed property, 456457
- Change event, 35, 386387
- Changing
- to another drive, 371
- to another folder, 371
- button fonts, 104105
- captions, 29
- Font property, 51
- form position, 4244
- form size, 29, 4244
- multiple controls, 45
- position of controls, 4345
- properties, 26, 4243
- shape of controls, 2425
- size of controls, 2425, 4345, 46, 5859
- text properties, 4951
- value of any variables and properties, 655
- ChDir statement, 371
- ChDrive statement, 371
- Check Box control, 47, 549
- Checked property, 270
- Child forms, MDI, 295296, 574575
- Child nodes, 162
- Chr$ function, 279, 596
- Circle method, 306307, 329330
- CIRCLES demonstration project, 330
- Class Builder utility, 139147
- Classes, 7, 138151
- See also Components; Objects.
- Collection, 153159
- demonstration project, 139147
- FileSystemObject (FSO), 355359
- OLE object, 229230
- relationship to objects, 139
- Class_Initialize procedure, 190
- Class Module Builder dialog box, 139140
- Class modules, 184185
- properties, 186187
- Class property, 230
- Class_Terminate procedure, 190
- Click event, 217, 314
- Client, 530
- Client application, 229
- Client registration utility, 624
- Client/server architecture, 620
- Client/server databases, 543
- Client/server models, 619622
- Client/server programming, 617627
- Clipboard
- copying to, 123
- and creating DDE links, 206209
- data formats, 207
- Clipboard.GetText, 274
- Clipboard object, 123, 207209, 273275
- Clipboard.SetText, 274
- Close command, 415
- Close method, 359
- Close statement, 348
- Closing, files, 348
- .CLS file extension, 187
- Code
- Basic, 14
- connecting to the interface, 3336
- viewing, 33, 35
- writing, 3133
- Code editing mode, 31
- Code Editing window, 33, 35
- Code module, 29
- Codes
- module level, 108, 127
- procedure level, 108, 127
- CollatingOrder property, 567
- Collection class, 153159
- Collection object, creating, 154
- Collections
- built-in, 157159
- Buttons, 576577
- ColumnHeaders, 179180
- Columns, 550
- Controls, 157158
- Drives, 375377
- Errors, 546
- Fields, 546
- Folders, 375
- Forms, 157158
- ListImages, 160
- ListItems, 178
- Nodes, 162163
- Parameters, 546
- Printers, 157, 341
- Properties, 546
- SelectedControls, 456
- Colors
- dithering, 329
- inverting, 324
- RGB function, 325329
- RGB values, 324
- specifying, 325
- text, 54, 5758
- COLORS demonstration project, 326329
- ColumnHeaders collection, 179180
- Column property, 358
- Columns collection, 550
- Combo Box control, 47, 549, 584586
- COM (Component Object Model), 184
- and client/server applications, 622623
- interfaces, 532
- ComEvEOF event constant, 406
- ComEvReceive event constant, 406
- ComEvRing event constant, 406
- ComEvSend event constant, 406
- Command argument, to DDE source application, 220
- Command Button control, 23, 46
- Command buttons
- adding, 29, 103105
- chameleon, in a database program, 498502
- Command object, 532, 545
- Command property, 427
- Commands
- Align, 44
- Capability, 420
- Close, 415
- Components, 135137
- GET, 470471
- HEAD, 470
- MCI, 414416
- MCI button, 428429
- modem, 409
- Paste Link, 209213
- Paste Special, 235236
- POST, 470
- PUT, 470
- References, 137138
- Seek, 419
- sending to another program, 220
- Step, 656
- Comm control, 401409
- properties, 402405
- COMMDEMO demonstration project, 406409
- Comments, 77
- CommEvent property, 405
- Common controls, Windows, 159181
- Common Dialog controls, 277281
- opening files, 278281
- Printers, 341
- selecting fonts, 287289
- ShowSave method, 283
- CommPort property, 403
- Communication control. See Comm control.
- Communication events, 406
- Comparison expression, 87
- Comparison operators, 8384, 85
- Compiling, 125127
- ActiveX controls, 458459
- to Native-code, 126127
- to P-code, 126
- Component Object Model. See COM.
- Components, 79, 133151
- See also Classes; Objects.
- availability, 137138
- exposed, 135
- registering, 196
- types, 136137
- Components command, 135137
- COM ports, 400
- Compound keys, 554
- Compound primary keys, 538
- Concatenation operator, 8081
- Connection object, 532, 545
- ConnectionString property, 611
- Connection string syntax, 611
- Constants, 64, 7677, 100102
- global, related to DDE, 208
- intrinsic, 161
- to test for buttons and shift keys, 314315
- Container applications
- OLE terminology, 229233
- Container property, 299
- Context and watch expressions, 653654
- Control arrays, 119
- Index argument, 103, 106
- Control component, 136
- Control names, referring to a different form, 525
- Controls, 9, 22
- ActiveX, 89, 4748, 159, 438462, 458459 (See also Controls/custom)
- adding labels, 2425
- ADO Data, 533, 547, 548, 603
- aligning, 4445, 46
- available, 48
- binding to the data table, 518519
- changing position, 4345
- changing properties, 26
- changing shapes, 2425
- changing size, 2425, 4345, 46, 5859
- Check Box, 47, 549
- Combo Box, 47, 549, 584586
- Comm, 401409
- Command Button, 23, 29, 46
- Common Dialog, 277281, 283, 287289, 341
- as containers, 300
- custom, 89, 4748 (See also Controls/ActiveX)
- Data, 509511
- Data-aware, 510511, 548550
- Data-bound, 510
- DataCombo, 550
- DataGrid, 549550, 586
- DataList, 550, 603606
- deleting, 43
- DirListBox, 386
- DriveListBox, 387
- Enterprise Edition, 135
- FileListBox, 384385
- file-related, 384397
- fixed-sized, 302
- Frame, 5152
- Image, 318, 319, 549
- ImageList, 160161
- Label, 23, 2425, 47, 549
- Line, 336337
- List Box, 47, 549
- ListView, 178181
- locking, 46
- MaskedEdit, 549
- MSComm (See Controls/Comm)
- Multimedia, 426434
- multiple selected, dealing with, 456
- names, 42
- OCX, 438
- OCX files, 137
- OLE, 549
- OLE container, 232
- Option Button, 47
- overlapped, 4546
- Picture Box, 47, 308318, 549
- PictureClip, 321324
- placement on forms, 4142
- Printers Common Dialog, 341
- RemoteData, 534
- RichTextBox, 549
- selecting, 43
- setting size and positions, 301
- Shape, 337
- TabStrip, 173177
- Text Box, 23, 2629, 47, 549
- Timer, 320, 422
- TreeView, 161173
- WebBrowser, 487488
- Controls collection, 157158
- Conversations, DDE, 201202
- Coordinates, 332333
- Coordinate system, 295296
- CopyFolder method, 377
- COPYLINK demonstration project, 216218
- Copy method, 377, 383
- Counter numeric variable, 8889
- CreateEmbed method, 237238
- CreateLink method, 237238
- Creating
- ActiveX controls, 439443
- ActiveX EXE programs, 196197
- classes, 138139
- collection objects, 154
- embedded objects, 237238
- executable files, 124127
- file objects, 381382
- folders, 371
- MDI forms, 574
- multipage dialog boxes, 173177
- objects, 148149
- procedures, 109112
- Setup programs, 657658
- simple animations, 318321
- toolbars, 574
- CRLF (carriage return line feed) combination, 279280
- field delimiter, 351
- CurDir function, 371
- .CUR file extension, 309
- Currency numeric variable type, 6465
- CurrentX property, 332333
- CurrentY property, 332333
- Cursor, 530
- image format, 309
- Custom controls, 89, 4748
- See also ActiveX controls.
- Common Dialog, 277281
- Custom coordinates, defining, 305308
- CVErr function, 643644
- D
- DAO (Data Access Objects), 533534
- Data
- atomic, 553554
- sending to another program, 220221
- Data Access Objects. See DAO.
- Data arrays, 119
- Data-aware controls, 510511, 548550
- Database development tools, 545550
- Database engine errors, using, 597598
- Database management system. See DBMS.
- DatabaseName property, 518
- Database programming terminology, 538539
- Database programs, initializing, 502505
- Databases
- accessing without ADO Data control, 547
- client/server, 543
- creating at runtime, 548
- creating using Visual Data Manager, 511516
- defined, 492
- development of, advantages of Visual Basic, 544
- flat file, 536
- front end applications, 541543
- legacy, 544
- multiuser, 619
- relational, 536540
- relational, designing the application, 551555
- relational vs. flat file, 536538
- supported file formats, 508
- validation methods, 595599
- Database tables
- defining the structure, 514
- extracting information, 541
- modifying, 515
- Database terminology, 529534
- Database tools, 507527
- Data-bound controls, 510
- DataCombo control, 550
- Data control, 509511
- ADO, 533
- DataField property, 518, 548
- DataGrid control, 549550, 586
- DataList control, 550, 603606
- Data loss, preventing, 276277
- Data object model, 545547
- Data Project, 134
- Data source, 530
- DataSource property, 518, 548
- DataUpdatable property, 567
- DateCreated property, 378, 383
- DateLastAccessed property, 378, 383
- DateLastModified property, 378, 383
- Date variable type, 68, 70
- DBMS (Database management system), 619620
- DCOM (Distributed Component Object Model), 623
- DDE conversation, 201202
- DDE (Dynamic Data Exchange), 199225
- and objects, 202204
- terminology, 201202
- transferring data, 219225
- vs. ActiveX, 201
- vs. OLE, 201, 231232
- DDE events, 204206
- DDE links, 200202, 207218
- information, 207209
- copying to Clipboard, 215216
- initiating, 203204
- updating, 202
- using Clipboard, 206209
- Debugging programs, 647656
- controlling execution during, 656
- Debug menu, 656
- Debug.Print method, 99, 119
- Debug.Print statement, 649
- Decision structures, 8587
- Decision-support applications, 542
- Declare statement, 667669
- keyword components, 668669
- Declaring
- API functions as procedures, 669670
- constants, 100102
- public variables, 100102
- variables, 6770, 187
- DefaultValue property, 567
- Deferring error trapping, 639640
- Delete method, 378, 383, 519
- Deleting
- files, 370
- folders, 370
- Demonstration projects
- ActiveX server, 185196
- ADDRESS, 493507
- Baby Editor, 263289
- Calculator, 95124
- callback, 678680
- CIRCLES, 330
- classes, 139147
- COLORS, 326329
- COMMDEMO, 406409
- COPYLINK, 216218
- DRIVESDEMO, 376377
- FancyCmdButton, 439460
- FINDFILE, 387397
- FOLDERDEMO, 378381
- FRONTEND, 221225
- FSODEMO, 359361
- GRAPEVINE, 556563
- ITC_DEMO, 471475
- mortgage calculator, 2236
- MUSIC, 511527
- OLE automation with embedded objects, 255259
- OLE automation with nonembedded objects, 253255
- OLE container application, 242248
- PAINTPIC, 312318
- Paste Link, 209213
- PICTURECLIP, 322324
- PICTUREDEMO, 318321
- Playing with Properties, 4960
- PRINT1, 339340
- Screen display, 300302
- SOUND1, 421425
- SOUND2, 431434
- SuperString class, 147151
- Text box project, 4960
- TreeView control, 167173
- Windows API, 670675
- Dependent tables, 539
- Deploying your applications, 661663
- Description property, 578
- Designer, 49
- Designer component, 136
- Design grid, 44
- Design-time, 10
- Destination application, 201202, 229
- Destination control properties, 202204
- DHTML application, 134
- Dialog boxes, New Project, 18, 3839
- .DIB file extension, 309
- Dim keyword, 497
- Dim statement, 67, 127, 148
- Directory List Box, 386
- Dir function, 373
- DirListBox control, 386
- Disabling menu items, 275276
- DISPLAY_FORMAT constants, 101
- DisplayHasData flag, 107
- Displaying
- bitmap pictures, 324
- events associated with forms, 303304
- metafile pictures, 324
- text, 334336
- DisplayResult procedure, 109112
- Distributed Component Object Model. See DCOM.
- Distributing programs, 656663
- Dithering colors, 329
- Division operator (/), 80
- DLL files, 136
- DLL procedure alias, 668
- DLL procedure names, 668
- DLLs (Dynamic link libraries), 666
- Document property, 486
- Do...Loop, 8991
- Done event, 430
- Double numeric variable type, 6465
- Drag-and-drop
- inserting objects, 239
- DragDrop event, 428
- DragOver event, 428
- DrawMode property, 333334, 337
- DrawStyle property, 333
- DriveLetter property, 375
- DriveListBox control, 387
- Drive object, 374377
- Drive object properties, 375376
- Drive property, 378, 383, 387
- Drives collection, 375377
- DRIVESDEMO demonstration project, 376377
- DriveType property, 375
- DropHighlight property, 165
- Dynamic arrays, 7576
- Dynamic Data Exchange. See DDE.
- Dynamic link libraries (DLLs). See DLLs.
- Dynaset-type Recordset, 520521
- E
- Early binding, 148
- Elseif keyword, 86
- Else keyword, 86
- Embedded objects, creating, 237238
- .EMF file extension, 309
- Empty value, 98
- Enabled property, 270, 275, 427, 576, 578
- Enabling menu items, 275276
- Encapsulation, 143
- End of file detection, 280, 352353
- End statement, 34, 5657, 501
- Enterprise Edition controls, 135
- Entity, 538
- Entity class, 538
- Entity occurrences, 538
- Enum...End Enum statement, 78, 252
- Enums, 7879, 252
- EnumWindows API function, 676
- EnumWindows API procedure, 678679
- EOF function, 280, 352353
- Eqv (logical operator), 84
- ERR object, 636639, 640
- ERR object properties, 636639
- Error-handling codes, 644645
- ErrorMessage property, 431
- Error number, assigning unused, 641642
- Error object, 546
- Error property, 431
- Errors
- raising, 640641
- returning from functions, 643644
- runtime, handling, 631645
- syntax, 631632
- trapping, 633635
- user-defined, 641644
- Errors, ITC, 471
- Errors collection, 546
- Error trapping, deferring, 639640
- Error value, 98
- Event detection, 12, 22
- Event-driven communication, 402
- Event-driven programming, 10
- Event handler. See Event-handling procedures.
- Event-handling procedures, 1213, 34, 3536, 5659
- See also Events.
- names, 12, 3536, 57
- Event procedures. See Event-handling procedures; Events.
- Events, 1013
- See also Event-handling procedures.
- ActiveX control, 445448
- ApplyChanges, 457
- associated with loading, showing, sizing and unloading forms, 304
- ButtonClick, 429, 580
- ButtonCompleted, 429430
- ButtonGotFocus, 429
- ButtonLostFocus, 429
- Change, 35, 386387
- Click, 217, 314
- communication, 406
- DDE, 204206
- Done, 430
- DragDrop, 428
- DragOver, 428
- FileListBox, 385
- Form_Resize, 272, 301302
- icResponseCompleted, 469470
- icResponseReceived, 469470
- Initialize, 147, 447
- InitProperties, 447
- KeyPress, 596
- LinkClose, 205
- LinkError, 205
- LinkExecute, 206
- LinkNotify, 205
- LinkOpen, 204205
- Load, 300, 506
- LostFocus, 597
- MouseDown, 313314
- MouseUp, 314
- Multimedia control, 428430
- OnComm, 405406
- Paint, 304, 447
- PathChange, 385
- PlayCompleted, 429
- QueryUnload, 501
- ReadProperties, 447
- Resize, 447
- SelectionChanged, 455
- StateChanged, 466468
- StatusUpdate, 430
- Terminate, 447
- Unload, 501
- Validate, 571573, 597, 600
- WriteProperties, 447
- Execute method, 470471, 476478
- EXEName property, 214
- Exit For statement, 89
- Exponentiation operator (^), 80
- Exposed components, 135
- Expression, 80
- F
- FancyCmdButton demonstration project, 439460
- Field object, 545
- Field properties, 565569
- Fields, 538
- database, 492
- repeating, 558560
- in sequential files, 349352
- Fields collection, 546
- File access
- modes, when to use, 367368
- types, 344346
- FileAttr function, 373374
- File extensions
- .BAS, 39
- .BMP, 309
- .CLS, 187
- .CUR, 309
- .DIB, 309
- .DLL, 136
- .EMF, 309
- .FRM, 39
- .GIF, 309
- .ICO, 309
- .JPEG, 309
- .JPG, 309
- .OCX, 48, 136
- .TXT, 264
- .VBP, 40
- .WMF, 309
- FileListBox control, 384385
- FileListBox events, 385
- File management statements, 370374
- Filename property, 385
- File numbers, 346348
- File objects, 374, 381384
- File pointer, 364365
- File position, 364365
- File-related controls, 384397
- demonstration project, 387397
- Files
- closing, 348
- deleting, 370
- executable, creating, 124127
- finding, 373374
- new, starting, 281282
- opening, 278281, 346
- saving, 282287
- Files collection, 375, 377, 382
- File server architecture, 618, 620
- Files property, 378
- FileSystemObject (FSO), 355359
- FileSystem property, 375
- File Transfer Protocol. See FTP.
- File types
- restricting listing, 278
- FillColor property, 337
- FillStyle property, 337
- Filter property, 278279
- FINDFILE demonstration project, 387397
- creating the form, 388390
- exploring the recursive algorithm, 395397
- writing the code, 390395
- FindFirst method, 522
- FindLast method, 522
- FindNext method, 522
- FindRecord procedure, 521522
- Fixed-length strings, 69
- Fixed-sized controls, 302
- Flags, 83, 102
- DisplayHasData, 107
- Flags property, selecting fonts, 287
- Flat file databases, 536
- Floating point numbers, 6465
- FOLDERDEMO demonstration project, 378381
- Folder object, 374375, 377381
- properties, 378
- Folders
- creating, 371
- deleting, 370
- Folders collection, 375
- Font property, 51, 104105
- Fonts
- changing properties, 51
- selecting, 287289
- For Each...Next statement, 156
- ForeColor property, 43, 54, 5758
- Foreign keys, 539
- Format function, 111
- Format specifier string, 111
- Form design mode, 31
- Form Design window, 20
- Form Editor toolbar, 46
- Form Grid Settings, 44
- Form Layout window, 21
- Form_Load events
- Baby Editor project, 271272
- Form module, 39
- Form_Resize events, 272, 301302
- Forms, 9, 22 See also Windows (screen); individual form names.
- adding to an existing project, 290
- adjusting sizes, 29
- changing caption, 29
- changing size and position, 4244
- controls placement, 4142
- displaying associated events, 303304
- hiding, 291
- loading associated events, 303304
- MDI, 574575
- multiple, 289293
- non-MDI, 574
- Picture Box, multiple, 574575
- properties, 4243
- saving, 30
- Forms collection, 157158
- For...Next loop, 8889, 306
- Frame control, 5152
- Frame objects, 176177
- Framework, applications, 67
- FreeSpace property, 375
- .FRM file extension, 39
- Front end. See Client.
- FRONTEND demonstration project, 221225
- FSODEMO demonstration project, 359361
- FSO file management, 374384
- FSO text file access, 355359
- FTP_DEMO demonstration project, 478486
- FTP (File Transfer Protocol), 464, 475487
- commands, 477478
- FTP Logons, 475476
- Full-module view, 35
- Function pointer, 676
- Function procedures, 284285
- Functions, 108109
- callback, 675680
- Callback, 417
- Chr$, 279, 596
- CurDir, 371
- CVErr, 643644
- EOF, 280, 352353
- FileAttr, 373374
- InputBox, 522
- QBColor, 325
- Seek, 364365
- string processing, 293
- G
- General Button tab, 575576
- General error-handling code, 644645
- General procedures. See Procedures.
- GetChunk method, 468470, 477
- GetClassName API function, 678
- GET command, 470471
- GetFile method, 381
- GetFormat method, 207208
- Get statement, 363364, 365
- GetText method, 108
- GetWindowsText API function, 678
- GetWindowTextLength API function, 679
- .GIF file extension, 309
- Global keyword, 128
- Global variables. See Public variables.
- GRAPEVINE demonstration project, 556563, 567593, 598616
- completing the Invoices form, 613615
- connecting to the Invoices table, 610613
- connecting to the Items table, 606607
- creating the database, 560563
- data validation, 598601
- designing tables, 557558
- designing the Customers form, 581584
- designing the List form, 586
- designing the Wines form, 584586
- entering orders, 601602
- fundamental program structure, 573574
- Invoices form, 601606
- preliminary form design, 574586
- repeating fields, 558560
- Select Wine form, 607610
- setting field properties, 567569
- writing the code, 586593
- Grid of cells, 549
- H
- Handles, 24, 42
- HEAD command, 470
- Height property, 298299
- Hide method, 291, 303
- HTML (Hypertext Markup Language), 464465
- HTTP (Hypertext Transfer Protocol), defined, 464465
- Hungarian notation, 66
- Hypertext Markup Language. See HTML.
- Hypertext Transfer Protocol. See HTTP.
- I
- .ICO file extension, 309
- Icon image format, 309
- Icons, choosing, 125
- Icon view (ListView control), 178179
- IcResponseCompleted event, 469470
- IcResponseReceived event, 469470
- If structure, 8586
- IIS Application, 134
- Image control, 318, 549
- vs. Picture Box control, 319
- ImageList control, 160161
- ImageList property, 576
- Image property, 578
- Images. See also Pictures.
- composite, storing, 321324
- creating from scratch, 324325
- displaying at nodes, 164
- drawing, 324325
- formats for Picture Box, 309
- storing, 318321
- Immediate window, 655656
- Imp (logical operator), 84
- InBufferCount property, 404
- InBufferSize property, 404
- Index definition, 514
- Indexes (database), 539
- defining, 569571
- Index property, 164, 165166
- Infinite loop, 92
- Initialization procedure, 190
- Initialize event, 447
- Initialize event procedure, 147
- Initiating
- DDE links, 203204
- InitProperties event, 447
- In-place activation
- OLE object, 232
- In-process servers, 623
- InputBox function, 522
- Input buffer (Comm control), 404405
- InputLen property, 404
- Input property, 404405
- Input # statement, 350352
- Insertable Object component, 136137
- Insertable objects, 29, 4849
- Inserting, OLE objects, 233236
- Insert method, 145146
- InsertObjDlg method, 238
- Insert procedure, 143
- Instancing MultiUse property, 186
- Instr function, 115
- Integer division, 80
- Integer numbers, 6465
- Integer numeric variable type, 6465
- Integer variable (stack pointer), 99
- Integrity, referential, 571
- Interface
- ActiveX, 185
- visual, 22
- Internet programming, 463464
- Internet Transfer Control. See ITC.
- Interval property, 320
- Intrinsic constants, 161
- IsReady property, 376
- IsRootFolder property, 378
- ITC_DEMO demonstration project, 471475
- ITC (Internet Transfer Control), 464487
- error types, 471
- for HTTP, 464475
- for HTTP transfers, 471475
- properties, 486487
- using for FTP, 475487
- Item (DDE conversation), 201202
- J
- Jet database engine, 508, 509, 511
- Joins, 541
- JPEG image format, 309
- .JPG file extension, 309
- JustLoaded flag, 277
- K
- Key field, primary, 554
- KeyPress event, 596
- Key property, 578
- Keys
- compound, 554
- compound primary, 538
- foreign, 539
- primary, 538539, 552
- surrogate, 554
- Keystrokes, blocking, 596
- Keywords
- Alias, 668
- Dim, 497
- Private, 668669
- Public, 497, 668669
- Kill statement, 370
- L
- Label control, 23, 2425, 47, 549
- adding, 2425
- Late binding, 148149
- Left property, 298
- Legacy databases, 544
- Length property, 145146
- Line continuation character, 85
- Line control, 336337
- Line Input statement, 279
- Line method, 324329
- Line property, 358
- Line wrapping, 85, 335336
- LinkClose event, 205
- LinkError event, 205
- LinkExecute event, 206
- LinkExecute method, 220
- LinkItem property, 202203
- LinkMode property, 202204, 217
- LinkNotify event, 205
- LinkOpen event, 204205
- LinkPoke method, 221
- Links
- DDE, 200202
- pasting from a program, 214215
- pasting into a program, 206213
- LinkTimeout property, 203
- LinkTopic property, 202204
- Link update, automatic, 202
- List Box control, 47, 549
- List form (database program), 506507
- ListImages collection, 160
- ListItem object, 178
- ListItems collection, 178
- ListView control, 178181
- Literal constants, 7677
- Load event, 300, 506
- Loading
- forms, associated events, 303304
- pictures during program design, 308309
- pictures during program execution, 309310
- Load statement, 303
- Loc function, 364365
- Locked property, 102
- Locking controls, 46
- Logical expressions, 8283, 85
- Logical operators, 8485
- Logical units, 296
- Long numeric variable type, 6465
- Loops
- and arrays, 119
- Infinite, 92
- nested, 9192
- Loop structures, 8893
- LostFocus event, 597
- M
- Mainframes, 618
- Main window, 19, 20, 21
- Manual link update, 202
- MaskColor property, 161
- MaskedEdit control, 549
- Matrix of cells, 549
- MCI
- button commands, 428429
- commands, 414416
- MCI (Media Control Interface), 413434
- MciSendString function, 416
- MDI form, 574575
- MDI forms, creating, 574
- MDI (Multiple Document Interface), 295296, 574575
- Media Control Interface. See MCI.
- Me keyword, 291
- Menu Editor, 266270
- Menus
- adding, 266269
- enabling and disabling items, 275276
- pop-up, 42
- Messages
- displaying, 285
- Windows, 1112
- Metafile image format, 309
- Metafile pictures, displaying, 324
- Methods
- ActiveX classes, 190192
- AddNew, 519
- associated with objects, 10
- Circle, 306307, 329330
- Close, 359
- Copy, 377, 383
- CopyFolder, 377
- CreateEmbed, 237238
- CreateLink, 237238
- Debug.Print, 99, 119
- Delete, 378, 383, 519
- Execute, 470471, 476478
- FindFirst, 522
- FindLast, 522
- FindNext, 522
- GetChunk, 468470, 477
- GetFile, 381
- GetFormat, 207208
- GetText, 108
- Hide, 291, 303
- Insert, 145146
- InsertObjDlg, 238
- Line, 324329
- LinkExecute, 220
- LinkPoke, 221
- MoveFolder, 377
- OpenURL, 465466, 476
- Overlay, 161
- Print, 334336
- PrintForm, 340
- Pset, 330332
- Raise, 640641
- ReadAll, 359
- ReadFromFile, 240
- Read(n), 359
- Recordset, 521
- RecordSet object, 587588
- SaveToFile, 240
- Scale, 305306
- SetData, 215
- SetText, 215216
- Show, 291, 303, 500, 506
- ShowOpen, 279
- ShowSave, 283
- SkipLine, 359
- Skip(n), 359
- TextStream object, 359
- Update, 240241
- WriteBlankLines(n), 359
- WriteLine(s), 359
- Write(s), 359
- Microsoft Internet Explorer, 443
- Microsoft Scripting Runtime, 356
- MinButton property, 102
- MixedState property, 578
- MkDir statement, 371
- MMControl, 429
- Modem commands, 409
- Modems and serial ports, 401
- Mode property, 427
- Modes
- code editing, 31
- form design, 31
- Mod (modulus operator), 80
- Module level code, 108, 127
- Modules, 20, 3940, 252
- code, 39
- form, 39
- naming, 40
- saving, 3940
- Modulus operator (Mod), 80
- Mortgage calculator project, 2236
- code writing, 3133
- connecting the code to the interface, 3336
- visual interface design, 2430
- MouseDown event, 313314
- MousePointer property, 43, 297298, 576
- MouseUp event, 314
- MoveFolder method, 377
- Move method, 377, 383
- MoveNext method, 519
- MPC (Multimedia PC) standard, 412413
- MSComm control. See Comm control.
- MsgBox function, 117, 285286
- flags argument, 285286
- MultiLine property, 102
- Multimedia
- defined, 412
- devices, 413
- errors, 421
- Multimedia control, 426434
- errors, 431
- events, 428430
- properties, 427428
- Multimedia errors, 421
- Multimedia PC. See MPC.
- Multimedia sound, 414
- Multiple Document Interface. See MDI.
- Multiple forms, 289293
- in database programs, 497498
- Multiple selected controls, dealing with, 456
- Multiple-tier client/server models, 621622
- Multiplication operator (*), 59, 80
- Multitable select, 541
- Multiuser databases, 619
- MUSIC demonstration project, 511527
- binding controls to the data table, 518519
- designing the main form, 516518
- using Visual Data Manager, 511516
- MvarLength variable, 142
- MvarValue variable, 142
- N
- Name AXDEMO property, 187
- Name property, 2729, 53, 215, 378, 383
- controls, 42
- menu items, 267
- modules, 40
- Name statement, 373
- Naming
- enumeration members, 79
- event-handling procedures, 57
- modules, 40
- variables, 6567
- Native-code, compiling to, 126127
- Nested loop, 9192
- Network OLE, 623
- NewEntry Boolean variable, 106
- New files, starting, 281282
- New Project dialog box, 18, 3839
- Node object, 162166
- Nodes, 164166
- Nodes collection, 162163
- NoMatch property, 522
- Non-MDI form, 574
- Notify link update, 202
- Notify property, 430
- NotifyValue property, 430
- Not (logical operator), 84
- Null modem, 400
- Null value (Variant variable type), 98
- Numeric variables, 6465
- O
- Object, data unit using OLE, 229
- Object Browser, 193
- object information, 250253
- Object Linking and Embedding. See OLE.
- Object-oriented file management, 374384
- Object-oriented programming (OOP), 8
- Object references, automatic, 307
- Objects, 7, 910
- See also Class;
- Components; Forms.
- ADO (ActiveX Data Objects), 532533, 534
- available information, 250
- Clipboard, 123, 207209, 273275
- Collection, 154
- Command, 532, 545
- Connection, 532, 545
- creating, 148149
- and DDE, 202204
- Drive, 374377
- embedded, creating, 237238
- ERR, 636639, 640
- Error, 546
- Field, 545
- File, 374, 381384
- Folder, 374375, 377381
- Frame, 176177
- insertable, 29, 4849
- inserting with drag-and-drop, 239
- kinds, 9
- ListItem, 178
- methods, 10
- Node, 162166
- OLE, 233236, 239241
- Parameter, 546
- Picture, 318321
- creating simple animation, 318321
- Printer, 337340
- properties, 910, 2021, 22
- Property, 546
- RecordSet, 587
- Recordset, 518, 520521, 545
- relationship to classes, 139
- screen, 297298
- TextStream, 356359
- UserControl, 439440
- viewing, 33
- Object variable type, 70
- OCX controls See ActiveX controls; Custom Controls.
- OCX files, 48, 136
- ODBC (Open Database Connectivity), 533534
- OLE automation, 137, 248259
- with embedded objects demonstration project, 255259
- with nonembedded objects demonstration project, 253255
- OLE automation objects
- creating, 249250
- methods, 253
- properties, 253
- OLE container
- application demonstration project, 242248
- inserting objects, 233236
- OLE Container control, 232
- OLE Control, 549
- OLE DB, 532
- OLE (Object Linking and Embedding), 184, 227259, 437
- terminology, 229248
- vs. DDE, 201, 231232
- OLE objects
- activating, 241
- activation, 232
- classes, 229230
- inserting, 233236
- retrieving, 240
- saving, 239
- OLE servers
- deleting, 233
- uninstalling, 233
- OLE Type, restricting, 235
- OleTypeAllowed property, 235
- OnComm event, 405406
- On Error Resume Next statement, 639640
- On Error statement, 633635
- On Local Error statement, 225
- OOP (Object-oriented programming), 8
- Opcode argument, PaintPicture method, 311
- OpenAsTextStream method, 383
- Open command, 415
- Open Database Connectivity. See ODBC.
- Opening
- files, 278281, 346
- Open statement, 346
- OpenURL method, 465466, 476
- Operators
- arithmetic, 8082
- assignment, 58
- comparison, 8384
- logical, 8485
- precedence, 8182
- string manipulation, 8081
- Option Button control, 47
- Option Explicit, 68
- to avoid program bugs, 648
- OrdinalPosition property, 566567
- Orientation property, 428
- Or (logical operator), 84
- OutBufferCount property, 404
- OutBufferSize property, 404
- Out-of-process servers, 623
- Out of scope variable, 127
- Output buffer (Comm control), 404405
- Outputlist argument (Print method), 334335
- Output property, 404
- Overlapped controls, 4546
- Overlay method, 161
- P
- Package and Deployment Wizard. See PD Wizard.
- Packaging your application, 659661
- Paint event, 304, 447
- PAINTPIC demonstration project, 312318
- PaintPicture method, 310318
- Parameter object, 546
- Parameters collection, 546
- ParentFolder property, 378, 383
- Parent forms, MDI, 295296
- Parent nodes, 162
- Parity parameter, 401
- Parity settings, 403
- Password property, 475476, 486
- Paste Link command, 209213
- Paste Link demonstration project, 209213
- Paste Special command, 235236, 238
- PasteSpecialDlg method, 238
- Path
- of current application, 372
- current vs. applications path, 372
- determining on current drive, 371
- relative vs. absolute, 382
- PathChange event, 385
- Path property, 372, 376, 378, 383, 385, 386
- PatternChange property, 385
- Pattern property, 385
- P-code, compiling to, 126
- PD Wizard (Package and Deployment Wizard), 658663
- Picture Box control, 47, 308318, 549
- vs. Image control, 319
- Picture Box forms, multiple, 574575
- PictureClip control, 321324
- PICTURECLIP demonstration project, 322324
- PICTUREDEMO demonstration program, 318321
- Picture object, 318321
- Pictures See also Images.
- loading during program design, 308309
- loading during program execution, 309310
- Picture tab, 575576
- Pixel, 297
- PlaceholderWidth property, 578
- Play command, 415
- PlayCompleted event, 429
- Playing with Properties project
- adding code, 5660
- executing the program, 5960
- interface design, 4955
- Polling, 402
- Pop-up menus, 42
- Ports, serial, 400
- POST command, 470
- Preserve keyword, 7576
- Primary colors, 325
- Primary keys, 538539, 552
- compound, 538
- field, 554
- Primary tables, 539
- PRINT1 demonstration project, 339340
- Printer object, 337340
- Printers collection, 157, 341
- Printers Common Dialog control, 341
- PrintForm method, 340
- Print method, 334336
- Print # statement, 353355
- Private keyword, 78, 109, 127, 668669
- Private variable declarations, 187
- Procedure arguments, 108110
- Procedure level code, 108, 127
- Procedures, 108112, 119
- Basic, 3233
- Class_Terminate, 190
- creating, 109112
- DisplayResult, 109112
- event-handling, 1213, 34, 3536, 5659
- FindRecord, 521
- function, 284285
- initialization, 190
- Property Get, 143, 188
- Property Let, 143, 188
- Property Set, 188
- SetTextAlign, 670671
- termination, 190
- Procedure view, 35
- Program design, inserting OLE objects, 234235
- Programmable data objects, 248
- Programs See also Demonstration projects; Projects.
- debugging, 647656
- distributing, 656663
- exiting, 34
- running, 33
- Project Explorer window, 20
- Project file, 40
- Project icons, 125
- Projects, 20 See also Demonstration projects; Programs.
- multiple forms, 289293
- saving, 30, 3940
- starting, 3839
- types, 133135
- Properties, 4951, 5255
- AccessType, 486
- ActiveForm, 298
- ADO Data control, 603
- Align, 575
- AllowCustomize, 576
- AllowZeroLength, 566
- AtEndOfLine, 358
- AtEndOfStream, 358
- Attributes, 382384
- AutoActivate, 241
- AutoEnable, 427
- AutoRedraw, 304
- AvailableSpace, 375
- BackColor, 43, 337
- BackStyle, 337
- Bookmark, 522
- BorderColor, 337
- BorderStyle, 43, 102, 302, 337
- BorderWidth, 337
- BoundText, 603
- Button, 575
- ButtonEnabled, 427
- ButtonHeight, 576
- Button object, 578579
- ButtonWidth, 576
- CanEject, 427
- CanPlay, 427
- CanRecord, 427
- CanStep, 427
- Caption, 26, 29, 43, 5253, 499, 578
- CausesValidation, 571572, 597
- Changed, 456457
- changing, 26, 4243
- changing values, 655
- Checked, 270
- Class, 230
- CollatingOrder, 567
- Column, 358
- Command, 427
- Comm control, 402405
- CommEvent, 405
- CommPort, 403
- Container, 299
- CurrentX, 332333
- CurrentY, 332333
- DatabaseName, 518
- DataField, 518, 548
- DataSource, 518, 548
- DataUpdatable, 567
- DateCreated, 378, 383
- DateLastAccessed, 378, 383
- DateLastModified, 378, 383
- DefaultValue, 567
- Description, 578
- determining position and size, 298302
- Document, 486
- DrawMode, 333334, 337
- DrawStyle, 333
- Drive, 378, 383, 387
- DriveLetter, 375
- DriveType, 375
- DropHighlight, 165
- Enabled, 270, 275, 427, 576, 578
- ERR object, 636639
- Error, 431
- ErrorMessage, 431
- EXEName, 214
- field, 565569
- Filename, 385
- Files, 378
- FileSystem, 375
- FillColor, 337
- FillStyle, 337
- Filter, 278279
- Flags, 287
- Font, 51, 104105
- fonts, changing, 51
- ForeColor, 43, 54, 5758
- forms, 4243
- FreeSpace, 375
- Height, 298299
- Image, 578
- ImageList, 576
- InBufferCount, 404
- InBufferSize, 404
- Index, 164, 165166
- InputLen, 404
- Instancing MultiUse, 186
- Interval, 320
- IsReady, 376
- IsRootFolder, 378
- ITC (Internet Transfer Control), 486487
- Key, 578
- Left, 298
- Length, 145146
- Line, 358
- LinkItem, 202203
- LinkMode, 202204, 217
- LinkTimeout, 203
- LinkTopic, 202204
- MaskColor, 161
- Menu Editor, 270
- MixedState, 578
- Mode, 427
- MousePointer, 43, 297298, 576
- MultiLine, 102
- Multimedia control, 427428
- Name, 2729, 53, 378, 383
- Name AXDEMO, 187
- names, 2729
- NoMatch, 522
- Notify, 430
- NotifyValue, 430
- of objects, 910, 2021, 22
- OLE automation object, 253
- OrdinalPosition, 566567
- Orientation, 428
- OutBufferCount, 404
- OutBufferSize, 404
- Output, 404
- ParentFolder, 378, 383
- Password, 475476, 486
- Path, 372, 376, 378, 383, 385, 386
- Pattern, 385
- PatternChange, 385
- PlaceholderWidth, 578
- Protocol, 486487
- Proxy, 487
- RecordCount, 524
- Recordset, 520521
- RecordsetType, 518
- RecordSource, 518
- RequestTimeout, 487
- Required, 566
- ResponseCode, 466467, 487
- ResponseInfo, 466467, 487
- RootFolder, 376
- RThreshold, 406
- ScaleHeight, 299
- ScaleMode, 296, 298
- ScaleWidth, 299
- SelLength, 273
- SelText, 273
- SerialNumber, 376
- setting, 5255
- Settings, 403
- Shape, 337
- ShareName, 376
- ShortName, 378, 383
- ShortPath, 378, 383
- ShowTips, 576
- Size, 378, 383
- Sorted, 497
- StillExecuting, 478, 487
- Style, 578579
- SubFolders, 378
- SubItems, 180
- TabStrip, 174176
- Tag, 165, 215, 216217, 578
- Text, 2728, 5051
- Threshold, 406
- TimeFormat, 427428
- Toolbar Control, 575576
- ToolTipText, 578
- Top, 298
- TotalSize, 376
- Type, 383
- UpdateInterval, 430
- UpdateOptions, 240241
- URL, 487
- Username, 475476, 487
- validation, 566
- ValidationOnSet, 566
- ValidationRule, 566
- ValidationText, 566
- Value, 53, 144145, 578
- Visible, 270, 291, 578, 607
- VolumeName, 376
- Wait, 428
- Width, 298299
- Wrappable, 576
- Properties collection, 546
- Properties window, 2021, 2526
- Property Get procedure, 143, 188
- Property Let procedure, 143, 188
- Property object, 546
- Property page
- adding to ActiveX controls, 454458
- Apply button, 456
- Property procedures, 143147, 187188
- adding to class modules, 189
- Property Set procedures, 188
- Protocol, 465
- Protocol property, 486487
- Proxy property, 487
- Pset method, 330332
- Public keyword, 78, 109, 128, 497, 668669
- Public variables, 100102
- PUT command, 470
- Put statement, 362364, 365
- Q
- QBColor function, 325
- Queries, 530, 540
- QueryUnload event, 501
- Quick watches, 654
- R
- RACM (Remote Automation Connection Manager), 624625
- RaiseEvent statement, 449
- Raise method, 640641
- Raising errors, 640641
- Random access files, 345, 361364
- defining record structure, 361362
- reading and writing, 362364
- Random access mode
- when to use, 368
- RDO (Remote Data Objects), 534
- ReadAll method, 359
- ReadFromFile method, 240
- Reading, data from random access files, 363364
- Read(n) method, 359
- ReadProperties event, 447
- Record, finding in database tables, 521522
- RecordCount property, 524
- Records
- database, 492
- listing from a database, 523526
- sorting in a relational database, 539540
- units of data, 344345
- Recordset method, 521
- RecordSet object, 587
- Recordset object, 518, 520521, 545
- RecordSet object methods, 587588
- Recordset property, 520521
- RecordsetType property, 518
- Recordset types, 520521
- RecordSource property, 518
- Record structure, defining random file, 361362
- ReDim, 75
- References command, 137138
- References list, object information, 250251
- Referential integrity, 571
- Registering components, 196
- Registering servers, 624
- Relational databases, 536540
- designing the application, 551555
- Relative coordinates, 332333
- Relative vs. absolute paths, 382
- Remote Automation Connection Manager, 624625
- RemoteData control, 534
- Remote Data Objects. See RDO.
- Report view (ListView control), 178
- RequestTimeout property, 487
- Required property, 566
- Require Variable Declaration option, 6768
- Resize event, 447
- ResponseCode property, 466467, 487
- ResponseInfo property, 466467, 487
- Resume statement, 635636
- Retrieving OLE objects, 240
- Return data type, 284
- Returning errors from functions, 643644
- Reverse Polish Notation (RPN), 9597
- RGB function, 325329
- RGB values, 334
- RichTextBox control, 549
- RmDir statement, 370
- RootFolder property, 376
- Root nodes, 162
- RPN (Reverse Polish Notation), 9597
- RS-232 ports, 400
- RThreshold property, 406
- Runtime, 10
- creating databases, 548
- inserting objects using a dialog box, 238
- inserting OLE objects, 236
- Runtime errors, handling, 631645
- S
- SaveChanges function, 280
- creating, 287
- SaveToFile method, 240
- Saving
- files, 282287
- forms, 30
- modules, 3940
- OLE objects, 239
- projects, 30, 3940
- ScaleHeight property, 299
- Scale method, 305306
- ScaleMode property, 296, 298
- Scales of coordinate systems, 296
- ScaleWidth property, 299
- Scope, 653
- Screen display demonstration project, 300302
- Screen measurement unit, 41
- Screen objects, 297298
- Screens
- Visual Basic, 3839
- Visual Data Manager, 511512
- Scripting qualifier, 356
- Search algorithm, binary, 540
- Seek command, 419
- Seek function, 364365
- Seek statement, 364365
- Select Case structure, 87
- SelectedControls collection, 456
- SelectionChanged event, 455
- Self-modifying programs, 10
- SelLength property, 273
- SelText property, 273
- Sending
- commands to another program, 220
- data to another program, 220221
- Separators
- adding to menus, 268
- SEQUEL (Structured English Query Language), 530
- Sequential access files, 344345
- Sequential access mode, when to use, 367368
- Sequential files
- fields, 349352
- text, 353361
- using, 348349
- Serial communication
- fundamentals, 399400
- parameters, 400401
- sending and receiving data, 404405
- SerialNumber property, 376
- Serial ports, 400
- determining status, 405
- setting communication parameters, 403
- Server, 530
- Server applications
- OLE terminology, 229233
- Servers
- defined, 622
- registering, 624
- types, 623624
- Set command, 420
- SetData method, 215
- Set statement, 148
- SetTextAlign API procedure, 669670
- SetTextAlign procedure, 670671
- SetText method, 215216
- Settings property, 403
- Setup program, creating, 657658
- Shape control, 337
- Shape property, 337
- ShareName property, 376
- Shell function, 219220
- ShortName property, 378, 383
- ShortPath property, 378, 383
- Show method, 291, 303, 500, 506
- ShowOpen method, 279
- ShowSave method, 283
- ShowTips property, 576
- Siblings nodes, 162
- Single numeric variable type, 6465
- Single stepping the program, 656
- Size property, 378, 383
- SkipLine method, 359
- Skip(n) method, 359
- SmallIcon view (ListView control), 178179
- Snapshot type of Recordset, 520
- Snap-to-grid feature, 25
- Software components, 79
- Sorted property, 497
- Sorting
- logical, 539
- records in a relational database, 539540
- SOUND1 demonstration project, 421425
- SOUND2 demonstration project, 431434
- Source application, 201202, 229
- SQL (Structured Query Language), 521, 530531
- Stack pointer (Integer variable), 99
- Stacks, 9697, 99, 116
- STACKSIZE constant, 101
- Standard EXE application, 134
- Starting
- new files, 281282
- Visual Basic, 1721
- Startup form, 290
- StateChanged event, 466468
- Statements
- With, 273
- Call, 666667
- ChDir, 371
- ChDrive, 371
- Close, 348
- Debug.Print, 649
- Declare, 667669
- Dim, 67, 127, 148
- For Each...Next, 156
- End, 34, 5657, 501
- Enum...End Enum, 78
- On Error, 633635
- On Error Resume Next, 639640
- Exit For, 89
- Input #, 350352
- Line Input, 279
- Load, 303
- On Local Error, 225
- MkDir, 303
- Name, 373
- Open, 346
- Put, 362364, 365
- RaiseEvent, 449
- Resume, 635636
- RmDir, 370
- traditional file management, 370374
- Type...End Type, 7172
- Unload, 500
- With...End With, 9293
- Write #, 349351
- Static arrays, 75
- Status parameters for sound and video devices, 419
- StatusUpdate event, 430
- Step commands, 656
- Step keyword, 333
- StillExecuting property, 478, 487
- Stop bit parameter, 401
- Storing, composite images, 321324
- String concatenator operators, 8081
- String manipulation operators, 8081
- String processing functions, 293
- String Variables, 6870
- Structured English Query Language. See SEQUEL.
- Structured programming, 108
- Structured Query Language. See SQL.
- Structures, 7072
- Style property, 578579
- SubFolders collection, 377
- SubFolders property, 378
- SubItems property, 180
- Sub procedures, 108109
- Subtraction operator (-), 80
- Subtractive primary colors, 325
- SuperString class demonstration project, 147151
- Surrogate keys, 554
- Symbolic constants, 7677
- Syntax checking, automatic, 112
- Syntax errors, 112, 631632
- T
- Tables
- database, 492
- dependent, 539
- primary, 539
- Table-type Recordset, 520
- Tab order, 581
- Tabs
- Buttons, 577579
- Toolbar Control properties, 575576
- Tabs collection, 174
- TabStrip control, 173177
- TabStrip properties, 174176
- Tag property, 165, 215, 216217, 578
- Terminate event, 447
- Termination procedure, 190
- TestExpression, 87
- Text
- aligning, 670671
- colors, 54, 5758
- displaying, 334336
- in sequential files, 353361
- Text Box controls, 23, 2629, 47, 549
- adding, 2627
- changing properties, 2729, 4951
- Text boxes, 102103
- Text box project, 4960
- TextChanged flag, 277
- Text files, 264
- access, traditional, 353355
- Text property, 2728, 5051
- TextStream object, 356359
- Three-tier client/server models, 621
- Threshold property, 406
- TimeFormat property, 427428
- Timer control, 320, 422
- Toolbar control, 575579
- relationship to buttons, 576577
- Toolbar Control properties, 575576
- Toolbars
- adding buttons, 579581
- creating, 574
- Form Editor, 46
- Toolbox window, 20
- ToolTipText property, 578
- Topic of conversation, 201
- Top property, 298
- TotalSize property, 376
- Traditional text file access, 353355
- Transaction-processing applications, 542543
- Transferring data, using DDE, 219225
- Trapping errors, 633635
- TreeView control, 161173
- demonstration program, 167173
- Tuples, 538
- Twips, 41
- Screen object properties, 297
- Two-tier client/server models, 620621
- .TXT file extension, 264
- Type...End Type statement, 7172
- Type Library, 137138
- TypeOf keyword, 158159
- Type property, 383
- U
- Unicode, 357
- Unload event, 501
- Unload statement, 500
- UpdateInterval property, 430
- Update method, 240241
- UpdateOptions property, 240241
- URL property, 487
- UserControl Designer, 439440
- UserControl object, 439440
- User-defined data types, 7072
- User-defined errors, 641644
- User events, 34 See also Events.
- User input. See Events.
- Username property, 475476, 487
- V
- Validate event, 571573, 597, 600
- Validation methods, 595599
- ValidationOnSet property, 566
- Validation properties, 566
- ValidationRule property, 566
- ValidationText property, 566
- Value property, 53, 144145, 578
- Variable-length strings, 69
- Variables, 6470
- changing values, 655
- declaring, 6770, 127, 187
- determining type, 66
- mvarLength, 142
- mvarValue, 142
- naming, 6567
- numeric, 6465
- other types, 70
- out of scope, 127
- public, 100102
- scope, 127128
- string, 6870
- Variant array, 99
- Variant data type, 9798
- Variant data type, 643644
- Variant variable type, 70
- VbCFLink constant, 215
- VbCRLF constant, 280
- VbCRLF defined constant, 639
- .VBP file extension, 40
- VCM (Visual Component Manager), 626627
- Viewing
- code, 33
- code associated with objects, 35
- objects, 33
- Views
- full-module, 35
- procedure, 35
- VisData. See Visual Data Manager.
- Visible property, 270, 578, 607
- vs. Show and Hide methods, 291
- Visual Component Manager, 626627
- Visual Data Manager (VisData), 509, 511, 560563, 569
- Visual interface, 22
- VolumeName property, 376
- W
- Wait property, 428
- Watches windows, 652654
- Watch expressions, 650652
- context, 653654
- types of, 652
- WebBrowser control, 487488
- While...Wend loop, 91
- Width property, 298299
- Windows API (Applications Programming Interface), 665680
- accessing, 666668
- demonstration project, 670675
- Windows API functions, declaring as procedures, 669670
- Windows API procedures, 666670
- Windows (operating system)
- clipboard, copying to, 123
- common controls, 159181
- global constants related to DDE, 208
- messages, 1112
- registry
- OLE server information, 232233
- registry and objects, 135
- Windows (screen) See also Forms.
- Code Editing, 33, 35
- Form Design, 20
- Form Layout, 21
- Main, 19, 20, 21
- Project Explorer, 20
- Properties, 2021, 2526
- Toolbox, 20
- WindowStyle argument, 219220
- With...End With statement, 9293
- With statement, 273
- Wizard, Application, 128129
- .WMF file extension, 309
- Word length parameter, 401
- Workstations, 618
- Wrappable property, 576
- WriteBlankLines(n) method, 359
- WriteLine(s) method, 359
- WriteProperties event, 447
- Write(s) method, 359
- Write # statement, 349351
- Writing data to random access files, 362363
- X
- Xor (logical operator), 84
|