Date values, 114115, 413415 Date variable type, 89 DateAdd function, 115 DateClick event, MonthView control, 428429 DateDiff function, 115 DatePart function, 115 DateSerial function, 90, 115 DateTimePicker control, 410, 429430 DateValue function, 90, 115 Day function, 90 DBCombo boxes, binding to data controls, 847 DBEngine DAO object, 825 DblClick event combo boxes, 253, 268 label control, 446 list boxes, 253, 256257 multiselect list boxes, 261 option buttons, 233 DBList boxes, binding to data controls, 847 DDB function, 116 Deactivating OLE objects, 916 Deallocating memory, 809, 810 Debug menu, IDE, 43 Debug toolbar, IDE, 61, 62 Debugging, 1007, 10291030 breakpoints, 1031, 1036 examining expressions and variables, 10331036 executing code to cursor, 1036 Visual Basic 6 Black Book:Index http://24.19.55.56:8080/temp/book-index.html (34 of 138) [3/14/2001 2:14:19 AM] Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Immediate window, 10351036 Quick Watch window, 1033 single-stepping, 1032 skipping statements, 1036 using message boxes, 1030 Watch window, 1034 Decimal variable type, 89 Declaring arrays, 9395 Declaring constants, 8586 Declaring DLL procedures, 775776 Declaring DLLs, 818 Declaring functions, 9798 Declaring methods in code components, 950 Declaring properties in class modules, 946 Declaring subroutines, 9697 Declaring variables, 11, 8687 implicit declaration, 87 Option Explicit statement, 38, 88 Option Private Module statement, 91 variable scope, 9091 variable types, 8889 Declaring Windows API functions, 775776 DEF files, in DLLs, 818 Default property, 234, 236 Default values, optional arguments, 954 DefaultExt property, 355 Defensive programming, 37 DELETE (FTP command), 730 Visual Basic 6 Black Book:Index http://24.19.55.56:8080/temp/book-index.html (35 of 138) [3/14/2001 2:14:19 AM] Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Delete method data controls, 844845 FileObject, 574 MAPIMessages control, 719, 720 OLE control, 926 OLE objects, 898 Recordset objects, 872, 892893 DeleteDC function, 782 DeleteFile method, 574 DeleteSetting Windows API function, 999 Deleting OLE objects, 926 Deployment package, 10441048 Description property, 10211022 Design standards, 155156, 163165, 172173 Design time grid, 5354, 453 Design time properties, 46 Designed for Microsoft Windows logo, 10411042 Device contexts controls, 780 copying bitmaps between, 793794 deleting, 782 drawing in, 782788 for entire screen, 781782 printers, 365 ROP2 (binary raster operation) mode, 788789 windows, 780 Devices. See Media Control Interface (MCI) devices. DeviceType property, 744745 Visual Basic 6 Black Book:Index http://24.19.55.56:8080/temp/book-index.html (36 of 138) [3/14/2001 2:14:19 AM] Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com DHTML controls, 710 DHTML (Dynamic HTML), 696, 710, 715. See also DHTML Page Designer; DHTML pages. DHTML Page Designer opening, 706 Table Operation drop-down box, 715716 text, entering, 709710 toolbar, inserting HTML tags, 710 toolbox, 710711, 712713, 716717 DHTML pages ActiveX controls, 713715 HTML controls, 712713 HTML tags, 710 hyperlinks, 716717 images, 710711 tables, 715716 testing, 717 text, 709710 Dialog boxes Cancel buttons, 244245 creating, 146147 designing, 122 displaying icons in taskbar, 995 libraries of, 962 modal display of, 147, 962, 996997 Dim statement, 11, 86, 9394, 138 DIR (FTP command), 730 Directories changing, 572, 816 Visual Basic 6 Black Book:Index http://24.19.55.56:8080/temp/book-index.html (37 of 138) [3/14/2001 2:14:19 AM] Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com creating and deleting, 572 current directory, 353, 816 default directory, 816 downloading from Web pages, 731, 732 Windows installation directory, 814815 Directory list box control, 568, 569571 DisabledPicture property, 237 Disabling buttons, 236237 Disabling forms at runtime, 151 Disabling menu items, 180181 Disk space available, determining, 813814 Display screen. See Screen; Screen object. DisplayType property, 903904 Distances, changing measurement scale, 17 <DIV> DHTML tag, 710 DLL files, 1043 DLL procedures, 775776 DLLs (Dynamic Link Libraries) ActiveX components, 652 ActiveX documents, 684 C++ DLLs, linking to, 816818 code components (ActiveX DLLs), 935, 936, 945, 951953, 957, 963 components of, 816818 core Windows DLLs, 774 declaring, 818 DHTML pages, 706 error handling, 1023 vs. EXE files, 652, 684 Visual Basic 6 Black Book:Index http://24.19.55.56:8080/temp/book-index.html (38 of 138) [3/14/2001 2:14:19 AM] Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Do loop, 107 DOB files (ActiveX document files), 651, 686 Dockable toolbars, 44 Document views, 144 DocumentProperties Windows API function, 780 Documents, 141, 144145. See also ActiveX documents; MDI child forms; MDI forms. Done event, 741, 763764, 768 Dotted lines, drawing, 456 Double-clicking. See DblClick event. Double variable type, 89 DoVerb method, 898, 913914 Down picture, adding to buttons, 241 DownClick event, 308309 DownloadComplete event, 701 Downloading files, 728736 DownLoadMail property, 721, 725 DownPicture property, 241, 248 Drag and drop operations columns in flex grid controls, 402403 controls, 976983 frames, 440442 OLE objects, 983990 Drag method, 440441, 924925 DragDrop event, 925, 977, 978982 DragMode property, 976 DragOver event, 982983 Drawing area, clearing, 585 Drawing boxes, 593594 Visual Basic 6 Black Book:Index http://24.19.55.56:8080/temp/book-index.html (39 of 138) [3/14/2001 2:14:19 AM] Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Drawing circles, 324325, 450, 459, 594595 Drawing freehand lines, 599600 Drawing images, 622623 Drawing lines, 325326, 455458, 591, 782783 Drawing mode, setting, 604606, 788789 Drawing ovals, 450 Drawing pen, setting, 604606, 786788 Drawing points, 326, 604 Drawing position, setting, 782783 Drawing rectangles, 449 Drawing rounded rectangles, 451 Drawing rounded squares, 451 Drawing scales, setting, 606607 Drawing squares, 449 Drawing style, setting, 602603 Drawing width, setting, 602603 DrawMode property, 604606 DrawStyle property, 602603 DrawWidth property, 602603 Drive list box control, 567568, 569571 Drive property, 567568 Drop-down combo boxes, 265 Drop-down list combo boxes, 265 Dynamic arrays, 9495 Dynamic HTML. See DHTML (Dynamic HTML). Dynamic HTML Application item, New Project dialog box, 706 Dynamic Link Libraries. See DLLs (Dynamic Link Libraries). E Visual Basic 6 Black Book:Index http://24.19.55.56:8080/temp/book-index.html (40 of 138) [3/14/2001 2:14:19 AM] Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Edit menu, 43, 7879, 164165 Edit method, 868 Edit toolbar, 61, 62 Editing images, 623 Editing OLE objects, 896, 912 Eject command, multimedia MCI control, 748, 755 Ejecting CDs, 755 Elapsed time, displaying, 417, 752 Ellipse Windows API function, 784 Ellipses, drawing, 460, 596597, 784 Ellipsis ( &) in names of menu items, 155 ElseIf statement, 104 Email functionality. See also MAPIMessages control; MAPISession control. composing messages, 721722 MAPI controls, adding to projects, 718 MAPI session, initiating, 721 reading messages, 725726 sending messages, 722723 Visual Basic support for, 697 Embedded OLE objects, 897899, 902, 905907, 908911, 929930 Embedding ActiveX controls in Web pages, 657 Embossing images, 642644 Enabled property buttons, 237 combo boxes, 273 forms, 151 menu items, 181 scroll bars, 292 Visual Basic 6 Black Book:Index http://24.19.55.56:8080/temp/book-index.html (41 of 138) [3/14/2001 2:14:19 AM] Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com text boxes, 202 timer control, 412 Encapsulation, 37 End Function keywords, 99 End statement, 116 End Sub keywords, 97 EndDoc method, 611 Ending programs, 116, 136 Engraving images, 644645 Enlarging OLE objects, 928 Enterprise Edition, Visual Basic, 2 EOF function, 556 EOF property, 870871 EOFEnable property, 409, 422 Erase statement, 96 Erasing images, 621 Err object Description property, 10211022 LastDLLError property, 1023 Number property, 10201021 Raise method, 10231024 Source property, 1022 Error ADO object, 827 Error function, 1021 Error handlers disabling error trapping, 10151016 disregarding errors, 1015 nested error handling, 10241025 Visual Basic 6 Black Book:Index http://24.19.55.56:8080/temp/book-index.html (42 of 138) [3/14/2001 2:14:19 AM] Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com resuming execution, 10161020 using labels, 10121013 using line numbers, 1014 writing, 10091012 Error objects, creating, 10261027 Error property, 764768 Error strings, multimedia MCI control, 765767 ErrorMessages property, 764768 Errors comEvent& errors, 426427 determining which error occurred, 10201021 in DLLs, 1023 error description, 10211022 list of trappable errors, 10031007 Pentium FDIV error, 65 source of error, 1022 trapping Cancel button in Common Dialogs, 347348, 10281029 user-defined errors, 10231024 Errors collection, ADO, 827 Event handlers, 6, 659, 713 Events, 678680. See also names of specific events. Events ADO objects, 827 Exclamation point (!) in menu item names, 156, 176 Exclusive OR pen. See Xor Pen pen setting. EXE files ActiveX components, 652 ActiveX documents, 684 code components (ActiveX EXEs), 935, 945 Visual Basic 6 Black Book:Index http://24.19.55.56:8080/temp/book-index.html (43 of 138) [3/14/2001 2:14:19 AM] Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com [...]... files, 104 0 compiling, 1 060 displaying, 368 370, 1 061 1 062 http://24.19.55. 56: 8080/temp /book- index.html (57 of 138) [3/14/2001 2:14:20 AM] Visual Basic 6 Black Book: Index Help projects, 104 9105 0 Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com index, 105 8 online help, 1 063 RTF files, creating, 105 11 060 Help menu, 44, 165 Help Workshop, 369 , 104 9105 0, 1 060 HelpCommand property, 368 ... in controls, 61 6 displaying in status bars, 489 displaying in Windows Common Controls, 61 6 editing using picture clip controls, 62 3 erasing, 62 1 filling, 60 160 2 flipping, 63 063 1 freeing memory used by graphics, 64 764 8 loading at runtime, 61 962 0 manipulating at pixel level, 63 564 7 printing, 61 061 1 saving to disk, 62 0 selecting in picture clip controls, 62 563 0 setting drawing mode, 60 460 6 setting drawing... http://24.19.55. 56: 8080/temp /book- index.html (55 of 138) [3/14/2001 2:14:20 AM] Visual Basic 6 Black Book: Index freehand lines, 59 960 0 Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com images, 62 262 3 lines, 591592, 782783 in picture boxes, 3233 26 points, 60 4 setting drawing mode, 60 460 6, 788789 setting drawing pen, 60 460 6, 7 867 88 setting drawing position, 782783 setting drawing scales, 60 660 7... Freeing memory, 64 764 8, 809 Friend keyword, 13, 96, 9 46, 950 FRM files (form files), 162 2, 26 http://24.19.55. 56: 8080/temp /book- index.html (53 of 138) [3/14/2001 2:14:20 AM] Visual Basic 6 Black Book: Index From property, 770 Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com FromPage property, 364 Front layer of forms, 61 1 FTP (File Transfer Protocol), 69 7, 727734, 1 066 1 068 See also... 60 660 7 setting drawing style, 60 260 3 setting drawing width, 60 260 3 text, 588589 fill color and patterns, 60 160 2 freeing memory used by, 64 764 8 layering, 61 161 2 manipulating at pixel level, 63 564 7 pasting from Clipboard, 61 0 printing, 61 061 1 redrawing, 584 resizing, 60 860 9 Graphics controls, vs graphics methods, 582583 Graying out menu items, 180181 Grayscale images, 63 764 0 Grid controls, 373374 See... freeing memory used by graphics, 64 8 loading images at runtime, 61 962 0 vs picture boxes, 61 461 5 properties BorderStyle property, 61 8 Picture property, 339340, 61 8, 64 8 Stretch property, 339340, 61 8, 63 3 stretching images to fit control, 339340, 63 3 Image element, DHTML, 710 http://24.19.55. 56: 8080/temp /book- index.html (60 of 138) [3/14/2001 2:14:20 AM] Visual Basic 6 Black Book: Index Image list control,... expressions, 115 examining values of (debugging), 103 310 36 operator precedence, 102 104 values of constants, 85 Extender objects, 66 6 Extender property, 66 6 F F argument, Line method, 60 2 Fast code, optimizing for, 75 FDIV error, Pentium, 65 Fetch method, 719, 725 http://24.19.55. 56: 8080/temp /book- index.html (44 of 138) [3/14/2001 2:14:19 AM] Visual Basic 6 Black Book: Index FetchMsgType property, 719 Simpo... 2:14:20 AM] Visual Basic 6 Black Book: Index Layers, 61 161 2, 8108 12 Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com LBound function, 96 LCase function, 90, 101 Learning Edition, Visual Basic, 2 LeaveCell event, 399 Left function, 101 Left property buttons, 239 forms, 133 frame control, 440 label control, 443 shape control, 454 Len function, 101 , 204 Let procedure, 66 766 8, 66 9, 947949... FileTitle property, 351, 354 Fill color, 60 160 2 Fill pattern, 60 2 FillColor property controls, 585 forms, 585, 60 160 2 picture boxes, 60 160 2 shape control, 453 FillStyle property forms and picture boxes, 60 2 shape control, 452 Filters, 3 563 57 http://24.19.55. 56: 8080/temp /book- index.html ( 46 of 138) [3/14/2001 2:14:19 AM] Visual Basic 6 Black Book: Index Financial functions, 1 16 Simpo PDF Merge and Split Unregistered... menu, 5253 Hotspot targets, Help files, 105 5105 7 Hotspots, Help files, 105 3105 5 Hour function, 90 HPJ files, 104 9105 0 HTM files, 707 HTML controls, 712713 HTML tags, 710 HTTP (Hypertext Transport Protocol), 69 769 8, 735737 http://24.19.55. 56: 8080/temp /book- index.html (58 of 138) [3/14/2001 2:14:20 AM] Visual Basic 6 Black Book: Index Hungarian prefix notation, 7 767 77 Simpo PDF Merge and Split Unregistered . IDE, 61 , 62 Debugging, 100 7, 102 9 103 0 breakpoints, 103 1, 10 36 examining expressions and variables, 103 3 10 36 executing code to cursor, 10 36 Visual Basic 6 Black Book: Index http://24.19.55. 56: 8080/temp /book- index.html. setting, 60 2 60 3 Drawing width, setting, 60 2 60 3 DrawMode property, 60 4 60 6 DrawStyle property, 60 2 60 3 DrawWidth property, 60 2 60 3 Drive list box control, 567 568 , 569 571 Drive property, 567 568 Drop-down. property, 60 4 60 6 DrawStyle property, 60 2 60 3 DrawWidth property, 60 2 60 3 Enabled property, 151 FillColor property, 585, 60 1 60 2 Visual Basic 6 Black Book: Index http://24.19.55. 56: 8080/temp /book- index.html