home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-07-06 | 134.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Windows Help File (document/hlp)
| magic
| Supported |
100%
| dexvert
| Multimedia Viewer Book (document/multimediaViewerBook)
| magic
| Supported |
1%
| dexvert
| BDC HelpSystem (document/bdcHelpSystem)
| ext
| Unsupported |
1%
| dexvert
| Eureka/Mercury Help (document/eurekaMercuryHelp)
| ext
| Unsupported |
1%
| dexvert
| 4DOS Help (document/fourDOSHelp)
| ext
| Unsupported |
1%
| dexvert
| OPHelp (document/opHelp)
| ext
| Unsupported |
1%
| dexvert
| POP-UP DOS Help (document/popupDOSHelp)
| ext
| Unsupported |
1%
| dexvert
| Quick Help (document/quickHelp)
| ext
| Unsupported |
1%
| dexvert
| RMP Help (document/rmpHelp)
| ext
| Unsupported |
1%
| dexvert
| Symantec DOS software help (document/symantecDOSSoftwareHelp)
| ext
| Unsupported |
1%
| dexvert
| xText compiled Hypertext/Help (document/xTextCompiledHypertext)
| ext
| Unsupported |
1%
| dexvert
| gfxboot compiled HTML Help (document/gfxbootCompiledHTMLHelp)
| ext
| Unsupported |
1%
| dexvert
| Pure Pascal Help (document/purePascalHelp)
| ext
| Unsupported |
1%
| dexvert
| WordPerfect help (document/wordPerfectHelp)
| ext
| Unsupported |
1%
| dexvert
| Ashton-Tate Help data (other/ashtonTateHelpData)
| ext
| Unsupported |
1%
| dexvert
| Borland Help System (other/borlandHelpSystem)
| ext
| Unsupported |
1%
| dexvert
| Eclipse Help (other/eclipseHelp)
| ext
| Unsupported |
1%
| dexvert
| Necromancer's Dos Navigator Help (other/necromancersDosNavigatorHelp)
| ext
| Unsupported |
1%
| dexvert
| 1dir+ Help (other/oneDirPlusHelp)
| ext
| Unsupported |
1%
| dexvert
| Qualitas Help (other/qualitasHelp)
| ext
| Unsupported |
1%
| dexvert
| Turbo Pascal Help (other/turboPascalHelp)
| ext
| Unsupported |
1%
| dexvert
| Vocal-Eyes Help (other/vocalEyesHelp)
| ext
| Unsupported |
1%
| dexvert
| Windows Help index (other/windowsHelpIndex)
| ext
| Unsupported |
1%
| dexvert
| Alpha Four Help (other/alphaFourHelp)
| ext
| Unsupported |
1%
| dexvert
| FastLynx Help (other/fastLynxHelp)
| ext
| Unsupported |
100%
| file
| MS Windows 3.1 help, Tue Jul 6 13:10:46 1999, 163793 bytes
| default
| |
99%
| file
| data
| default
| |
50%
| TrID
| Windows HELP File
| default
| |
49%
| TrID
| Multimedia Viewer Book
| default
| |
100%
| siegfried
| fmt/474 Windows Help File
| default
| |
100%
| gt2
| Windows 3.x Hilfedatei
| default
| |
100%
| detectItEasy
| Format: MS Help
| default
| |
100%
| xdgMime
| application/winhlp
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3f 5f 03 00 a1 00 00 00 | ff ff ff ff d1 7f 02 00 |?_......|........|
|00000010| 91 00 00 00 88 00 00 00 | 00 6c 03 21 00 01 00 96 |........|.l.!....|
|00000020| 38 82 37 00 00 03 00 04 | 00 00 00 00 00 06 00 5a |8.7.....|.......Z|
|00000030| 00 7f 03 00 00 00 00 00 | 00 00 00 00 00 6d 61 69 |........|.....mai|
|00000040| 6e 00 00 00 00 00 56 69 | 73 75 61 6c 20 42 61 73 |n.....Vi|sual Bas|
|00000050| 69 63 20 53 63 72 65 65 | 6e 20 53 61 76 65 72 73 |ic Scree|n Savers|
|00000060| 20 54 75 74 6f 72 69 61 | 6c 00 00 00 00 00 00 00 | Tutoria|l.......|
|00000070| 00 00 00 00 00 00 00 00 | 00 32 00 40 00 6c 02 74 |........|.2.@.l.t|
|00000080| 02 00 00 ff ff ff 00 c0 | c0 c0 00 09 00 0a 00 00 |........|........|
|00000090| 00 00 00 00 00 00 00 09 | 04 0b 00 04 00 00 00 00 |........|........|
|000000a0| 00 2f 04 00 00 26 04 00 | 00 04 3b 29 02 04 00 04 |./...&..|..;)....|
|000000b0| 7a 34 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |z4......|........|
|000000c0| 00 00 00 00 00 00 ff ff | 01 00 01 00 0f 00 00 00 |........|........|
|000000d0| 5e 03 0f 00 ff ff ff ff | 7c 43 4f 4e 54 45 58 54 |^.......||CONTEXT|
|000000e0| 00 d7 72 00 00 7c 43 54 | 58 4f 4d 41 50 00 5d 6a |..r..|CT|XOMAP.]j|
|000000f0| 00 00 7c 46 4f 4e 54 00 | 3c 69 00 00 7c 53 59 53 |..|FONT.|<i..|SYS|
|00000100| 54 45 4d 00 10 00 00 00 | 7c 54 4f 50 49 43 00 d0 |TEM.....||TOPIC..|
|00000110| 04 00 00 7c 54 54 4c 42 | 54 52 45 45 00 a8 6a 00 |...|TTLB|TREE..j.|
|00000120| 00 7c 62 6d 30 00 06 7b | 00 00 7c 62 6d 31 00 b6 |.|bm0..{|..|bm1..|
|00000130| 1a 01 00 7c 62 6d 32 00 | 7a 2b 01 00 7c 62 6d 33 |...|bm2.|z+..|bm3|
|00000140| 00 bb 32 01 00 7c 62 6d | 34 00 94 92 01 00 7c 62 |..2..|bm|4.....|b|
|00000150| 6d 35 00 c8 99 01 00 7c | 62 6d 36 00 0f 9f 01 00 |m5.....||bm6.....|
|00000160| 7c 62 6d 37 00 95 3d 02 | 00 7c 62 6d 38 00 ad 4d ||bm7..=.|.|bm8..M|
|00000170| 02 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 6c 64 00 00 63 64 00 00 | 00 ff ff ff ff 0c 00 00 |ld..cd..|........|
|000004e0| 00 00 00 00 00 31 00 00 | 00 00 00 00 00 ff ff ff |.....1..|........|
|000004f0| ff 3d 00 00 00 31 00 00 | 00 02 56 03 00 00 ff ff |.=...1..|..V.....|
|00000500| ff ff ff ff ff ff 00 00 | 00 00 ff ff ff ff 3d 00 |........|......=.|
|00000510| 00 00 62 03 00 00 13 02 | 00 00 5f 01 00 00 0c 00 |..b.....|.._.....|
|00000520| 00 00 50 02 00 00 b4 00 | 00 00 20 36 81 c5 02 00 |..P.....|.. 6....|
|00000530| 80 00 00 00 08 80 00 00 | 86 22 08 80 02 00 00 00 |........|."......|
|00000540| 00 82 82 86 22 08 80 02 | 00 00 01 00 82 82 80 01 |...."...|........|
|00000550| 00 82 82 e3 e0 db ea 41 | 80 02 00 89 80 03 00 82 |.......A|........|
|00000560| 82 e3 df db ea 41 80 02 | 00 89 80 03 00 82 82 e3 |.....A..|........|
|00000570| e1 db ea 41 80 02 00 89 | 80 03 00 82 82 e3 e2 db |...A....|........|
|00000580| ea 41 80 02 00 89 80 03 | 00 82 82 e3 e3 db ea 41 |.A......|.......A|
|00000590| 80 02 00 89 80 03 00 82 | 82 e3 e4 db ea 41 80 02 |........|.....A..|
|000005a0| 00 89 80 03 00 82 82 e3 | e5 db ea 41 80 02 00 89 |........|...A....|
|000005b0| 82 82 82 e3 e0 db ea 41 | 80 04 00 86 22 08 80 02 |.......A|...."...|
|000005c0| 00 00 02 00 89 80 03 00 | 82 ff 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 54 61 62 6c 65 20 | 6f 66 20 43 6f 6e 74 65 |..Table |of Conte|
|000005e0| 6e 74 73 20 2e 2e 2e 00 | 00 00 00 49 6e 74 72 6f |nts ....|...Intro|
|000005f0| 64 75 63 74 69 6f 6e 00 | 00 00 00 00 00 43 68 61 |duction.|.....Cha|
|00000600| 70 74 65 72 20 4f 6e 65 | 20 2d 20 53 65 74 74 69 |pter One| - Setti|
|00000610| 6e 67 20 55 70 20 74 68 | 65 20 50 72 6f 6a 65 63 |ng Up th|e Projec|
|00000620| 74 00 00 00 00 00 00 43 | 68 61 70 74 65 72 20 54 |t......C|hapter T|
|00000630| 77 6f 20 2d 20 41 74 74 | 61 63 68 69 6e 67 20 43 |wo - Att|aching C|
|00000640| 6f 64 65 20 74 6f 20 74 | 68 65 20 4d 6f 64 75 6c |ode to t|he Modul|
|00000650| 65 00 00 00 00 00 00 43 | 68 61 70 74 65 72 20 54 |e......C|hapter T|
|00000660| 68 72 65 65 20 2d 20 41 | 74 74 61 63 68 69 6e 67 |hree - A|ttaching|
|00000670| 20 43 6f 64 65 20 74 6f | 20 74 68 65 20 4d 61 69 | Code to| the Mai|
|00000680| 6e 20 46 6f 72 6d 00 00 | 00 00 00 00 43 68 61 70 |n Form..|....Chap|
|00000690| 74 65 72 20 46 6f 75 72 | 20 2d 20 54 68 65 20 53 |ter Four| - The S|
|000006a0| 63 72 65 65 6e 20 53 61 | 76 65 72 20 43 6f 64 65 |creen Sa|ver Code|
|000006b0| 00 00 00 00 00 00 43 68 | 61 70 74 65 72 20 46 69 |......Ch|apter Fi|
|000006c0| 76 65 20 2d 20 42 75 69 | 6c 64 69 6e 67 20 74 68 |ve - Bui|lding th|
|000006d0| 65 20 43 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |e Config|uration |
|000006e0| 46 6f 72 6d 00 00 00 00 | 00 00 43 68 61 70 74 65 |Form....|..Chapte|
|000006f0| 72 20 53 69 78 20 2d 20 | 43 6f 6d 70 69 6c 69 6e |r Six - |Compilin|
|00000700| 67 20 61 6e 64 20 52 75 | 6e 6e 69 6e 67 20 74 68 |g and Ru|nning th|
|00000710| 65 20 53 63 72 65 65 6e | 20 53 61 76 65 00 72 00 |e Screen| Save.r.|
|00000720| 00 00 00 00 00 00 00 00 | 00 12 01 00 00 ca 00 00 |........|........|
|00000730| 00 3d 00 00 00 62 03 00 | 00 48 00 00 00 20 5e 80 |.=...b..|.H... ^.|
|00000740| 99 01 00 80 00 00 00 08 | 80 00 00 86 22 08 80 02 |........|...."...|
|00000750| 00 00 01 00 82 82 80 05 | 00 82 80 06 00 82 80 07 |........|........|
|00000760| 00 82 82 80 00 00 86 22 | 08 80 02 00 00 01 00 82 |......."|........|
|00000770| ff 00 00 00 00 00 4d 69 | 63 61 68 20 43 61 72 72 |......Mi|cah Carr|
|00000780| 69 63 6b 27 73 20 56 69 | 73 75 61 6c 20 42 61 73 |ick's Vi|sual Bas|
|00000790| 69 63 20 53 63 72 65 65 | 6e 20 53 61 76 65 72 73 |ic Scree|n Savers|
|000007a0| 20 54 75 74 6f 72 69 61 | 6c 20 56 65 72 73 69 6f | Tutoria|l Versio|
|000007b0| 6e 20 31 2e 31 20 00 00 | a9 20 31 39 39 39 20 4d |n 1.1 ..|. 1999 M|
|000007c0| 69 63 61 68 20 43 61 72 | 72 69 63 6b 20 2d 20 6d |icah Car|rick - m|
|000007d0| 69 63 61 68 40 63 61 72 | 72 69 63 6b 2e 63 6f 6d |icah@car|rick.com|
|000007e0| 20 2d 20 68 74 74 70 3a | 2f 2f 6d 69 63 61 68 2e | - http:|//micah.|
|000007f0| 63 61 72 72 69 63 6b 2e | 63 6f 6d 00 00 46 69 6e |carrick.|com..Fin|
|00000800| 64 20 74 68 69 73 20 74 | 75 74 6f 72 69 61 6c 20 |d this t|utorial |
|00000810| 69 6e 20 48 54 4d 4c 20 | 66 6f 72 6d 20 61 74 20 |in HTML |form at |
|00000820| 77 77 77 2e 63 6f 6d 70 | 75 74 65 72 67 65 65 6b |www.comp|utergeek|
|00000830| 7a 2e 6e 65 74 00 00 00 | 00 00 00 55 00 00 00 24 |z.net...|...U...$|
|00000840| 00 00 00 50 02 00 00 b7 | 03 00 00 31 00 00 00 02 |...P....|...1....|
|00000850| 9a 0c 00 00 ff ff ff ff | ff ff ff ff 01 00 00 00 |........|........|
|00000860| ff ff ff ff b7 03 00 00 | 0c 40 00 00 43 68 61 70 |........|.@..Chap|
|00000870| 74 65 72 20 4f 6e 65 20 | 2d 20 53 65 74 74 69 6e |ter One |- Settin|
|00000880| 67 20 55 70 20 74 68 65 | 20 50 72 6f 6a 65 63 74 |g Up the| Project|
|00000890| 6a 00 00 00 2e 00 00 00 | 62 03 00 00 21 04 00 00 |j.......|b...!...|
|000008a0| 3c 00 00 00 20 48 80 60 | 00 80 00 00 00 08 80 00 |<... H.`|........|
|000008b0| 00 86 22 08 80 02 00 00 | 00 00 82 82 86 22 08 80 |..".....|....."..|
|000008c0| 02 00 00 01 00 82 82 80 | 01 00 82 ff 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 43 68 61 70 | 74 65 72 20 4f 6e 65 20 |....Chap|ter One |
|000008e0| 2d 20 53 65 74 74 69 6e | 67 20 55 70 20 74 68 65 |- Settin|g Up the|
|000008f0| 20 50 72 6f 6a 65 63 74 | 00 00 28 00 00 00 04 00 | Project|..(.....|
|00000900| 00 00 b7 03 00 00 49 04 | 00 00 24 00 00 00 20 18 |......I.|..$... .|
|00000910| 80 08 00 80 00 00 00 00 | 80 01 00 82 82 ff 00 00 |........|........|
|00000920| 00 00 55 02 00 00 2b 02 | 00 00 21 04 00 00 9e 06 |..U...+.|..!.....|
|00000930| 00 00 2a 00 00 00 20 22 | 80 57 04 00 80 00 00 00 |..*... "|.W......|
|00000940| 02 82 48 80 08 00 83 82 | 82 83 82 ff 00 00 4f 4b |..H.....|......OK|
|00000950| 2c 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 68 61 76 |, you sh|ould hav|
|00000960| 65 20 56 69 73 75 61 6c | 20 42 61 73 69 63 20 6f |e Visual| Basic o|
|00000970| 70 65 6e 2c 20 69 66 20 | 6e 6f 74 2c 20 6f 70 65 |pen, if |not, ope|
|00000980| 6e 20 69 74 20 6e 6f 77 | 2e 20 53 74 61 72 74 20 |n it now|. Start |
|00000990| 61 20 6e 65 77 20 22 53 | 74 61 6e 64 61 72 64 20 |a new "S|tandard |
|000009a0| 45 58 45 22 20 70 72 6f | 6a 65 63 74 2e 20 41 6c |EXE" pro|ject. Al|
|000009b0| 74 68 6f 75 67 68 20 61 | 6c 6c 20 74 68 65 20 73 |though a|ll the s|
|000009c0| 6f 75 72 63 65 20 63 6f | 64 65 20 6f 66 20 74 68 |ource co|de of th|
|000009d0| 65 20 70 72 6f 6a 65 63 | 74 20 77 65 20 77 69 6c |e projec|t we wil|
|000009e0| 6c 20 62 65 20 63 72 65 | 61 74 69 6e 67 20 69 73 |l be cre|ating is|
|000009f0| 20 69 6e 63 6c 75 64 65 | 64 2c 20 69 74 27 73 20 | include|d, it's |
|00000a00| 61 20 67 6f 6f 64 20 69 | 64 65 61 20 74 6f 20 67 |a good i|dea to g|
|00000a10| 6f 20 74 68 72 6f 75 67 | 68 20 69 74 20 73 74 65 |o throug|h it ste|
|00000a20| 70 20 62 79 20 73 74 65 | 70 20 73 6f 20 74 68 61 |p by ste|p so tha|
|00000a30| 74 20 79 6f 75 20 75 6e | 64 65 72 73 74 61 6e 64 |t you un|derstand|
|00000a40| 20 77 68 61 74 20 61 6c | 6c 20 74 68 65 20 63 6f | what al|l the co|
|00000a50| 64 65 20 6d 65 61 6e 73 | 20 61 6e 64 20 68 6f 77 |de means| and how|
|00000a60| 20 69 74 20 63 6f 72 72 | 65 6c 61 74 65 73 20 77 | it corr|elates w|
|00000a70| 69 74 68 20 57 69 6e 64 | 6f 77 73 2e 20 00 00 00 |ith Wind|ows. ...|
|00000a80| 42 79 20 64 65 66 61 75 | 6c 74 2c 20 79 6f 75 72 |By defau|lt, your|
|00000a90| 20 70 72 6f 6a 65 63 74 | 20 61 6c 72 65 61 64 79 | project| already|
|00000aa0| 20 68 61 73 20 6f 6e 65 | 20 66 6f 72 6d 2c 20 22 | has one| form, "|
|00000ab0| 66 6f 72 6d 31 22 2e 20 | 57 65 20 6e 65 65 64 20 |form1". |We need |
|00000ac0| 74 6f 20 61 64 64 20 61 | 6e 6f 74 68 65 72 20 66 |to add a|nother f|
|00000ad0| 6f 72 6d 2c 20 61 6e 64 | 20 74 68 65 6e 20 61 20 |orm, and| then a |
|00000ae0| 6d 6f 64 75 6c 65 2e 20 | 54 68 65 20 6d 6f 64 75 |module. |The modu|
|00000af0| 6c 65 20 63 61 6e 20 62 | 65 20 6e 61 6d 65 73 20 |le can b|e names |
|00000b00| 61 6e 79 74 68 69 6e 67 | 20 79 6f 75 20 77 61 6e |anything| you wan|
|00000b10| 74 2c 20 77 65 27 72 65 | 20 67 6f 69 6e 67 20 74 |t, we're| going t|
|00000b20| 6f 20 75 73 65 20 74 68 | 65 20 6d 6f 64 75 6c 65 |o use th|e module|
|00000b30| 20 69 6e 20 61 20 6d 69 | 6e 75 74 65 2c 20 62 75 | in a mi|nute, bu|
|00000b40| 74 20 66 6f 72 20 6e 6f | 77 2c 20 67 69 76 65 20 |t for no|w, give |
|00000b50| 74 68 65 20 74 77 6f 20 | 66 6f 72 6d 73 20 74 68 |the two |forms th|
|00000b60| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 73 65 74 74 |e follow|ing sett|
|00000b70| 69 6e 67 73 3a 00 00 28 | 00 00 00 03 00 00 00 49 |ings:..(|.......I|
|00000b80| 04 00 00 c6 06 00 00 25 | 00 00 00 20 1a 80 06 00 |.......%|... ....|
|00000b90| 80 00 00 00 02 82 48 80 | 08 00 82 ff 00 00 00 71 |......H.|.......q|
|00000ba0| 00 00 00 1f 00 00 00 9e | 06 00 00 37 07 00 00 52 |........|...7...R|
|00000bb0| 00 00 00 23 74 80 3e 03 | 01 1b 01 00 00 1a 01 00 |...#t.>.|........|
|00000bc0| 00 1b 01 00 00 00 00 01 | 16 80 00 80 00 00 00 00 |........|........|
|00000bd0| 80 09 00 82 ff 01 00 01 | 10 80 14 80 00 00 00 00 |........|........|
|00000be0| 82 ff 02 00 01 10 80 2a | 80 00 00 00 00 82 ff ff |.......*|........|
|00000bf0| ff 00 4f 62 6a 65 63 74 | 3a 00 00 50 72 6f 70 65 |..Object|:..Prope|
|00000c00| 72 74 79 3a 00 00 53 65 | 74 74 69 6e 67 3a 00 00 |rty:..Se|tting:..|
|00000c10| d8 00 00 00 7a 00 00 00 | c6 06 00 00 0f 08 00 00 |....z...|........|
|00000c20| 5e 00 00 00 23 8c 80 f4 | 03 01 1b 01 00 00 1a 01 |^...#...|........|
|00000c30| 00 00 1b 01 00 00 00 00 | 01 16 80 00 80 00 00 00 |........|........|
|00000c40| 00 80 02 00 82 ff 01 00 | 01 20 80 0e 80 00 00 00 |........|. ......|
|00000c50| 00 80 00 00 81 81 81 81 | 81 82 ff 02 00 01 18 80 |........|........|
|00000c60| 7a 80 00 00 00 00 81 81 | 81 81 82 ff ff ff 00 46 |z.......|.......F|
|00000c70| 6f 72 6d 00 00 00 4e 61 | 6d 65 00 41 70 70 72 65 |orm...Na|me.Appre|
|00000c80| 61 72 65 6e 63 65 00 42 | 61 63 6b 43 6f 6c 6f 72 |arence.B|ackColor|
|00000c90| 00 42 6f 72 64 65 72 53 | 74 79 6c 65 00 57 69 6e |.BorderS|tyle.Win|
|00000ca0| 64 6f 77 53 74 61 74 65 | 00 00 00 66 72 6d 4d 61 |dowState|...frmMa|
|00000cb0| 69 6e 00 30 20 2d 20 46 | 6c 61 74 00 26 48 30 30 |in.0 - F|lat.&H00|
|00000cc0| 30 30 30 30 30 30 26 20 | 28 42 6c 61 63 6b 29 00 |000000& |(Black).|
|00000cd0| 30 20 2d 20 4e 6f 6e 65 | 00 32 20 2d 20 4d 61 78 |0 - None|.2 - Max|
|00000ce0| 69 6d 69 7a 65 64 00 00 | b6 00 00 00 5d 00 00 00 |imized..|....]...|
|00000cf0| 37 07 00 00 c5 08 00 00 | 59 00 00 00 23 82 80 ba |7.......|Y...#...|
|00000d00| 03 01 1b 01 00 00 1a 01 | 00 00 1b 01 00 00 00 00 |........|........|
|00000d10| 01 16 80 00 80 00 00 00 | 00 80 02 00 82 ff 01 00 |........|........|
|00000d20| 01 1a 80 0e 80 00 00 00 | 00 80 00 00 81 81 82 ff |........|........|
|00000d30| 02 00 01 14 80 44 80 00 | 00 00 00 81 81 82 ff ff |.....D..|........|
|00000d40| ff 00 46 6f 72 6d 00 00 | 00 4e 61 6d 65 00 42 6f |..Form..|.Name.Bo|
|00000d50| 72 64 65 72 53 74 79 6c | 65 00 43 61 70 74 69 6f |rderStyl|e.Captio|
|00000d60| 6e 00 00 66 72 6d 43 6f | 6e 66 69 67 00 34 20 2d |n..frmCo|nfig.4 -|
|00000d70| 20 46 69 78 65 64 20 54 | 6f 6f 6c 57 69 6e 64 6f | Fixed T|oolWindo|
|00000d80| 77 00 53 63 72 65 65 6e | 20 53 61 76 65 72 20 43 |w.Screen| Saver C|
|00000d90| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 00 00 26 00 |onfigura|tion..&.|
|00000da0| 00 00 03 00 00 00 0f 08 | 00 00 eb 08 00 00 23 00 |........|......#.|
|00000db0| 00 00 20 16 80 06 00 80 | 00 00 00 00 80 08 00 82 |.. .....|........|
|00000dc0| ff 00 00 00 87 02 00 00 | 59 02 00 00 c5 08 00 00 |........|Y.......|
|00000dd0| 72 0b 00 00 2e 00 00 00 | 20 2a 80 b3 04 00 80 00 |r.......| *......|
|00000de0| 00 00 02 82 48 80 00 00 | 83 80 08 00 82 83 82 83 |....H...|........|
|00000df0| 82 ff 00 00 00 4f 6b 61 | 79 2c 20 73 6f 20 6e 6f |.....Oka|y, so no|
|00000e00| 77 20 79 6f 75 20 63 61 | 6e 20 73 65 65 20 74 68 |w you ca|n see th|
|00000e10| 61 74 20 66 72 6d 4d 61 | 69 6e 20 69 73 20 74 68 |at frmMa|in is th|
|00000e20| 65 20 73 63 72 65 65 6e | 73 61 76 65 72 27 73 20 |e screen|saver's |
|00000e30| 66 6f 72 6d 2e 20 59 6f | 75 20 63 6f 75 6c 64 20 |form. Yo|u could |
|00000e40| 73 65 74 20 74 68 65 20 | 42 61 63 6b 43 6f 6c 6f |set the |BackColo|
|00000e50| 72 20 74 6f 20 61 6e 79 | 74 68 69 6e 67 20 72 65 |r to any|thing re|
|00000e60| 61 6c 6c 79 20 62 75 74 | 20 73 63 72 65 65 6e 20 |ally but| screen |
|00000e70| 73 61 76 65 72 73 20 75 | 73 75 61 6c 6c 79 20 68 |savers u|sually h|
|00000e80| 61 76 65 20 61 20 62 6c | 61 63 6b 20 62 61 63 6b |ave a bl|ack back|
|00000e90| 67 72 6f 75 6e 64 2e 20 | 4d 61 6b 69 6e 67 20 69 |ground. |Making i|
|00000ea0| 74 27 73 20 42 6f 72 64 | 65 72 20 53 74 79 6c 65 |t's Bord|er Style|
|00000eb0| 20 22 30 20 2d 20 4e 6f | 6e 65 22 20 61 6e 64 20 | "0 - No|ne" and |
|00000ec0| 57 69 6e 64 6f 77 53 74 | 61 74 65 20 22 32 20 2d |WindowSt|ate "2 -|
|00000ed0| 20 4d 61 78 69 6d 69 7a | 65 64 22 20 69 73 20 77 | Maximiz|ed" is w|
|00000ee0| 68 61 74 20 6d 61 6b 65 | 73 20 69 74 20 63 6f 76 |hat make|s it cov|
|00000ef0| 65 72 20 74 68 65 20 65 | 6e 74 69 72 65 20 73 63 |er the e|ntire sc|
|00000f00| 72 65 65 6e 2c 20 69 6e | 63 6c 75 64 69 6e 67 20 |reen, in|cluding |
|00000f10| 74 68 65 20 74 61 73 6b | 62 61 72 2e 00 00 00 00 |the task|bar.....|
|00000f20| 41 73 20 66 6f 72 20 66 | 72 6d 43 6f 6e 66 69 67 |As for f|rmConfig|
|00000f30| 2c 20 79 6f 75 20 63 61 | 6e 20 6d 61 6b 65 20 74 |, you ca|n make t|
|00000f40| 68 61 74 20 68 6f 77 65 | 76 65 72 20 79 6f 75 20 |hat howe|ver you |
|00000f50| 77 61 6e 74 2e 20 54 68 | 61 74 27 73 20 74 68 65 |want. Th|at's the|
|00000f60| 20 63 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 20 74 | configu|ration t|
|00000f70| 68 61 74 20 75 73 65 72 | 73 20 77 69 6c 6c 20 73 |hat user|s will s|
|00000f80| 65 65 20 77 68 65 6e 20 | 74 68 65 79 20 63 6c 69 |ee when |they cli|
|00000f90| 63 6b 20 22 53 65 74 74 | 69 6e 67 73 22 20 69 6e |ck "Sett|ings" in|
|00000fa0| 20 74 68 65 20 73 63 72 | 65 65 6e 20 73 61 76 65 | the scr|een save|
|00000fb0| 72 20 74 61 62 20 6f 66 | 20 64 65 73 6b 74 6f 70 |r tab of| desktop|
|00000fc0| 20 70 72 6f 70 65 72 74 | 69 65 73 2e 20 55 73 75 | propert|ies. Usu|
|00000fd0| 61 6c 6c 79 20 79 6f 75 | 27 64 20 77 61 6e 74 20 |ally you|'d want |
|00000fe0| 69 74 20 74 6f 20 62 65 | 20 61 20 66 69 78 65 64 |it to be| a fixed|
|00000ff0| 20 73 69 7a 65 20 28 6e | 6f 6e 2d 72 65 73 69 7a | size (n|on-resiz|
|00001000| 61 62 6c 65 29 20 66 6f | 72 6d 20 74 68 61 74 20 |able) fo|rm that |
|00001010| 69 73 20 6e 6f 74 20 73 | 68 6f 77 6e 20 69 6e 20 |is not s|hown in |
|00001020| 74 68 65 20 74 61 73 6b | 62 61 72 2e 20 42 75 74 |the task|bar. But|
|00001030| 20 69 74 27 73 20 65 6e | 74 69 72 65 6c 79 20 75 | it's en|tirely u|
|00001040| 70 20 74 6f 20 79 6f 75 | 2e 00 00 05 02 00 00 d4 |p to you|........|
|00001050| 01 00 00 eb 08 00 00 77 | 0d 00 00 31 00 00 00 20 |.......w|...1... |
|00001060| 30 80 a9 03 00 80 00 00 | 00 02 82 48 80 08 00 82 |0.......|...H....|
|00001070| 83 80 0a 00 80 08 00 82 | 82 83 82 ff 00 00 00 4f |........|.......O|
|00001080| 6b 61 79 2c 20 6e 6f 77 | 2c 20 73 65 6c 65 63 74 |kay, now|, select|
|00001090| 20 22 50 72 6f 70 65 72 | 74 69 65 73 22 20 66 72 | "Proper|ties" fr|
|000010a0| 6f 6d 20 74 68 65 20 22 | 50 72 6f 6a 65 63 74 22 |om the "|Project"|
|000010b0| 20 6d 65 6e 75 2e 20 54 | 79 70 65 20 61 20 6e 61 | menu. T|ype a na|
|000010c0| 6d 65 20 66 6f 72 20 79 | 6f 75 72 20 70 72 6f 6a |me for y|our proj|
|000010d0| 65 63 74 2e 20 54 68 65 | 20 65 78 61 6d 70 6c 65 |ect. The| example|
|000010e0| 20 70 72 6f 6a 65 63 74 | 20 69 73 20 73 61 76 65 | project| is save|
|000010f0| 72 2c 20 61 6e 64 20 74 | 68 65 72 65 66 6f 72 65 |r, and t|herefore|
|00001100| 20 77 69 6c 6c 20 62 65 | 20 73 61 76 65 72 2e 73 | will be| saver.s|
|00001110| 63 72 20 77 68 65 6e 20 | 66 69 6e 69 73 68 65 64 |cr when |finished|
|00001120| 2e 20 00 4e 6f 77 2c 20 | 66 6f 72 20 74 68 65 20 |. .Now, |for the |
|00001130| 22 53 74 61 72 74 75 70 | 20 4f 62 6a 65 63 74 22 |"Startup| Object"|
|00001140| 2c 20 63 68 6f 6f 73 65 | 20 22 53 75 62 20 4d 61 |, choose| "Sub Ma|
|00001150| 69 6e 22 00 2e 20 54 68 | 69 73 20 69 73 20 61 20 |in".. Th|is is a |
|00001160| 53 75 62 20 74 68 61 74 | 20 77 69 6c 6c 20 62 65 |Sub that| will be|
|00001170| 20 6c 6f 63 61 74 65 64 | 20 69 6e 20 6f 75 72 20 | located| in our |
|00001180| 6d 6f 64 75 6c 65 20 77 | 68 69 63 68 20 77 69 6c |module w|hich wil|
|00001190| 6c 20 64 65 74 65 72 6d | 69 6e 65 20 77 68 69 63 |l determ|ine whic|
|000011a0| 68 20 66 6f 72 6d 20 74 | 6f 20 73 68 6f 77 20 62 |h form t|o show b|
|000011b0| 61 73 65 64 20 6f 6e 20 | 74 68 65 20 70 61 72 61 |ased on |the para|
|000011c0| 6d 65 74 65 72 73 20 67 | 69 76 65 6e 2e 00 00 00 |meters g|iven....|
|000011d0| 4f 6b 61 79 2c 20 6e 6f | 77 20 63 6c 69 63 6b 20 |Okay, no|w click |
|000011e0| 74 68 65 20 22 4d 61 6b | 65 22 20 74 61 62 2e 20 |the "Mak|e" tab. |
|000011f0| 49 6e 20 74 68 65 20 46 | 69 65 6c 64 20 66 6f 72 |In the F|ield for|
|00001200| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00001210| 27 73 20 22 54 69 74 6c | 65 22 2c 20 61 64 64 20 |'s "Titl|e", add |
|00001220| 74 68 65 20 74 65 78 74 | 20 22 53 43 52 4e 53 41 |the text| "SCRNSA|
|00001230| 56 45 52 22 20 62 65 66 | 6f 72 65 20 74 68 65 20 |VER" bef|ore the |
|00001240| 61 63 74 75 61 6c 20 74 | 69 74 6c 65 2e 20 00 00 |actual t|itle. ..|
|00001250| 28 00 00 00 03 00 00 00 | 72 0b 00 00 9f 0d 00 00 |(.......|r.......|
|00001260| 25 00 00 00 20 1a 80 06 | 00 80 00 00 00 02 82 48 |%... ...|.......H|
|00001270| 80 08 00 82 ff 00 00 00 | 34 00 00 00 05 00 00 00 |........|4.......|
|00001280| 77 0d 00 00 d3 0d 00 00 | 2f 00 00 00 20 2e 80 0c |w.......|/... ...|
|00001290| 00 80 00 00 00 0a 82 48 | 80 00 00 86 22 08 80 02 |.......H|...."...|
|000012a0| 00 00 03 00 82 82 ff 00 | 00 00 00 00 c9 00 00 00 |........|........|
|000012b0| a2 00 00 00 9f 0d 00 00 | 9c 0e 00 00 27 00 00 00 |........|....'...|
|000012c0| 20 1c 80 45 01 00 80 00 | 00 00 02 82 48 80 08 00 | ..E....|....H...|
|000012d0| 83 82 ff 00 00 4f 6b 61 | 79 2c 20 74 68 61 74 27 |.....Oka|y, that'|
|000012e0| 73 20 69 74 2c 20 6f 75 | 72 20 70 72 6f 6a 65 63 |s it, ou|r projec|
|000012f0| 74 20 69 73 20 73 65 74 | 20 75 70 20 61 6e 64 20 |t is set| up and |
|00001300| 69 74 27 73 20 74 69 6d | 65 20 74 6f 20 73 74 61 |it's tim|e to sta|
|00001310| 72 74 20 61 64 64 69 6e | 67 20 73 6f 6d 65 20 63 |rt addin|g some c|
|00001320| 6f 64 65 2e 20 52 65 66 | 65 72 20 74 68 65 20 69 |ode. Ref|er the i|
|00001330| 6e 63 6c 75 64 65 64 20 | 73 61 6d 70 6c 65 20 70 |ncluded |sample p|
|00001340| 72 6f 6a 65 63 74 20 69 | 66 20 79 6f 75 20 67 65 |roject i|f you ge|
|00001350| 74 20 73 74 75 63 6b 2e | 20 43 6c 69 63 6b 20 22 |t stuck.| Click "|
|00001360| 4e 45 58 54 22 20 74 6f | 20 63 6f 6e 74 69 6e 75 |NEXT" to| continu|
|00001370| 65 2e 2e 00 00 60 01 00 | 00 db 00 00 00 d3 0d 00 |e....`..|........|
|00001380| 00 0c 40 00 00 85 00 00 | 00 20 d8 80 c1 01 00 80 |..@.....|. ......|
|00001390| 00 00 00 0a 82 48 80 08 | 00 82 82 82 82 e3 de db |.....H..|........|
|000013a0| ea 41 80 04 00 86 22 08 | 80 02 00 00 04 00 89 e3 |.A....".|........|
|000013b0| de db ea 41 86 22 08 80 | 02 00 00 05 00 89 e3 e1 |...A."..|........|
|000013c0| db ea 41 86 22 08 80 02 | 00 00 02 00 89 80 03 00 |..A."...|........|
|000013d0| 82 80 00 00 86 22 08 80 | 02 00 00 01 00 82 82 80 |....."..|........|
|000013e0| 05 00 82 80 06 00 82 80 | 07 00 82 82 80 00 00 86 |........|........|
|000013f0| 22 08 80 02 00 00 01 00 | 82 ff 00 00 00 00 00 00 |".......|........|
|00001400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001410| 4d 69 63 61 68 20 43 61 | 72 72 69 63 6b 27 73 20 |Micah Ca|rrick's |
|00001420| 56 69 73 75 61 6c 20 42 | 61 73 69 63 20 53 63 72 |Visual B|asic Scr|
|00001430| 65 65 6e 20 53 61 76 65 | 72 73 20 54 75 74 6f 72 |een Save|rs Tutor|
|00001440| 69 61 6c 20 56 65 72 73 | 69 6f 6e 20 31 2e 31 20 |ial Vers|ion 1.1 |
|00001450| 00 00 a9 20 31 39 39 39 | 20 4d 69 63 61 68 20 43 |... 1999| Micah C|
|00001460| 61 72 72 69 63 6b 20 2d | 20 6d 69 63 61 68 40 63 |arrick -| micah@c|
|00001470| 61 72 72 69 63 6b 2e 63 | 6f 6d 20 2d 20 68 74 74 |arrick.c|om - htt|
|00001480| 70 3a 2f 2f 6d 69 63 61 | 68 2e 63 61 72 72 69 63 |p://mica|h.carric|
|00001490| 6b 2e 63 6f 6d 00 00 46 | 69 6e 64 20 74 68 69 73 |k.com..F|ind this|
|000014a0| 20 74 75 74 6f 72 69 61 | 6c 20 69 6e 20 48 54 4d | tutoria|l in HTM|
|000014b0| 4c 20 66 6f 72 6d 20 61 | 74 20 77 77 77 2e 63 6f |L form a|t www.co|
|000014c0| 6d 70 75 74 65 72 67 65 | 65 6b 7a 2e 6e 65 74 00 |mputerge|ekz.net.|
|000014d0| 00 00 00 00 00 00 00 00 | 00 9c 0e 00 00 0c 40 00 |........|......@.|
|000014e0| 00 62 03 00 00 3d 00 00 | 00 0c 00 00 00 9c 0e 00 |.b...=..|........|
|000014f0| 00 49 40 00 00 31 00 00 | 00 02 46 08 00 00 ff ff |.I@..1..|..F.....|
|00001500| ff ff ff ff ff ff 02 00 | 00 00 ff ff ff ff 49 40 |........|......I@|
|00001510| 00 00 52 48 00 00 49 6e | 74 72 6f 64 75 63 74 69 |..RH..In|troducti|
|00001520| 6f 6e 56 00 00 00 17 00 | 00 00 0c 40 00 00 9f 40 |onV.....|...@...@|
|00001530| 00 00 3f 00 00 00 20 4e | 80 32 00 80 00 00 00 0a |..?... N|.2......|
|00001540| 82 48 80 00 00 86 22 08 | 80 02 00 00 00 00 82 82 |.H....".|........|
|00001550| 86 22 08 80 02 00 00 01 | 00 82 82 80 01 00 82 82 |."......|........|
|00001560| ff 00 00 00 00 00 00 00 | 00 49 6e 74 72 6f 64 75 |........|.Introdu|
|00001570| 63 74 69 6f 6e 00 00 00 | 74 02 00 00 4d 02 00 00 |ction...|t...M...|
|00001580| 49 40 00 00 13 43 00 00 | 27 00 00 00 20 1c 80 9b |I@...C..|'... ...|
|00001590| 04 00 80 00 00 00 02 82 | 48 80 08 00 83 82 ff 00 |........|H.......|
|000015a0| 00 57 65 6c 63 6f 6d 65 | 20 74 6f 20 6d 79 20 74 |.Welcome| to my t|
|000015b0| 75 74 6f 72 69 61 6c 2e | 20 4d 79 20 6e 61 6d 65 |utorial.| My name|
|000015c0| 2c 20 6f 62 76 69 6f 75 | 73 6c 79 20 65 6e 6f 75 |, obviou|sly enou|
|000015d0| 67 68 2c 20 69 73 20 4d | 69 63 61 68 2e 20 4e 6f |gh, is M|icah. No|
|000015e0| 77 2c 20 62 65 66 6f 72 | 65 20 77 65 20 62 65 67 |w, befor|e we beg|
|000015f0| 69 6e 2c 20 6c 65 74 20 | 6d 65 20 6d 61 6b 65 20 |in, let |me make |
|00001600| 73 6f 6d 65 74 68 69 6e | 67 20 63 6c 65 61 72 2e |somethin|g clear.|
|00001610| 20 49 27 6d 20 6e 6f 74 | 20 61 6e 20 65 78 70 65 | I'm not| an expe|
|00001620| 72 74 20 69 6e 20 56 69 | 73 75 61 6c 20 42 61 73 |rt in Vi|sual Bas|
|00001630| 69 63 2c 20 6f 72 20 6d | 61 6b 69 6e 67 20 73 63 |ic, or m|aking sc|
|00001640| 72 65 65 6e 20 73 61 76 | 65 72 73 20 69 6e 20 56 |reen sav|ers in V|
|00001650| 69 73 75 61 6c 20 42 61 | 73 69 63 2e 20 48 65 6c |isual Ba|sic. Hel|
|00001660| 6c 2c 20 49 20 6a 75 73 | 74 20 6c 65 61 72 6e 65 |l, I jus|t learne|
|00001670| 64 20 68 6f 77 20 74 6f | 20 64 6f 20 69 74 20 32 |d how to| do it 2|
|00001680| 20 64 61 79 73 20 61 67 | 6f 2e 20 42 75 74 2c 20 | days ag|o. But, |
|00001690| 49 27 6d 20 61 20 66 69 | 72 6d 20 62 65 6c 69 65 |I'm a fi|rm belie|
|000016a0| 76 65 72 20 69 6e 20 73 | 68 61 72 69 6e 67 20 74 |ver in s|haring t|
|000016b0| 68 65 20 6b 6e 6f 77 6c | 65 64 67 65 2c 20 61 6e |he knowl|edge, an|
|000016c0| 64 20 49 27 76 65 20 6c | 65 61 72 6e 65 64 20 71 |d I've l|earned q|
|000016d0| 75 69 74 65 20 61 20 62 | 69 74 20 69 6e 20 74 68 |uite a b|it in th|
|000016e0| 65 20 6c 61 73 74 20 32 | 20 64 61 79 73 20 61 62 |e last 2| days ab|
|000016f0| 6f 75 74 20 74 68 65 20 | 70 72 6f 63 65 73 73 20 |out the |process |
|00001700| 6f 66 20 6d 61 6b 69 6e | 67 20 61 20 73 63 72 65 |of makin|g a scre|
|00001710| 65 6e 20 73 61 76 65 72 | 20 74 68 61 74 20 63 6f |en saver| that co|
|00001720| 75 6c 64 20 73 61 76 65 | 20 6f 74 68 65 72 20 70 |uld save| other p|
|00001730| 65 6f 70 6c 65 20 77 61 | 6e 74 69 6e 67 20 74 6f |eople wa|nting to|
|00001740| 20 6c 65 61 72 6e 2c 20 | 61 6c 6c 6f 74 20 6f 66 | learn, |allot of|
|00001750| 20 74 69 6d 65 2e 20 49 | 20 73 74 69 6c 6c 20 68 | time. I| still h|
|00001760| 61 76 65 20 73 6f 6d 65 | 20 70 72 6f 62 6c 65 6d |ave some| problem|
|00001770| 73 20 61 6e 64 20 61 6c | 6c 6f 74 20 74 6f 20 6c |s and al|lot to l|
|00001780| 65 61 72 6e 2c 20 62 75 | 74 20 49 20 68 61 76 65 |earn, bu|t I have|
|00001790| 20 67 6f 74 74 65 6e 20 | 74 68 65 20 66 75 6e 64 | gotten |the fund|
|000017a0| 61 6d 65 6e 74 61 6c 73 | 20 64 6f 77 6e 2c 20 61 |amentals| down, a|
|000017b0| 6e 64 20 61 6d 20 77 69 | 6c 6c 69 6e 67 20 74 6f |nd am wi|lling to|
|000017c0| 20 70 61 73 73 20 6f 6e | 20 77 68 61 74 20 49 20 | pass on| what I |
|000017d0| 6b 6e 6f 77 20 74 6f 20 | 77 68 6f 6d 65 76 65 72 |know to |whomever|
|000017e0| 20 77 61 6e 74 73 20 69 | 74 2e 00 00 56 02 00 00 | wants i|t...V...|
|000017f0| 2e 02 00 00 9f 40 00 00 | 69 45 00 00 28 00 00 00 |.....@..|iE..(...|
|00001800| 20 1e 80 5d 04 00 80 00 | 00 00 02 82 48 80 08 00 | ..]....|....H...|
|00001810| 82 83 82 ff 00 00 00 54 | 68 65 20 72 65 61 73 6f |.......T|he reaso|
|00001820| 6e 20 49 27 6d 20 77 72 | 69 74 69 6e 67 20 74 68 |n I'm wr|iting th|
|00001830| 69 73 2c 20 6f 74 68 65 | 72 20 74 68 61 6e 20 74 |is, othe|r than t|
|00001840| 68 6f 73 65 20 72 65 61 | 73 6f 6e 73 20 61 6c 72 |hose rea|sons alr|
|00001850| 65 61 64 79 20 73 74 72 | 65 73 73 65 64 2c 20 69 |eady str|essed, i|
|00001860| 73 20 62 65 63 61 75 73 | 65 20 49 20 68 61 64 20 |s becaus|e I had |
|00001870| 61 6c 6c 6f 74 20 6f 66 | 20 70 72 6f 62 6c 65 6d |allot of| problem|
|00001880| 73 20 77 69 74 68 20 73 | 6f 6d 65 20 6f 66 20 74 |s with s|ome of t|
|00001890| 68 65 20 68 65 6c 70 20 | 6f 6e 20 6d 61 6b 69 6e |he help |on makin|
|000018a0| 67 20 73 63 72 65 65 6e | 20 73 61 76 65 72 73 20 |g screen| savers |
|000018b0| 61 76 61 69 6c 61 62 6c | 65 20 66 6f 72 20 64 6f |availabl|e for do|
|000018c0| 77 6e 6c 6f 61 64 20 61 | 74 20 76 61 72 69 6f 75 |wnload a|t variou|
|000018d0| 73 20 56 42 20 77 65 62 | 73 69 74 65 73 2e 20 54 |s VB web|sites. T|
|000018e0| 68 65 20 70 72 6f 62 6c | 65 6d 2c 20 69 73 20 74 |he probl|em, is t|
|000018f0| 68 61 74 20 61 6c 74 68 | 6f 75 67 68 20 61 20 73 |hat alth|ough a s|
|00001900| 63 72 65 65 6e 20 73 61 | 76 65 72 20 69 73 20 73 |creen sa|ver is s|
|00001910| 69 6d 70 6c 65 20 74 6f | 20 6d 61 6b 65 2c 20 74 |imple to| make, t|
|00001920| 68 65 72 65 20 61 72 65 | 20 73 6f 6d 65 20 6b 65 |here are| some ke|
|00001930| 79 20 69 73 73 75 65 73 | 20 74 68 61 74 20 69 66 |y issues| that if|
|00001940| 20 6c 65 66 74 20 6f 75 | 74 2c 20 6d 61 6b 65 20 | left ou|t, make |
|00001950| 61 20 73 63 72 65 65 6e | 20 73 61 76 65 72 20 76 |a screen| saver v|
|00001960| 65 72 79 20 75 6e 2d 70 | 72 6f 66 66 65 73 73 74 |ery un-p|roffesst|
|00001970| 69 6f 6e 61 6c 20 61 6e | 64 20 75 6e 2d 73 74 61 |ional an|d un-sta|
|00001980| 62 6c 65 2e 20 53 6f 20 | 74 68 69 73 20 74 75 74 |ble. So |this tut|
|00001990| 6f 72 69 61 6c 20 69 73 | 20 77 72 69 74 74 65 6e |orial is| written|
|000019a0| 20 74 6f 20 6e 6f 74 20 | 6f 6e 6c 79 20 73 68 6f | to not |only sho|
|000019b0| 77 20 79 6f 75 20 68 6f | 77 20 74 6f 20 67 65 74 |w you ho|w to get|
|000019c0| 20 73 74 61 72 74 65 64 | 20 69 6e 20 63 72 65 61 | started| in crea|
|000019d0| 74 69 6e 67 20 79 6f 75 | 72 20 73 63 72 65 65 6e |ting you|r screen|
|000019e0| 20 73 61 76 65 72 2c 20 | 62 75 74 20 74 6f 20 74 | saver, |but to t|
|000019f0| 65 6c 6c 20 79 6f 75 20 | 77 68 61 74 20 76 61 72 |ell you |what var|
|00001a00| 69 6f 75 73 20 61 73 70 | 65 63 74 73 20 6f 66 20 |ious asp|ects of |
|00001a10| 74 68 65 20 70 72 6f 6a | 65 63 74 20 61 72 65 20 |the proj|ect are |
|00001a20| 66 6f 72 2c 20 61 6e 64 | 20 77 68 79 20 74 68 65 |for, and| why the|
|00001a30| 79 20 61 72 65 20 69 6d | 70 6f 72 74 61 6e 74 2e |y are im|portant.|
|00001a40| 00 00 89 01 00 00 61 01 | 00 00 13 43 00 00 f2 46 |......a.|...C...F|
|00001a50| 00 00 28 00 00 00 20 1e | 80 c3 02 00 80 00 00 00 |..(... .|........|
|00001a60| 02 82 48 80 08 00 82 83 | 82 ff 00 00 00 54 68 69 |..H.....|.....Thi|
|00001a70| 73 20 74 75 74 6f 72 69 | 61 6c 20 69 73 20 6d 65 |s tutori|al is me|
|00001a80| 61 6e 74 20 74 6f 20 62 | 65 20 66 6f 6c 6c 6f 77 |ant to b|e follow|
|00001a90| 65 64 20 73 65 71 75 65 | 6e 74 69 61 6c 6c 79 2c |ed seque|ntially,|
|00001aa0| 20 73 6b 69 6d 6d 69 6e | 67 20 74 68 72 6f 75 67 | skimmin|g throug|
|00001ab0| 68 20 69 74 20 6d 61 79 | 20 63 61 75 73 65 20 79 |h it may| cause y|
|00001ac0| 6f 75 20 74 6f 20 6d 69 | 73 73 20 76 69 74 61 6c |ou to mi|ss vital|
|00001ad0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 72 65 73 | informa|tion res|
|00001ae0| 75 6c 74 69 6e 67 20 69 | 6e 20 79 6f 75 72 20 63 |ulting i|n your c|
|00001af0| 6f 6d 70 75 74 65 72 20 | 65 78 70 6c 6f 64 69 6e |omputer |explodin|
|00001b00| 67 2e 20 59 6f 75 20 77 | 6f 75 6c 64 6e 27 74 20 |g. You w|ouldn't |
|00001b10| 77 61 6e 74 20 74 68 61 | 74 20 74 6f 20 68 61 70 |want tha|t to hap|
|00001b20| 70 65 6e 20 6e 6f 77 20 | 77 6f 75 6c 64 20 79 6f |pen now |would yo|
|00001b30| 75 3f 20 54 68 69 73 20 | 74 75 74 6f 72 69 61 6c |u? This |tutorial|
|00001b40| 20 69 73 20 69 6e 74 65 | 6e 64 65 64 20 66 6f 72 | is inte|nded for|
|00001b50| 20 56 69 73 75 61 6c 20 | 42 61 73 69 63 20 36 20 | Visual |Basic 6 |
|00001b60| 62 75 74 20 73 68 6f 75 | 6c 64 20 62 65 20 4f 4b |but shou|ld be OK|
|00001b70| 20 69 6e 20 76 65 72 73 | 69 6f 6e 20 35 2e 20 43 | in vers|ion 5. C|
|00001b80| 6c 69 63 6b 20 22 4e 45 | 58 54 22 20 74 6f 20 63 |lick "NE|XT" to c|
|00001b90| 6f 6e 74 69 6e 75 65 2e | 20 42 79 20 74 68 65 20 |ontinue.| By the |
|00001ba0| 77 61 79 2c 20 54 2e 4f | 2e 43 2e 20 73 74 61 6e |way, T.O|.C. stan|
|00001bb0| 64 73 20 66 6f 72 20 74 | 61 62 6c 65 20 6f 66 20 |ds for t|able of |
|00001bc0| 63 6f 6e 74 65 6e 74 73 | 2e 00 00 60 01 00 00 db |contents|...`....|
|00001bd0| 00 00 00 69 45 00 00 52 | 48 00 00 85 00 00 00 20 |...iE..R|H...... |
|00001be0| d8 80 c1 01 00 80 00 00 | 00 0a 82 48 80 08 00 82 |........|...H....|
|00001bf0| 82 82 82 e3 de db ea 41 | 80 04 00 86 22 08 80 02 |.......A|...."...|
|00001c00| 00 00 04 00 89 e3 de db | ea 41 86 22 08 80 02 00 |........|.A."....|
|00001c10| 00 05 00 89 e3 df db ea | 41 86 22 08 80 02 00 00 |........|A.".....|
|00001c20| 02 00 89 80 03 00 82 80 | 00 00 86 22 08 80 02 00 |........|..."....|
|00001c30| 00 01 00 82 82 80 05 00 | 82 80 06 00 82 80 07 00 |........|........|
|00001c40| 82 82 80 00 00 86 22 08 | 80 02 00 00 01 00 82 ff |......".|........|
|00001c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c60| 00 00 00 00 00 00 4d 69 | 63 61 68 20 43 61 72 72 |......Mi|cah Carr|
|00001c70| 69 63 6b 27 73 20 56 69 | 73 75 61 6c 20 42 61 73 |ick's Vi|sual Bas|
|00001c80| 69 63 20 53 63 72 65 65 | 6e 20 53 61 76 65 72 73 |ic Scree|n Savers|
|00001c90| 20 54 75 74 6f 72 69 61 | 6c 20 56 65 72 73 69 6f | Tutoria|l Versio|
|00001ca0| 6e 20 31 2e 31 20 00 00 | a9 20 31 39 39 39 20 4d |n 1.1 ..|. 1999 M|
|00001cb0| 69 63 61 68 20 43 61 72 | 72 69 63 6b 20 2d 20 6d |icah Car|rick - m|
|00001cc0| 69 63 61 68 40 63 61 72 | 72 69 63 6b 2e 63 6f 6d |icah@car|rick.com|
|00001cd0| 20 2d 20 68 74 74 70 3a | 2f 2f 6d 69 63 61 68 2e | - http:|//micah.|
|00001ce0| 63 61 72 72 69 63 6b 2e | 63 6f 6d 00 00 46 69 6e |carrick.|com..Fin|
|00001cf0| 64 20 74 68 69 73 20 74 | 75 74 6f 72 69 61 6c 20 |d this t|utorial |
|00001d00| 69 6e 20 48 54 4d 4c 20 | 66 6f 72 6d 20 61 74 20 |in HTML |form at |
|00001d10| 77 77 77 2e 63 6f 6d 70 | 75 74 65 72 67 65 65 6b |www.comp|utergeek|
|00001d20| 7a 2e 6e 65 74 00 00 00 | 00 00 00 5c 00 00 00 2b |z.net...|...\...+|
|00001d30| 00 00 00 f2 46 00 00 ae | 48 00 00 31 00 00 00 02 |....F...|H..1....|
|00001d40| 41 1b 00 00 ff ff ff ff | ff ff ff ff 03 00 00 00 |A.......|........|
|00001d50| ff ff ff ff ae 48 00 00 | ab c3 00 00 43 68 61 70 |.....H..|....Chap|
|00001d60| 74 65 72 20 54 77 6f 20 | 2d 20 41 74 74 61 63 68 |ter Two |- Attach|
|00001d70| 69 6e 67 20 74 68 65 20 | 46 6f 75 6e 64 61 74 69 |ing the |Foundati|
|00001d80| 6f 6e 20 43 6f 64 65 74 | 00 00 00 35 00 00 00 52 |on Codet|...5...R|
|00001d90| 48 00 00 22 49 00 00 3f | 00 00 00 20 4e 80 6e 00 |H.."I..?|... N.n.|
|00001da0| 80 00 00 00 0a 82 48 80 | 00 00 86 22 08 80 02 00 |......H.|..."....|
|00001db0| 00 00 00 82 82 86 22 08 | 80 02 00 00 01 00 82 82 |......".|........|
|00001dc0| 80 01 00 82 82 ff 00 00 | 00 00 00 00 00 00 43 68 |........|......Ch|
|00001dd0| 61 70 74 65 72 20 54 77 | 6f 20 2d 20 41 74 74 61 |apter Tw|o - Atta|
|00001de0| 63 68 69 6e 67 20 43 6f | 64 65 20 74 6f 20 74 68 |ching Co|de to th|
|00001df0| 65 20 4d 6f 64 75 6c 65 | 00 00 00 0c 02 00 00 d4 |e Module|........|
|00001e00| 01 00 00 ae 48 00 00 2e | 4b 00 00 38 00 00 00 20 |....H...|K..8... |
|00001e10| 3e 80 a9 03 00 80 00 00 | 00 02 82 48 80 08 00 83 |>.......|...H....|
|00001e20| 82 82 80 0b 00 82 82 82 | 80 0c 00 80 0d 00 80 0e |........|........|
|00001e30| 00 82 ff 00 00 57 65 27 | 72 65 20 67 6f 69 6e 67 |.....We'|re going|
|00001e40| 20 74 6f 20 73 74 61 72 | 74 20 62 79 20 61 64 64 | to star|t by add|
|00001e50| 69 6e 67 20 73 6f 6d 65 | 20 63 6f 64 65 20 74 6f |ing some| code to|
|00001e60| 20 74 68 65 20 6d 6f 64 | 75 6c 65 2e 20 53 6f 2c | the mod|ule. So,|
|00001e70| 20 66 69 72 73 74 20 74 | 68 69 6e 67 73 20 66 69 | first t|hings fi|
|00001e80| 72 73 74 2c 20 6f 75 72 | 20 64 65 63 6c 61 72 61 |rst, our| declara|
|00001e90| 74 69 6f 6e 73 2e 20 49 | 6e 20 74 68 65 20 47 65 |tions. I|n the Ge|
|00001ea0| 6e 65 72 61 6c 20 44 65 | 63 6c 61 72 61 74 69 6f |neral De|claratio|
|00001eb0| 6e 73 20 73 65 63 74 69 | 6f 6e 20 6f 66 20 6f 75 |ns secti|on of ou|
|00001ec0| 72 20 6d 6f 64 75 6c 65 | 2c 20 77 65 20 70 75 74 |r module|, we put|
|00001ed0| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 63 | the fol|lowing c|
|00001ee0| 6f 64 65 3a 20 00 00 00 | 2a 4e 6f 74 65 3a 20 49 |ode: ...|*Note: I|
|00001ef0| 66 20 74 68 69 73 20 77 | 69 6e 64 6f 77 20 69 73 |f this w|indow is|
|00001f00| 20 72 65 73 69 7a 65 64 | 20 73 6d 61 6c 6c 65 72 | resized| smaller|
|00001f10| 20 74 68 61 6e 20 77 68 | 65 6e 20 69 74 20 69 73 | than wh|en it is|
|00001f20| 20 66 69 72 73 74 20 6f | 70 65 6e 65 64 2c 20 74 | first o|pened, t|
|00001f30| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 63 6f 64 |he follo|wing cod|
|00001f40| 65 20 77 69 6c 6c 20 62 | 65 20 77 6f 72 64 20 77 |e will b|e word w|
|00001f50| 72 61 70 70 65 64 20 61 | 6e 64 20 74 68 65 72 65 |rapped a|nd there|
|00001f60| 66 6f 72 65 20 72 75 69 | 6e 20 69 74 27 73 20 66 |fore rui|n it's f|
|00001f70| 6f 72 6d 61 74 74 69 6e | 67 2e 20 42 75 74 20 69 |ormattin|g. But i|
|00001f80| 66 20 79 6f 75 20 63 6f | 70 79 20 61 6e 64 20 70 |f you co|py and p|
|00001f90| 61 73 74 65 20 69 74 20 | 69 6e 74 6f 20 79 6f 75 |aste it |into you|
|00001fa0| 72 20 63 6f 64 65 20 69 | 74 27 73 20 66 6f 72 6d |r code i|t's form|
|00001fb0| 61 74 74 69 6e 67 20 73 | 68 6f 75 6c 64 20 73 74 |atting s|hould st|
|00001fc0| 69 6c 6c 20 62 65 20 69 | 6e 20 74 61 63 74 2e 20 |ill be i|n tact. |
|00001fd0| 00 00 00 00 4f 70 74 69 | 6f 6e 20 45 78 70 6c 69 |....Opti|on Expli|
|00001fe0| 63 69 74 00 20 00 27 41 | 6c 6c 20 76 61 72 69 61 |cit. .'A|ll varia|
|00001ff0| 62 6c 65 73 20 6d 75 73 | 74 20 62 65 20 64 65 63 |bles mus|t be dec|
|00002000| 6c 61 72 65 64 00 00 34 | 02 00 00 c0 01 00 00 22 |lared..4|......."|
|00002010| 49 00 00 62 4d 00 00 74 | 00 00 00 20 b6 80 81 03 |I..bM..t|... ....|
|00002020| 00 80 00 00 00 02 82 48 | 80 0e 00 82 82 82 80 0c |.......H|........|
|00002030| 00 80 0d 00 80 0c 00 80 | 0d 00 80 0c 00 80 0d 00 |........|........|
|00002040| 82 80 0c 00 80 0d 00 80 | 0c 00 82 82 80 0e 00 82 |........|........|
|00002050| 82 80 0c 00 80 0d 00 80 | 0c 00 80 0d 00 80 0c 00 |........|........|
|00002060| 80 0d 00 82 80 0c 00 80 | 0d 00 80 0c 00 80 0d 00 |........|........|
|00002070| 80 0c 00 80 0d 00 80 0c | 00 82 ff 00 00 27 46 75 |........|.....'Fu|
|00002080| 6e 63 74 69 6f 6e 20 53 | 68 6f 77 43 75 72 73 6f |nction S|howCurso|
|00002090| 72 20 75 73 65 64 20 74 | 6f 20 68 69 64 65 20 74 |r used t|o hide t|
|000020a0| 68 65 20 63 75 72 73 6f | 72 20 64 75 72 69 6e 67 |he curso|r during|
|000020b0| 20 74 68 65 00 27 73 63 | 72 65 65 6e 20 73 61 76 | the.'sc|reen sav|
|000020c0| 65 72 27 73 20 72 75 6e | 74 69 6d 65 2c 20 61 6e |er's run|time, an|
|000020d0| 64 20 74 68 65 6e 20 65 | 6e 61 62 6c 65 20 69 74 |d then e|nable it|
|000020e0| 20 75 70 6f 6e 20 65 6e | 64 69 6e 67 00 00 44 65 | upon en|ding..De|
|000020f0| 63 6c 61 72 65 20 46 75 | 6e 63 74 69 6f 6e 00 20 |clare Fu|nction. |
|00002100| 53 68 6f 77 43 75 72 73 | 6f 72 20 00 4c 69 62 00 |ShowCurs|or .Lib.|
|00002110| 20 22 75 73 65 72 33 32 | 22 20 28 00 42 79 56 61 | "user32|" (.ByVa|
|00002120| 6c 00 20 62 53 68 6f 77 | 20 5f 00 00 41 73 20 4c |l. bShow| _..As L|
|00002130| 6f 6e 67 00 29 00 20 41 | 73 20 4c 6f 6e 67 00 00 |ong.). A|s Long..|
|00002140| 00 27 46 75 6e 63 74 69 | 6f 6e 20 46 69 6e 64 57 |.'Functi|on FindW|
|00002150| 69 6e 64 6f 77 20 75 73 | 65 64 20 69 6e 20 64 65 |indow us|ed in de|
|00002160| 74 65 72 6d 69 6e 69 6e | 67 20 77 68 65 74 68 65 |terminin|g whethe|
|00002170| 72 20 6f 72 20 6e 6f 74 | 00 27 61 6e 6f 74 68 65 |r or not|.'anothe|
|00002180| 72 20 69 6e 73 74 61 6e | 63 65 20 6f 66 20 74 68 |r instan|ce of th|
|00002190| 65 20 73 63 72 65 65 6e | 20 73 61 76 65 72 20 69 |e screen| saver i|
|000021a0| 73 20 72 75 6e 6e 69 6e | 67 00 00 44 65 63 6c 61 |s runnin|g..Decla|
|000021b0| 72 65 20 46 75 6e 63 74 | 69 6f 6e 00 20 46 69 6e |re Funct|ion. Fin|
|000021c0| 64 57 69 6e 64 6f 77 20 | 00 4c 69 62 00 20 22 75 |dWindow |.Lib. "u|
|000021d0| 73 65 72 33 32 22 20 00 | 41 6c 69 61 73 00 20 22 |ser32" .|Alias. "|
|000021e0| 46 69 6e 64 57 69 6e 64 | 6f 77 41 22 20 5f 00 28 |FindWind|owA" _.(|
|000021f0| 00 42 79 56 61 6c 00 20 | 6c 70 43 6c 61 73 73 4e |.ByVal. |lpClassN|
|00002200| 61 6d 65 20 00 41 73 20 | 53 74 72 69 6e 67 2c 20 |ame .As |String, |
|00002210| 42 79 56 61 6c 00 20 6c | 70 57 69 6e 64 6f 77 4e |ByVal. l|pWindowN|
|00002220| 61 6d 65 20 00 41 73 20 | 53 74 72 69 6e 67 00 29 |ame .As |String.)|
|00002230| 00 20 41 73 20 4c 6f 6e | 67 00 00 43 02 00 00 0a |. As Lon|g..C....|
|00002240| 02 00 00 2e 4b 00 00 a5 | 4f 00 00 39 00 00 00 20 |....K...|O..9... |
|00002250| 40 80 15 04 00 80 00 00 | 00 02 82 48 80 0c 00 82 |@.......|...H....|
|00002260| 80 0e 00 82 80 0c 00 82 | 80 0d 00 82 82 82 80 08 |........|........|
|00002270| 00 83 82 ff 00 00 00 27 | 43 6f 6e 73 74 61 6e 74 |.......'|Constant|
|00002280| 73 00 00 50 75 62 6c 69 | 63 20 43 6f 6e 73 74 20 |s..Publi|c Const |
|00002290| 53 57 5f 53 48 4f 57 4e | 4f 52 4d 41 4c 20 3d 20 |SW_SHOWN|ORMAL = |
|000022a0| 31 00 50 72 69 76 61 74 | 65 20 43 6f 6e 73 74 00 |1.Privat|e Const.|
|000022b0| 20 41 50 50 5f 4e 41 4d | 45 20 3d 20 22 53 61 76 | APP_NAM|E = "Sav|
|000022c0| 65 72 22 00 00 00 00 00 | 54 68 61 74 27 73 20 61 |er".....|That's a|
|000022d0| 6c 6c 20 77 65 20 6e 65 | 65 64 20 66 6f 72 20 74 |ll we ne|ed for t|
|000022e0| 68 65 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 73 20 |he decla|rations |
|000022f0| 66 6f 72 20 6e 6f 77 2e | 20 54 68 65 20 63 6f 6d |for now.| The com|
|00002300| 6d 65 6e 74 73 20 65 78 | 70 6c 61 69 6e 69 6e 67 |ments ex|plaining|
|00002310| 20 74 68 65 20 70 75 72 | 70 6f 73 65 20 6f 66 20 | the pur|pose of |
|00002320| 65 61 63 68 2e 20 49 20 | 66 6f 75 6e 64 20 74 68 |each. I |found th|
|00002330| 61 74 20 6d 61 6b 69 6e | 67 20 73 75 72 65 20 74 |at makin|g sure t|
|00002340| 68 65 72 65 20 61 72 65 | 20 6e 6f 20 6f 74 68 65 |here are| no othe|
|00002350| 72 20 69 6e 73 74 61 6e | 63 65 73 20 6f 66 20 74 |r instan|ces of t|
|00002360| 68 65 20 73 61 76 65 72 | 20 72 75 6e 6e 69 6e 67 |he saver| running|
|00002370| 20 69 73 20 76 65 72 79 | 20 69 6d 70 6f 72 74 61 | is very| importa|
|00002380| 6e 74 2e 20 49 74 20 73 | 65 65 6d 73 20 74 68 61 |nt. It s|eems tha|
|00002390| 74 20 75 6e 64 65 72 20 | 63 65 72 74 61 69 6e 20 |t under |certain |
|000023a0| 63 69 72 63 75 6d 73 74 | 61 6e 63 65 73 2c 20 77 |circumst|ances, w|
|000023b0| 69 6e 64 6f 77 73 20 77 | 69 6c 6c 20 72 75 6e 20 |indows w|ill run |
|000023c0| 61 6e 6f 74 68 65 72 20 | 69 6e 73 74 61 6e 63 65 |another |instance|
|000023d0| 20 6f 66 20 74 68 65 20 | 73 63 72 65 65 6e 20 73 | of the |screen s|
|000023e0| 61 76 65 72 20 65 76 65 | 72 79 20 78 20 6d 69 6e |aver eve|ry x min|
|000023f0| 75 74 65 73 20 77 68 65 | 72 65 20 78 20 69 73 20 |utes whe|re x is |
|00002400| 74 68 65 20 74 69 6d 65 | 20 73 70 65 63 69 66 69 |the time| specifi|
|00002410| 65 64 20 69 6e 20 74 68 | 65 20 73 63 72 65 65 6e |ed in th|e screen|
|00002420| 20 73 61 76 65 72 20 74 | 61 62 20 6f 66 20 64 65 | saver t|ab of de|
|00002430| 73 6b 74 6f 70 20 70 72 | 6f 70 65 72 74 69 65 73 |sktop pr|operties|
|00002440| 2e 20 53 6f 20 69 74 27 | 73 20 75 70 20 74 6f 20 |. So it'|s up to |
|00002450| 74 68 65 20 73 63 72 65 | 65 6e 20 73 61 76 65 72 |the scre|en saver|
|00002460| 20 74 6f 20 6f 6e 6c 79 | 20 61 6c 6c 6f 77 20 6f | to only| allow o|
|00002470| 6e 65 20 69 6e 73 74 61 | 6e 63 65 2e 00 00 3a 02 |ne insta|nce...:.|
|00002480| 00 00 03 02 00 00 62 4d | 00 00 eb 81 00 00 37 00 |......bM|......7.|
|00002490| 00 00 20 3c 80 07 04 00 | 80 00 00 00 02 82 48 80 |.. <....|......H.|
|000024a0| 08 00 82 83 82 82 82 80 | 0c 00 80 0d 00 82 80 0e |........|........|
|000024b0| 00 82 82 82 ff 00 00 00 | 4e 65 78 74 2c 20 69 73 |........|Next, is|
|000024c0| 20 74 68 65 20 63 6f 64 | 65 20 66 6f 72 20 22 53 | the cod|e for "S|
|000024d0| 75 62 20 4d 61 69 6e 28 | 29 a5 4f 00 00 eb 81 00 |ub Main(|).O.....|
|000024e0| 00 52 48 00 00 22 2c 20 | 77 68 69 63 68 2c 20 69 |.RH..", |which, i|
|000024f0| 66 20 79 6f 75 20 72 65 | 6d 65 6d 62 65 72 20 66 |f you re|member f|
|00002500| 72 6f 6d 20 74 68 65 20 | 6c 61 73 74 20 63 68 61 |rom the |last cha|
|00002510| 70 74 65 72 2c 20 69 73 | 20 77 68 61 74 20 69 73 |pter, is| what is|
|00002520| 20 73 74 61 72 74 65 64 | 20 66 69 72 73 74 2e 20 | started| first. |
|00002530| 44 65 70 65 6e 64 69 6e | 67 20 6f 6e 20 68 6f 77 |Dependin|g on how|
|00002540| 20 74 68 65 20 73 63 72 | 65 65 6e 20 73 61 76 65 | the scr|een save|
|00002550| 72 20 69 73 20 63 61 6c | 6c 65 64 2c 20 74 68 65 |r is cal|led, the|
|00002560| 72 65 20 61 72 65 20 73 | 65 76 65 72 61 6c 20 70 |re are s|everal p|
|00002570| 61 72 61 6d 65 74 65 72 | 73 20 77 68 69 63 68 20 |arameter|s which |
|00002580| 6d 61 79 20 62 65 20 70 | 61 73 73 65 64 20 74 6f |may be p|assed to|
|00002590| 20 74 68 65 20 73 63 72 | 65 65 6e 20 73 61 76 65 | the scr|een save|
|000025a0| 72 20 69 6e 20 6f 72 64 | 65 72 20 74 6f 20 73 70 |r in ord|er to sp|
|000025b0| 65 63 69 66 79 20 63 6f | 6e 66 69 67 75 72 61 74 |ecify co|nfigurat|
|000025c0| 69 6f 6e 2c 20 70 72 65 | 76 69 65 77 2c 20 6f 72 |ion, pre|view, or|
|000025d0| 20 6e 6f 72 6d 61 6c 20 | 73 63 72 65 65 6e 20 73 | normal |screen s|
|000025e0| 61 76 65 72 20 6d 6f 64 | 65 73 2e 20 48 65 72 65 |aver mod|es. Here|
|000025f0| 27 73 20 74 68 65 20 63 | 6f 64 65 20 66 6f 72 20 |'s the c|ode for |
|00002600| 22 53 75 62 20 4d 61 69 | 6e 28 29 22 3a 00 00 00 |"Sub Mai|n()":...|
|00002610| 00 53 75 62 00 20 4d 61 | 69 6e 28 29 00 00 27 2d |.Sub. Ma|in()..'-|
|00002620| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002630| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002640| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002650| 2d 2d 2d 2d 00 27 2d 2d | 2d 20 54 68 65 20 73 63 |----.'--|- The sc|
|00002660| 72 65 65 6e 20 73 61 76 | 65 72 20 69 73 20 63 61 |reen sav|er is ca|
|00002670| 6c 6c 65 64 20 6f 6e 65 | 20 77 61 79 20 6f 72 20 |lled one| way or |
|00002680| 61 6e 6f 74 68 65 72 20 | 2d 2d 2d 00 27 2d 2d 2d |another |---.'---|
|00002690| 20 61 6e 64 20 74 68 69 | 73 20 53 75 62 20 69 73 | and thi|s Sub is|
|000026a0| 20 63 61 6c 6c 65 64 20 | 66 69 72 73 74 2e 20 4d | called |first. M|
|000026b0| 75 73 74 20 64 65 74 65 | 72 6d 69 6e 65 20 20 2d |ust dete|rmine -|
|000026c0| 2d 2d 00 00 2e 02 00 00 | ce 01 00 00 a5 4f 00 00 |--......|.....O..|
|000026d0| 19 84 00 00 60 00 00 00 | 20 8e 80 9d 03 00 80 00 |....`...| .......|
|000026e0| 00 00 02 82 48 80 0e 00 | 82 82 82 82 80 0d 00 80 |....H...|........|
|000026f0| 0c 00 80 0d 00 82 82 80 | 0c 00 80 0d 00 80 0e 00 |........|........|
|00002700| 82 80 0d 00 82 82 80 0c | 00 80 0d 00 80 0e 00 82 |........|........|
|00002710| 80 0d 00 82 82 80 0c 00 | 80 0d 00 80 0e 00 82 80 |........|........|
|00002720| 0d 00 82 ff 00 27 2d 2d | 2d 20 77 68 61 74 20 6d |.....'--|- what m|
|00002730| 6f 64 65 20 73 63 72 65 | 65 6e 20 73 61 76 65 72 |ode scre|en saver|
|00002740| 20 69 73 20 69 6e 74 65 | 6e 64 65 64 20 74 6f 20 | is inte|nded to |
|00002750| 6d 65 20 72 75 6e 20 20 | 2d 2d 2d 00 27 2d 2d 2d |me run |---.'---|
|00002760| 20 61 6e 64 20 72 65 2d | 64 69 72 65 63 74 20 61 | and re-|direct a|
|00002770| 63 63 6f 72 64 69 6e 67 | 6c 79 2e 20 20 20 20 20 |ccording|ly. |
|00002780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2d | | -|
|00002790| 2d 2d 00 27 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--.'----|--------|
|000027a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000027b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000027c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 00 00 00 20 20 00 53 |--------|-... .S|
|000027d0| 65 6c 65 63 74 20 43 61 | 73 65 00 20 4d 69 64 28 |elect Ca|se. Mid(|
|000027e0| 55 43 61 73 65 24 28 54 | 72 69 6d 24 28 43 6f 6d |UCase$(T|rim$(Com|
|000027f0| 6d 61 6e 64 24 29 29 2c | 20 31 2c 20 32 29 00 20 |mand$)),| 1, 2). |
|00002800| 20 00 20 20 20 20 00 43 | 61 73 65 00 20 22 2f 43 | . .C|ase. "/C|
|00002810| 22 20 00 27 43 6f 6e 66 | 69 67 75 72 61 74 69 6f |" .'Conf|iguratio|
|00002820| 6e 73 20 6d 6f 64 65 20 | 63 61 6c 6c 65 64 00 00 |ns mode |called..|
|00002830| 20 20 20 20 20 20 66 72 | 6d 43 6f 6e 66 69 67 2e | fr|mConfig.|
|00002840| 53 68 6f 77 00 20 20 20 | 20 20 20 00 20 20 20 20 |Show. | . |
|00002850| 00 43 61 73 65 00 20 22 | 22 2c 20 22 2f 53 22 20 |.Case. "|", "/S" |
|00002860| 00 27 53 63 72 65 65 6e | 73 61 76 65 72 20 6d 6f |.'Screen|saver mo|
|00002870| 64 65 00 00 20 20 20 20 | 20 20 72 75 6e 53 63 72 |de.. | runScr|
|00002880| 65 65 6e 73 61 76 65 72 | 00 20 20 20 20 00 20 20 |eensaver|. . |
|00002890| 20 20 00 43 61 73 65 00 | 20 22 2f 41 22 20 00 27 | .Case.| "/A" .'|
|000028a0| 50 61 73 73 77 6f 72 64 | 20 70 72 6f 74 65 63 74 |Password| protect|
|000028b0| 20 64 69 61 6c 6f 67 00 | 00 20 20 20 20 20 20 4d | dialog.|. M|
|000028c0| 73 67 42 6f 78 20 22 50 | 61 73 73 77 6f 72 64 20 |sgBox "P|assword |
|000028d0| 50 72 6f 74 65 63 74 69 | 6f 6e 20 6e 6f 74 20 61 |Protecti|on not a|
|000028e0| 76 61 69 6c 61 62 6c 65 | 20 77 69 74 68 22 20 5f |vailable| with" _|
|000028f0| 00 00 5c 02 00 00 1f 02 | 00 00 eb 81 00 00 75 86 |..\.....|......u.|
|00002900| 00 00 3d 00 00 00 20 48 | 80 3f 04 00 80 00 00 00 |..=... H|.?......|
|00002910| 02 82 48 80 0d 00 82 82 | 80 0c 00 80 0d 00 82 82 |..H.....|........|
|00002920| 82 80 0c 00 82 82 82 82 | 80 08 00 83 82 82 ff 00 |........|........|
|00002930| 20 20 20 20 20 20 26 20 | 22 20 74 68 69 73 20 73 | & |" this s|
|00002940| 63 72 65 65 6e 20 73 61 | 76 65 72 22 2c 20 76 62 |creen sa|ver", vb|
|00002950| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 2c 20 22 45 72 |Informat|ion, "Er|
|00002960| 72 6f 72 22 00 20 20 00 | 20 20 20 20 00 43 61 73 |ror". .| .Cas|
|00002970| 65 00 20 22 2f 50 22 20 | 27 50 72 65 76 69 65 77 |e. "/P" |'Preview|
|00002980| 20 6d 6f 64 65 00 20 20 | 20 20 20 20 45 6e 64 00 | mode. | End.|
|00002990| 20 20 20 20 20 20 00 20 | 20 00 45 6e 64 20 53 65 | . | .End Se|
|000029a0| 6c 65 63 74 00 45 6e 64 | 20 53 75 62 00 00 00 00 |lect.End| Sub....|
|000029b0| 00 41 73 20 79 6f 75 20 | 63 61 6e 20 73 65 65 2c |.As you |can see,|
|000029c0| 20 74 68 65 72 65 20 61 | 72 65 20 73 65 76 65 72 | there a|re sever|
|000029d0| 61 6c 20 70 61 72 61 6d | 65 74 65 72 73 20 2e 2e |al param|eters ..|
|000029e0| 2e 20 70 72 65 74 74 79 | 20 6d 75 63 68 20 73 65 |. pretty| much se|
|000029f0| 6c 66 20 65 78 70 6c 61 | 6e 61 74 6f 72 79 2e 20 |lf expla|natory. |
|00002a00| 54 68 65 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |The conf|iguratio|
|00002a10| 6e 20 69 73 00 77 68 61 | 74 20 79 6f 75 20 73 65 |n is.wha|t you se|
|00002a20| 65 20 77 68 65 6e 20 79 | 6f 75 20 63 6c 69 63 6b |e when y|ou click|
|00002a30| 20 74 68 65 20 22 53 65 | 74 74 69 6e 67 73 22 20 | the "Se|ttings" |
|00002a40| 62 75 74 74 6f 6e 20 69 | 6e 20 74 68 65 20 73 63 |button i|n the sc|
|00002a50| 72 65 65 6e 20 73 61 76 | 65 72 20 74 61 62 20 6f |reen sav|er tab o|
|00002a60| 72 20 64 65 73 6b 74 6f | 70 20 70 72 6f 70 65 72 |r deskto|p proper|
|00002a70| 74 69 65 73 2e 20 53 6f | 20 77 69 74 68 20 74 68 |ties. So| with th|
|00002a80| 65 20 22 2f 43 22 20 70 | 61 72 61 6d 65 74 65 72 |e "/C" p|arameter|
|00002a90| 2c 20 77 65 20 73 68 6f | 77 20 61 20 63 6f 6e 66 |, we sho|w a conf|
|00002aa0| 69 67 75 72 61 74 69 6f | 6e 20 66 6f 72 6d 20 2e |iguratio|n form .|
|00002ab0| 2e 2e 20 22 66 72 6d 43 | 6f 6e 66 69 67 22 2e 20 |.. "frmC|onfig". |
|00002ac0| 54 68 65 20 22 22 20 28 | 6e 6f 20 70 61 72 61 6d |The "" (|no param|
|00002ad0| 65 74 65 72 73 29 20 61 | 6e 64 20 22 2f 53 22 20 |eters) a|nd "/S" |
|00002ae0| 70 61 72 61 6d 65 74 65 | 72 73 20 61 72 65 20 74 |paramete|rs are t|
|00002af0| 68 65 20 6d 61 69 6e 20 | 73 63 72 65 65 6e 20 73 |he main |screen s|
|00002b00| 61 76 65 72 20 69 74 73 | 65 6c 66 2e 20 53 6f 20 |aver its|elf. So |
|00002b10| 77 65 27 6c 6c 20 63 61 | 6c 6c 20 74 68 65 20 73 |we'll ca|ll the s|
|00002b20| 75 62 20 72 75 6e 53 63 | 72 65 65 6e 73 61 76 65 |ub runSc|reensave|
|00002b30| 72 20 77 68 69 63 68 20 | 77 65 27 6c 6c 20 67 6f |r which |we'll go|
|00002b40| 20 69 6e 74 6f 20 6e 65 | 78 74 2e 20 00 00 59 02 | into ne|xt. ..Y.|
|00002b50| 00 00 31 02 00 00 19 84 | 00 00 ce 88 00 00 28 00 |..1.....|......(.|
|00002b60| 00 00 20 1e 80 63 04 00 | 80 00 00 00 02 82 48 80 |.. ..c..|......H.|
|00002b70| 08 00 82 83 82 ff 00 00 | 00 54 68 65 20 72 65 61 |........|.The rea|
|00002b80| 73 6f 6e 20 74 68 65 20 | 22 2f 50 22 20 70 61 72 |son the |"/P" par|
|00002b90| 61 6d 65 74 65 72 2c 20 | 70 72 65 76 69 65 77 2c |ameter, |preview,|
|00002ba0| 20 20 65 6e 64 73 20 69 | 73 20 62 65 63 61 75 73 | ends i|s becaus|
|00002bb0| 65 20 74 68 65 20 70 72 | 65 76 69 65 77 20 69 73 |e the pr|eview is|
|00002bc0| 20 77 69 74 68 69 6e 20 | 74 68 65 20 6c 69 74 74 | within |the litt|
|00002bd0| 6c 65 20 6d 6f 6e 69 74 | 6f 72 20 73 69 6d 75 6c |le monit|or simul|
|00002be0| 61 74 69 6f 6e 20 67 72 | 61 70 68 69 63 20 6f 66 |ation gr|aphic of|
|00002bf0| 20 74 68 65 20 64 65 73 | 6b 74 6f 70 20 70 72 6f | the des|ktop pro|
|00002c00| 70 65 72 74 69 65 73 2c | 20 61 6e 64 20 72 65 71 |perties,| and req|
|00002c10| 75 69 72 65 73 20 61 20 | 67 72 65 61 74 20 64 65 |uires a |great de|
|00002c20| 61 6c 20 6f 66 20 63 6f | 64 65 20 61 6e 64 20 64 |al of co|de and d|
|00002c30| 65 63 6c 61 72 61 74 69 | 6f 6e 73 20 74 6f 20 67 |eclarati|ons to g|
|00002c40| 65 74 20 74 6f 20 66 75 | 6e 63 74 69 6f 6e 69 6e |et to fu|nctionin|
|00002c50| 67 20 63 6f 72 72 65 63 | 74 6c 79 2e 20 48 61 76 |g correc|tly. Hav|
|00002c60| 69 6e 67 20 22 45 6e 64 | 22 20 6a 75 73 74 20 6b |ing "End|" just k|
|00002c70| 65 65 70 73 20 69 74 20 | 62 6c 61 6e 6b 2e 20 74 |eeps it |blank. t|
|00002c80| 68 65 20 73 63 72 65 65 | 6e 73 61 76 65 72 20 69 |he scree|nsaver i|
|00002c90| 73 20 63 61 6c 6c 65 64 | 20 77 69 74 68 20 74 68 |s called| with th|
|00002ca0| 65 20 22 2f 50 22 20 70 | 61 72 61 6d 65 74 65 72 |e "/P" p|arameter|
|00002cb0| 20 77 68 65 6e 20 69 74 | 20 69 73 20 73 65 6c 65 | when it| is sele|
|00002cc0| 63 74 65 64 20 66 72 6f | 6d 20 74 68 65 20 64 72 |cted fro|m the dr|
|00002cd0| 6f 70 64 6f 77 6e 20 63 | 6f 6d 62 6f 20 62 6f 78 |opdown c|ombo box|
|00002ce0| 2c 20 77 68 65 6e 20 74 | 68 65 20 6d 61 69 6e 20 |, when t|he main |
|00002cf0| 73 63 72 65 65 6e 20 73 | 61 76 65 72 20 69 73 20 |screen s|aver is |
|00002d00| 66 69 6e 69 73 68 65 64 | 2c 20 61 6e 64 20 77 68 |finished|, and wh|
|00002d10| 65 6e 20 74 68 65 20 73 | 63 72 65 65 6e 20 73 61 |en the s|creen sa|
|00002d20| 76 65 72 27 73 20 63 6f | 6e 66 69 67 75 72 61 74 |ver's co|nfigurat|
|00002d30| 69 6f 6e 20 69 73 20 63 | 6c 6f 73 65 64 2c 20 73 |ion is c|losed, s|
|00002d40| 6f 20 64 6f 6e 27 74 20 | 63 6f 6e 66 75 73 65 20 |o don't |confuse |
|00002d50| 69 74 20 77 69 74 68 20 | 74 68 65 20 22 50 72 65 |it with |the "Pre|
|00002d60| 76 69 65 77 22 20 62 75 | 74 74 6f 6e 2e 20 54 68 |view" bu|tton. Th|
|00002d70| 65 20 22 50 72 65 76 69 | 65 77 22 20 62 75 74 74 |e "Previ|ew" butt|
|00002d80| 6f 6e 20 63 61 6c 6c 73 | 20 74 68 65 20 73 63 72 |on calls| the scr|
|00002d90| 65 65 6e 20 73 61 76 65 | 72 20 77 69 74 68 20 22 |een save|r with "|
|00002da0| 2f 53 22 2e 20 00 00 ea | 01 00 00 b6 01 00 00 75 |/S". ...|.......u|
|00002db0| 86 00 00 b8 8a 00 00 34 | 00 00 00 20 36 80 6d 03 |.......4|... 6.m.|
|00002dc0| 00 80 00 00 00 02 82 48 | 80 08 00 82 83 82 82 83 |.......H|........|
|00002dd0| 82 82 80 00 00 83 83 83 | 82 82 ff 00 00 00 54 68 |........|......Th|
|00002de0| 65 20 70 61 73 73 77 6f | 72 64 20 64 69 61 6c 6f |e passwo|rd dialo|
|00002df0| 67 2c 20 73 70 65 63 69 | 66 69 65 64 20 77 69 74 |g, speci|fied wit|
|00002e00| 68 20 74 68 65 20 22 2f | 41 22 20 70 61 72 61 6d |h the "/|A" param|
|00002e10| 65 74 65 72 20 69 73 20 | 6e 6f 74 20 75 73 65 64 |eter is |not used|
|00002e20| 20 6f 72 20 64 69 73 63 | 75 73 73 65 64 20 69 6e | or disc|ussed in|
|00002e30| 20 74 68 69 73 20 74 75 | 74 6f 72 69 61 6c 2c 20 | this tu|torial, |
|00002e40| 62 75 74 20 69 74 20 69 | 73 6e 27 74 20 68 61 72 |but it i|sn't har|
|00002e50| 64 20 74 6f 20 66 69 67 | 75 72 65 20 6f 75 74 20 |d to fig|ure out |
|00002e60| 6f 6e 20 79 6f 75 72 20 | 6f 77 6e 20 69 66 20 79 |on your |own if y|
|00002e70| 6f 75 27 72 65 20 69 6e | 74 65 72 65 73 74 65 64 |ou're in|terested|
|00002e80| 2e 00 00 00 59 6f 75 20 | 6d 61 79 20 68 61 76 65 |....You |may have|
|00002e90| 20 6e 6f 74 69 63 65 64 | 20 74 68 61 74 20 74 68 | noticed| that th|
|00002ea0| 65 20 63 61 73 65 20 77 | 69 74 68 20 22 2f 53 22 |e case w|ith "/S"|
|00002eb0| 20 28 52 75 6e 73 20 74 | 68 65 20 73 63 72 65 65 | (Runs t|he scree|
|00002ec0| 6e 73 61 76 65 72 29 20 | 61 6c 73 6f 20 69 6e 63 |nsaver) |also inc|
|00002ed0| 6c 75 64 65 73 20 22 22 | 2e 20 54 68 69 73 20 69 |ludes ""|. This i|
|00002ee0| 73 20 73 6f 20 79 6f 75 | 20 63 61 6e 20 70 72 65 |s so you| can pre|
|00002ef0| 76 69 65 77 20 74 68 65 | 20 73 63 72 65 65 6e 73 |view the| screens|
|00002f00| 61 76 65 72 20 77 69 74 | 68 69 6e 20 74 68 65 20 |aver wit|hin the |
|00002f10| 49 44 45 20 77 68 69 6c | 65 20 77 72 69 74 69 6e |IDE whil|e writin|
|00002f20| 67 20 74 68 65 20 73 63 | 72 65 65 6e 20 73 61 76 |g the sc|reen sav|
|00002f30| 65 72 2e 20 4f 72 2c 20 | 73 6f 6d 65 74 69 6d 65 |er. Or, |sometime|
|00002f40| 73 20 69 66 20 74 68 65 | 20 73 63 72 65 65 6e 20 |s if the| screen |
|00002f50| 73 61 76 65 72 20 69 73 | 20 72 75 6e 20 62 79 20 |saver is| run by |
|00002f60| 63 6c 69 63 6b 69 6e 67 | 20 69 74 20 69 6e 20 45 |clicking| it in E|
|00002f70| 78 70 6c 6f 72 65 72 20 | 6f 72 20 4d 79 20 43 6f |xplorer |or My Co|
|00002f80| 6d 70 75 74 65 72 2e 00 | 00 00 00 20 00 00 00 00 |mputer..|... ....|
|00002f90| 00 34 00 00 00 05 00 00 | 00 ce 88 00 00 ec 8a 00 |.4......|........|
|00002fa0| 00 2f 00 00 00 20 2e 80 | 0c 00 80 00 00 00 0a 82 |./... ..|........|
|00002fb0| 48 80 08 00 86 22 08 80 | 02 00 00 06 00 82 82 ff |H...."..|........|
|00002fc0| 00 00 00 00 00 25 02 00 | 00 eb 01 00 00 b8 8a 00 |.....%..|........|
|00002fd0| 00 11 8d 00 00 3a 00 00 | 00 20 42 80 d7 03 00 80 |.....:..|. B.....|
|00002fe0| 00 00 00 02 82 48 80 08 | 00 83 82 82 82 80 0c 00 |.....H..|........|
|00002ff0| 80 0d 00 80 0e 00 82 80 | 0d 00 80 0e 00 82 ff 00 |........|........|
|00003000| 00 57 68 65 6e 20 74 68 | 65 20 22 2f 53 22 20 6f |.When th|e "/S" o|
|00003010| 72 20 22 22 20 77 61 73 | 20 73 70 65 63 69 66 69 |r "" was| specifi|
|00003020| 65 64 20 69 6e 20 22 53 | 75 62 20 4d 61 69 6e 28 |ed in "S|ub Main(|
|00003030| 29 22 2c 20 61 6e 6f 74 | 68 65 72 20 73 75 62 2c |)", anot|her sub,|
|00003040| 20 22 72 75 6e 53 63 72 | 65 65 6e 73 61 76 65 72 | "runScr|eensaver|
|00003050| 22 20 77 61 73 20 63 61 | 6c 6c 65 64 2e 20 72 75 |" was ca|lled. ru|
|00003060| 6e 53 63 72 65 65 6e 73 | 61 76 65 72 20 66 69 72 |nScreens|aver fir|
|00003070| 73 74 20 63 61 6c 6c 73 | 20 79 65 74 20 61 6e 6f |st calls| yet ano|
|00003080| 74 68 65 72 20 73 75 62 | 2c 20 22 63 68 65 63 6b |ther sub|, "check|
|00003090| 49 6e 73 74 61 6e 63 65 | 22 20 74 6f 20 64 65 74 |Instance|" to det|
|000030a0| 65 72 6d 69 6e 65 20 77 | 68 65 74 68 65 72 20 61 |ermine w|hether a|
|000030b0| 6e 6f 74 68 65 72 20 69 | 6e 73 74 61 6e 63 65 20 |nother i|nstance |
|000030c0| 69 73 20 61 6c 72 65 61 | 64 79 20 72 75 6e 6e 69 |is alrea|dy runni|
|000030d0| 6e 67 2c 20 61 6e 64 20 | 74 68 65 6e 20 6c 6f 61 |ng, and |then loa|
|000030e0| 64 73 20 74 68 65 20 6d | 61 69 6e 20 66 6f 72 6d |ds the m|ain form|
|000030f0| 20 66 6f 72 20 74 68 65 | 20 73 63 72 65 65 6e 20 | for the| screen |
|00003100| 73 61 76 65 72 2e 20 48 | 65 72 65 27 73 20 74 68 |saver. H|ere's th|
|00003110| 65 20 63 6f 64 65 20 66 | 6f 72 20 53 75 62 20 72 |e code f|or Sub r|
|00003120| 75 6e 53 63 72 65 65 6e | 73 61 76 65 72 2c 20 61 |unScreen|saver, a|
|00003130| 6e 64 20 74 68 65 6e 20 | 74 68 65 20 73 75 62 20 |nd then |the sub |
|00003140| 22 63 68 65 63 6b 49 6e | 73 74 61 6e 63 65 22 20 |"checkIn|stance" |
|00003150| 77 68 69 63 68 20 69 73 | 20 63 61 6c 6c 65 64 20 |which is| called |
|00003160| 62 79 20 22 72 75 6e 53 | 63 72 65 65 6e 73 61 76 |by "runS|creensav|
|00003170| 65 72 22 3a 00 00 00 00 | 50 72 69 76 61 74 65 20 |er":....|Private |
|00003180| 53 75 62 00 20 72 75 6e | 53 63 72 65 65 6e 73 61 |Sub. run|Screensa|
|00003190| 76 65 72 28 29 20 00 27 | 52 75 6e 20 74 68 65 20 |ver() .'|Run the |
|000031a0| 73 63 72 65 65 6e 20 73 | 61 76 65 72 00 20 20 00 |screen s|aver. .|
|000031b0| 63 68 65 63 6b 49 6e 73 | 74 61 6e 63 65 00 20 27 |checkIns|tance. '|
|000031c0| 4d 61 6b 65 20 73 75 72 | 65 20 6e 6f 20 6f 74 68 |Make sur|e no oth|
|000031d0| 65 72 20 69 6e 73 74 61 | 6e 63 65 73 20 61 72 65 |er insta|nces are|
|000031e0| 20 72 75 6e 6e 69 6e 67 | 00 00 1b 02 00 00 ad 01 | running|........|
|000031f0| 00 00 ec 8a 00 00 2c 8f | 00 00 6e 00 00 00 20 aa |......,.|..n... .|
|00003200| 80 5b 03 00 80 00 00 00 | 02 82 48 80 0d 00 80 0c |.[......|..H.....|
|00003210| 00 80 0d 00 80 0e 00 82 | 80 0d 00 80 0e 00 82 80 |........|........|
|00003220| 0d 00 82 82 80 0c 00 82 | 82 82 80 0d 00 82 80 0e |........|........|
|00003230| 00 82 80 0d 00 80 0c 00 | 80 0d 00 80 0c 00 82 82 |........|........|
|00003240| 80 0d 00 80 0e 00 82 80 | 0d 00 80 0c 00 82 82 80 |........|........|
|00003250| 0d 00 80 0e 00 82 82 ff | 00 20 20 53 68 6f 77 43 |........|. ShowC|
|00003260| 75 72 73 6f 72 20 00 46 | 61 6c 73 65 00 20 00 27 |ursor .F|alse. .'|
|00003270| 44 69 73 61 62 6c 65 20 | 63 75 72 73 6f 72 00 00 |Disable |cursor..|
|00003280| 20 20 00 27 6c 6f 61 64 | 20 53 63 72 65 65 6e 20 | .'load| Screen |
|00003290| 53 61 76 65 72 27 73 20 | 6d 61 69 6e 20 66 6f 72 |Saver's |main for|
|000032a0| 6d 00 00 20 20 4c 6f 61 | 64 20 66 72 6d 4d 61 69 |m.. Loa|d frmMai|
|000032b0| 6e 00 20 20 66 72 6d 4d | 61 69 6e 2e 53 68 6f 77 |n. frmM|ain.Show|
|000032c0| 00 00 45 6e 64 20 53 75 | 62 00 00 00 50 72 69 76 |..End Su|b...Priv|
|000032d0| 61 74 65 20 53 75 62 00 | 20 63 68 65 63 6b 49 6e |ate Sub.| checkIn|
|000032e0| 73 74 61 6e 63 65 28 29 | 00 20 20 20 20 00 27 49 |stance()|. .'I|
|000032f0| 66 20 6e 6f 20 70 72 65 | 76 69 6f 75 73 20 69 6e |f no pre|vious in|
|00003300| 73 74 61 6e 63 65 20 69 | 73 20 72 75 6e 6e 69 6e |stance i|s runnin|
|00003310| 67 2c 20 65 78 69 74 20 | 73 75 62 00 00 20 20 20 |g, exit |sub.. |
|00003320| 20 49 66 20 00 4e 6f 74 | 00 20 41 70 70 2e 50 72 | If .Not|. App.Pr|
|00003330| 65 76 49 6e 73 74 61 6e | 63 65 20 54 68 65 6e 20 |evInstan|ce Then |
|00003340| 00 45 78 69 74 20 53 75 | 62 00 00 00 20 20 20 20 |.Exit Su|b... |
|00003350| 00 27 63 68 65 63 6b 20 | 66 6f 72 20 61 6e 6f 74 |.'check |for anot|
|00003360| 68 65 72 20 69 6e 73 74 | 61 6e 63 65 20 6f 66 20 |her inst|ance of |
|00003370| 73 63 72 65 65 6e 20 73 | 61 76 65 72 00 00 20 20 |screen s|aver.. |
|00003380| 20 20 49 66 20 46 69 6e | 64 57 69 6e 64 6f 77 28 | If Fin|dWindow(|
|00003390| 76 62 4e 75 6c 6c 53 74 | 72 69 6e 67 2c 20 41 50 |vbNullSt|ring, AP|
|000033a0| 50 5f 4e 41 4d 45 29 20 | 00 54 68 65 6e 20 45 6e |P_NAME) |.Then En|
|000033b0| 64 00 00 00 20 20 20 20 | 00 27 53 65 74 20 6f 75 |d... |.'Set ou|
|000033c0| 72 20 63 61 70 74 69 6f | 6e 20 73 6f 20 6f 74 68 |r captio|n so oth|
|000033d0| 65 72 20 69 6e 73 74 61 | 6e 63 65 73 20 63 61 6e |er insta|nces can|
|000033e0| 20 66 69 6e 64 00 20 20 | 20 20 27 75 73 20 69 6e | find. | 'us in|
|000033f0| 20 74 68 65 20 70 72 65 | 76 69 6f 75 73 20 6c 69 | the pre|vious li|
|00003400| 6e 65 2e 00 00 1a 02 00 | 00 dd 01 00 00 11 8d 00 |ne......|........|
|00003410| 00 52 c1 00 00 3d 00 00 | 00 20 48 80 bb 03 00 80 |.R...=..|. H.....|
|00003420| 00 00 00 02 82 48 80 0d | 00 82 80 0c 00 82 82 82 |.....H..|........|
|00003430| 80 08 00 83 82 82 82 80 | 0c 00 80 0d 00 80 0e 00 |........|........|
|00003440| 82 ff 00 20 20 20 20 66 | 72 6d 4d 61 69 6e 2e 43 |... f|rmMain.C|
|00003450| 61 70 74 69 6f 6e 20 3d | 20 41 50 50 5f 4e 41 4d |aption =| APP_NAM|
|00003460| 45 00 00 45 6e 64 20 53 | 75 62 00 00 00 00 00 54 |E..End S|ub.....T|
|00003470| 68 65 72 65 20 69 73 20 | 6f 6e 6c 79 20 6f 6e 65 |here is |only one|
|00003480| 20 6f 74 68 65 72 20 62 | 69 74 20 6f 66 20 63 6f | other b|it of co|
|00003490| 64 65 20 74 6f 20 61 64 | 64 20 74 6f 20 6f 75 72 |de to ad|d to our|
|000034a0| 20 6d 6f 64 75 6c 65 20 | 28 75 6e 6c 65 73 73 20 | module |(unless |
|000034b0| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 61 64 64 20 |you want| to add |
|000034c0| 74 68 65 20 70 72 65 76 | 69 65 77 20 63 61 70 61 |the prev|iew capa|
|000034d0| 62 69 6c 69 74 79 2c 20 | 62 2c 8f 00 00 52 c1 00 |bility, |b,...R..|
|000034e0| 00 52 48 00 00 75 74 20 | 74 68 61 74 20 77 6f 6e |.RH..ut |that won|
|000034f0| 27 74 20 62 65 20 64 69 | 73 63 75 73 73 65 64 20 |'t be di|scussed |
|00003500| 69 6e 20 74 68 69 73 20 | 74 75 74 6f 72 69 61 6c |in this |tutorial|
|00003510| 29 20 77 68 69 63 68 20 | 69 73 20 74 68 65 20 73 |) which |is the s|
|00003520| 75 62 20 74 68 61 74 20 | 69 73 20 63 61 6c 6c 65 |ub that |is calle|
|00003530| 64 20 69 6e 20 73 65 76 | 65 72 61 6c 20 65 76 65 |d in sev|eral eve|
|00003540| 6e 74 73 20 69 6e 20 74 | 68 65 20 6d 61 69 6e 20 |nts in t|he main |
|00003550| 66 6f 72 6d 20 74 6f 20 | 65 6e 64 20 74 68 65 20 |form to |end the |
|00003560| 73 63 72 65 65 6e 20 73 | 61 76 65 72 2e 20 59 6f |screen s|aver. Yo|
|00003570| 75 20 63 6f 75 6c 64 20 | 61 64 64 20 61 6e 20 61 |u could |add an a|
|00003580| 6e 6e 6f 79 69 6e 67 20 | 6e 61 67 20 73 63 72 65 |nnoying |nag scre|
|00003590| 65 6e 20 69 6e 20 74 68 | 69 73 20 63 6f 64 65 2c |en in th|is code,|
|000035a0| 20 6f 72 20 61 20 70 61 | 73 73 77 6f 72 64 20 64 | or a pa|ssword d|
|000035b0| 69 61 6c 6f 67 2c 20 65 | 74 63 2e 20 4f 75 72 20 |ialog, e|tc. Our |
|000035c0| 63 6f 64 65 20 69 73 20 | 6a 75 73 74 20 67 6f 69 |code is |just goi|
|000035d0| 6e 67 20 74 6f 20 73 69 | 6d 70 6c 79 20 72 65 73 |ng to si|mply res|
|000035e0| 74 6f 72 65 20 74 68 65 | 20 63 75 72 73 6f 72 20 |tore the| cursor |
|000035f0| 61 6e 64 20 65 6e 64 3a | 00 00 00 00 53 75 62 00 |and end:|....Sub.|
|00003600| 20 65 78 69 74 53 63 72 | 65 65 6e 73 61 76 65 72 | exitScr|eensaver|
|00003610| 28 29 20 00 27 45 78 69 | 74 20 74 68 65 20 73 63 |() .'Exi|t the sc|
|00003620| 72 65 65 6e 73 61 76 65 | 72 00 00 f9 00 00 00 c7 |reensave|r.......|
|00003630| 00 00 00 2c 8f 00 00 4b | c2 00 00 32 00 00 00 20 |...,...K|...2... |
|00003640| 32 80 8f 01 00 80 00 00 | 00 02 82 48 80 0d 00 80 |2.......|...H....|
|00003650| 0c 00 82 82 82 82 82 80 | 08 00 83 82 ff 00 20 20 |........|...... |
|00003660| 53 68 6f 77 43 75 72 73 | 6f 72 20 00 54 72 75 65 |ShowCurs|or .True|
|00003670| 00 20 20 45 6e 64 00 45 | 6e 64 20 53 75 62 00 00 |. End.E|nd Sub..|
|00003680| 00 00 20 00 4f 6b 61 79 | 2c 20 74 68 61 74 27 73 |.. .Okay|, that's|
|00003690| 20 61 6c 6c 20 66 6f 72 | 20 74 68 65 20 6d 6f 64 | all for| the mod|
|000036a0| 75 6c 65 2e 20 49 66 20 | 66 6f 72 20 73 6f 6d 65 |ule. If |for some|
|000036b0| 20 73 74 72 61 6e 67 65 | 20 72 65 61 73 6f 6e 20 | strange| reason |
|000036c0| 79 6f 75 20 68 61 76 65 | 6e 27 74 20 73 61 76 65 |you have|n't save|
|000036d0| 64 20 79 6f 75 72 20 70 | 72 6f 6a 65 63 74 20 79 |d your p|roject y|
|000036e0| 65 74 20 2e 2e 2e 20 64 | 6f 20 73 6f 20 6e 6f 77 |et ... d|o so now|
|000036f0| 2e 20 43 6c 69 63 6b 20 | 22 4e 45 58 54 22 20 74 |. Click |"NEXT" t|
|00003700| 6f 20 6d 6f 76 65 20 6f | 6e 20 74 6f 20 74 68 65 |o move o|n to the|
|00003710| 20 63 6f 64 65 20 66 6f | 72 20 66 72 6d 4d 61 69 | code fo|r frmMai|
|00003720| 6e 2e 00 00 60 01 00 00 | db 00 00 00 52 c1 00 00 |n...`...|....R...|
|00003730| ab c3 00 00 85 00 00 00 | 20 d8 80 c1 01 00 80 00 |........| .......|
|00003740| 00 00 0a 82 48 80 08 00 | 82 82 82 82 e3 df db ea |....H...|........|
|00003750| 41 80 04 00 86 22 08 80 | 02 00 00 04 00 89 e3 de |A...."..|........|
|00003760| db ea 41 86 22 08 80 02 | 00 00 05 00 89 e3 e2 db |..A."...|........|
|00003770| ea 41 86 22 08 80 02 00 | 00 02 00 89 80 03 00 82 |.A."....|........|
|00003780| 80 00 00 86 22 08 80 02 | 00 00 01 00 82 82 80 05 |...."...|........|
|00003790| 00 82 80 06 00 82 80 07 | 00 82 82 80 00 00 86 22 |........|......."|
|000037a0| 08 80 02 00 00 01 00 82 | ff 00 00 00 00 00 00 00 |........|........|
|000037b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 4d |........|.......M|
|000037c0| 69 63 61 68 20 43 61 72 | 72 69 63 6b 27 73 20 56 |icah Car|rick's V|
|000037d0| 69 73 75 61 6c 20 42 61 | 73 69 63 20 53 63 72 65 |isual Ba|sic Scre|
|000037e0| 65 6e 20 53 61 76 65 72 | 73 20 54 75 74 6f 72 69 |en Saver|s Tutori|
|000037f0| 61 6c 20 56 65 72 73 69 | 6f 6e 20 31 2e 31 20 00 |al Versi|on 1.1 .|
|00003800| 00 a9 20 31 39 39 39 20 | 4d 69 63 61 68 20 43 61 |.. 1999 |Micah Ca|
|00003810| 72 72 69 63 6b 20 2d 20 | 6d 69 63 61 68 40 63 61 |rrick - |micah@ca|
|00003820| 72 72 69 63 6b 2e 63 6f | 6d 20 2d 20 68 74 74 70 |rrick.co|m - http|
|00003830| 3a 2f 2f 6d 69 63 61 68 | 2e 63 61 72 72 69 63 6b |://micah|.carrick|
|00003840| 2e 63 6f 6d 00 00 46 69 | 6e 64 20 74 68 69 73 20 |.com..Fi|nd this |
|00003850| 74 75 74 6f 72 69 61 6c | 20 69 6e 20 48 54 4d 4c |tutorial| in HTML|
|00003860| 20 66 6f 72 6d 20 61 74 | 20 77 77 77 2e 63 6f 6d | form at| www.com|
|00003870| 70 75 74 65 72 67 65 65 | 6b 7a 2e 6e 65 74 00 00 |putergee|kz.net..|
|00003880| 00 00 00 00 60 00 00 00 | 2f 00 00 00 4b c2 00 00 |....`...|/...K...|
|00003890| 0b c4 00 00 31 00 00 00 | 02 c6 10 00 00 ff ff ff |....1...|........|
|000038a0| ff ff ff ff ff 04 00 00 | 00 ff ff ff ff 0b c4 00 |........|........|
|000038b0| 00 7c 04 01 00 43 68 61 | 70 74 65 72 20 54 68 72 |.|...Cha|pter Thr|
|000038c0| 65 65 20 2d 20 41 74 74 | 61 63 68 69 6e 67 20 43 |ee - Att|aching C|
|000038d0| 6f 64 65 20 74 6f 20 74 | 68 65 20 4d 61 69 6e 20 |ode to t|he Main |
|000038e0| 46 6f 72 6d 79 00 00 00 | 3a 00 00 00 ab c3 00 00 |Formy...|:.......|
|000038f0| 84 c4 00 00 3f 00 00 00 | 20 4e 80 78 00 80 00 00 |....?...| N.x....|
|00003900| 00 0a 82 48 80 00 00 86 | 22 08 80 02 00 00 00 00 |...H....|".......|
|00003910| 82 82 86 22 08 80 02 00 | 00 01 00 82 82 80 01 00 |..."....|........|
|00003920| 82 82 ff 00 00 00 00 00 | 00 00 00 43 68 61 70 74 |........|...Chapt|
|00003930| 65 72 20 54 68 72 65 65 | 20 2d 20 41 74 74 61 63 |er Three| - Attac|
|00003940| 68 69 6e 67 20 43 6f 64 | 65 20 74 6f 20 74 68 65 |hing Cod|e to the|
|00003950| 20 4d 61 69 6e 20 46 6f | 72 6d 00 00 00 1e 02 00 | Main Fo|rm......|
|00003960| 00 e4 01 00 00 0b c4 00 | 00 a2 c6 00 00 3a 00 00 |........|.....:..|
|00003970| 00 20 42 80 c9 03 00 80 | 00 00 00 02 82 48 80 08 |. B.....|.....H..|
|00003980| 00 83 80 00 00 80 08 00 | 82 82 82 80 0c 00 80 0d |........|........|
|00003990| 00 82 80 0e 00 82 ff 00 | 00 41 73 20 6f 66 20 6e |........|.As of n|
|000039a0| 6f 77 2c 20 69 66 20 79 | 6f 75 27 76 65 20 64 6f |ow, if y|ou've do|
|000039b0| 6e 65 20 65 76 65 72 79 | 74 68 69 6e 67 20 63 6f |ne every|thing co|
|000039c0| 72 72 65 63 74 6c 79 20 | 73 6f 20 66 61 72 2c 20 |rrectly |so far, |
|000039d0| 74 68 65 20 73 63 72 65 | 65 6e 20 73 61 76 65 72 |the scre|en saver|
|000039e0| 20 69 73 20 62 6c 61 6e | 6b 2c 20 61 6e 64 20 77 | is blan|k, and w|
|000039f0| 69 6c 6c 20 72 75 6e 20 | 66 69 6e 65 20 2e 2e 2e |ill run |fine ...|
|00003a00| 20 62 75 74 20 77 69 6c | 6c 20 6e 6f 74 20 65 78 | but wil|l not ex|
|00003a10| 69 74 2e 20 53 6f 2c 20 | 74 68 65 20 66 69 72 73 |it. So, |the firs|
|00003a20| 74 20 63 6f 64 65 20 77 | 65 27 72 65 20 67 6f 69 |t code w|e're goi|
|00003a30| 6e 67 20 74 6f 20 70 75 | 74 20 69 6e 74 6f 20 74 |ng to pu|t into t|
|00003a40| 68 65 20 66 72 6d 4d 61 | 69 6e 20 63 6f 64 65 20 |he frmMa|in code |
|00003a50| 69 73 20 74 68 65 20 63 | 6f 64 65 20 74 6f 20 6d |is the c|ode to m|
|00003a60| 61 6b 65 20 74 68 65 20 | 00 73 63 72 65 65 6e 73 |ake the |.screens|
|00003a70| 61 76 65 72 00 20 65 78 | 69 74 2e 20 4e 6f 77 2c |aver. ex|it. Now,|
|00003a80| 20 72 65 6d 65 6d 62 65 | 72 2c 20 77 65 20 61 6c | remembe|r, we al|
|00003a90| 72 65 61 64 79 20 68 61 | 76 65 20 74 68 65 20 63 |ready ha|ve the c|
|00003aa0| 6f 64 65 20 69 6e 20 6f | 75 72 20 6d 6f 64 75 6c |ode in o|ur modul|
|00003ab0| 65 20 74 6f 20 72 65 73 | 74 6f 72 65 20 74 68 65 |e to res|tore the|
|00003ac0| 20 63 75 72 73 6f 72 20 | 61 6e 64 20 65 78 69 74 | cursor |and exit|
|00003ad0| 2c 20 77 65 20 6a 75 73 | 74 20 6e 65 65 64 20 74 |, we jus|t need t|
|00003ae0| 6f 20 63 61 6c 6c 20 74 | 68 61 74 20 69 6e 20 73 |o call t|hat in s|
|00003af0| 65 76 65 72 61 6c 20 6f | 66 20 74 68 65 20 66 72 |everal o|f the fr|
|00003b00| 6d 4d 61 69 6e 27 73 20 | 65 76 65 6e 74 73 2e 20 |mMain's |events. |
|00003b10| 53 6f 20 70 61 73 74 65 | 20 74 68 65 20 66 66 6f |So paste| the ffo|
|00003b20| 6c 6c 6f 77 69 6e 67 63 | 6f 64 65 20 69 6e 20 66 |llowingc|ode in f|
|00003b30| 72 6d 4d 61 69 6e 3a 00 | 00 00 00 50 72 69 76 61 |rmMain:.|...Priva|
|00003b40| 74 65 20 53 75 62 00 20 | 46 6f 72 6d 5f 43 6c 69 |te Sub. |Form_Cli|
|00003b50| 63 6b 28 29 00 20 20 65 | 78 69 74 53 63 72 65 65 |ck(). e|xitScree|
|00003b60| 6e 73 61 76 65 72 20 00 | 27 65 78 69 74 20 73 63 |nsaver .|'exit sc|
|00003b70| 72 65 65 6e 73 61 76 65 | 72 00 00 10 02 00 00 92 |reensave|r.......|
|00003b80| 01 00 00 84 c4 00 00 b2 | c8 00 00 7e 00 00 00 20 |........|...~... |
|00003b90| ca 80 25 03 00 80 00 00 | 00 02 82 48 80 0c 00 82 |..%.....|...H....|
|00003ba0| 82 80 0d 00 82 80 0e 00 | 82 80 0c 00 82 82 80 0d |........|........|
|00003bb0| 00 80 0c 00 80 0d 00 82 | 80 0c 00 80 0d 00 82 80 |........|........|
|00003bc0| 0e 00 82 80 0c 00 82 82 | 80 0d 00 80 0c 00 80 0d |........|........|
|00003bd0| 00 82 80 0e 00 82 80 0c | 00 82 82 80 0d 00 80 0c |........|........|
|00003be0| 00 80 0d 00 82 80 0c 00 | 80 0d 00 80 0c 00 80 0d |........|........|
|00003bf0| 00 80 0c 00 80 0d 00 82 | ff 00 45 6e 64 20 53 75 |........|..End Su|
|00003c00| 62 00 00 50 72 69 76 61 | 74 65 20 53 75 62 00 20 |b..Priva|te Sub. |
|00003c10| 46 6f 72 6d 5f 44 62 6c | 43 6c 69 63 6b 28 29 00 |Form_Dbl|Click().|
|00003c20| 20 20 65 78 69 74 53 63 | 72 65 65 6e 73 61 76 65 | exitSc|reensave|
|00003c30| 72 20 00 27 65 78 69 74 | 20 73 63 72 65 65 6e 73 |r .'exit| screens|
|00003c40| 61 76 65 72 00 00 45 6e | 64 20 53 75 62 00 00 50 |aver..En|d Sub..P|
|00003c50| 72 69 76 61 74 65 20 53 | 75 62 00 20 46 6f 72 6d |rivate S|ub. Form|
|00003c60| 5f 4b 65 79 44 6f 77 6e | 28 4b 65 79 43 6f 64 65 |_KeyDown|(KeyCode|
|00003c70| 20 00 41 73 20 49 6e 74 | 65 67 65 72 00 2c 20 5f | .As Int|eger., _|
|00003c80| 00 53 68 69 66 74 20 00 | 41 73 20 49 6e 74 65 67 |.Shift .|As Integ|
|00003c90| 65 72 00 29 00 20 20 65 | 78 69 74 53 63 72 65 65 |er.). e|xitScree|
|00003ca0| 6e 73 61 76 65 72 20 00 | 27 65 78 69 74 20 73 63 |nsaver .|'exit sc|
|00003cb0| 72 65 65 6e 73 61 76 65 | 72 00 00 45 6e 64 20 53 |reensave|r..End S|
|00003cc0| 75 62 00 00 50 72 69 76 | 61 74 65 20 53 75 62 00 |ub..Priv|ate Sub.|
|00003cd0| 20 46 6f 72 6d 5f 4b 65 | 79 50 72 65 73 73 28 4b | Form_Ke|yPress(K|
|00003ce0| 65 79 41 73 63 69 69 20 | 00 41 73 20 49 6e 74 65 |eyAscii |.As Inte|
|00003cf0| 67 65 72 00 29 00 20 20 | 65 78 69 74 53 63 72 65 |ger.). |exitScre|
|00003d00| 65 6e 73 61 76 65 72 20 | 00 27 65 78 69 74 20 73 |ensaver |.'exit s|
|00003d10| 63 72 65 65 6e 73 61 76 | 65 72 00 00 45 6e 64 20 |creensav|er..End |
|00003d20| 53 75 62 00 00 50 72 69 | 76 61 74 65 20 53 75 62 |Sub..Pri|vate Sub|
|00003d30| 00 20 46 6f 72 6d 5f 4d | 6f 75 73 65 44 6f 77 6e |. Form_M|ouseDown|
|00003d40| 28 42 75 74 74 6f 6e 20 | 00 41 73 20 49 6e 74 65 |(Button |.As Inte|
|00003d50| 67 65 72 00 2c 20 53 68 | 69 66 74 20 5f 00 00 41 |ger., Sh|ift _..A|
|00003d60| 73 20 49 6e 74 65 67 65 | 72 00 2c 20 58 20 00 41 |s Intege|r., X .A|
|00003d70| 73 20 53 69 6e 67 6c 65 | 00 2c 20 59 20 00 41 73 |s Single|., Y .As|
|00003d80| 20 53 69 6e 67 6c 65 00 | 29 00 00 27 01 00 00 da | Single.|)..'....|
|00003d90| 00 00 00 a2 c6 00 00 d9 | c9 00 00 4d 00 00 00 20 |........|...M... |
|00003da0| 68 80 b5 01 00 80 00 00 | 00 02 82 48 80 0d 00 80 |h.......|...H....|
|00003db0| 0e 00 82 80 0c 00 82 82 | 80 0d 00 82 80 0e 00 82 |........|........|
|00003dc0| 80 0c 00 82 82 80 0d 00 | 80 0c 00 80 0d 00 82 80 |........|........|
|00003dd0| 0e 00 82 80 0c 00 82 ff | 00 20 20 65 78 69 74 53 |........|. exitS|
|00003de0| 63 72 65 65 6e 73 61 76 | 65 72 20 00 27 65 78 69 |creensav|er .'exi|
|00003df0| 74 20 73 63 72 65 65 6e | 73 61 76 65 72 00 00 45 |t screen|saver..E|
|00003e00| 6e 64 20 53 75 62 00 00 | 50 72 69 76 61 74 65 20 |nd Sub..|Private |
|00003e10| 53 75 62 00 20 46 6f 72 | 6d 5f 54 65 72 6d 69 6e |Sub. For|m_Termin|
|00003e20| 61 74 65 28 29 00 20 20 | 65 78 69 74 53 63 72 65 |ate(). |exitScre|
|00003e30| 65 6e 73 61 76 65 72 20 | 00 27 65 78 69 74 20 73 |ensaver |.'exit s|
|00003e40| 63 72 65 65 6e 73 61 76 | 65 72 00 00 45 6e 64 20 |creensav|er..End |
|00003e50| 53 75 62 00 00 50 72 69 | 76 61 74 65 20 53 75 62 |Sub..Pri|vate Sub|
|00003e60| 00 20 46 6f 72 6d 5f 55 | 6e 6c 6f 61 64 28 43 61 |. Form_U|nload(Ca|
|00003e70| 6e 63 65 6c 20 00 41 73 | 20 49 6e 74 65 67 65 72 |ncel .As| Integer|
|00003e80| 00 29 00 20 20 65 78 69 | 74 53 63 72 65 65 6e 73 |.). exi|tScreens|
|00003e90| 61 76 65 72 20 00 27 65 | 78 69 74 20 73 63 72 65 |aver .'e|xit scre|
|00003ea0| 65 6e 73 61 76 65 72 00 | 00 45 6e 64 20 53 75 62 |ensaver.|.End Sub|
|00003eb0| 00 00 2c 00 00 00 05 00 | 00 00 b2 c8 00 00 05 ca |..,.....|........|
|00003ec0| 00 00 27 00 00 00 20 1e | 80 0a 00 80 00 00 00 0a |..'... .|........|
|00003ed0| 82 48 80 0c 00 82 82 82 | ff 00 00 00 00 00 c7 02 |.H......|........|
|00003ee0| 00 00 a0 02 00 00 d9 c9 | 00 00 cc cc 00 00 27 00 |........|......'.|
|00003ef0| 00 00 20 1c 80 41 05 00 | 80 00 00 00 02 82 48 80 |.. ..A..|......H.|
|00003f00| 08 00 83 82 ff 00 00 54 | 68 69 73 20 6d 61 79 20 |.......T|his may |
|00003f10| 73 65 65 6d 20 6c 69 6b | 65 20 61 20 62 69 74 20 |seem lik|e a bit |
|00003f20| 6d 75 63 68 2c 20 62 75 | 74 20 79 6f 75 20 77 61 |much, bu|t you wa|
|00003f30| 6e 74 20 74 6f 20 6d 61 | 6b 65 20 73 75 72 65 20 |nt to ma|ke sure |
|00003f40| 74 68 61 74 20 6e 6f 20 | 6d 61 74 74 65 72 20 77 |that no |matter w|
|00003f50| 68 69 63 68 20 77 61 79 | 20 79 6f 75 20 73 63 72 |hich way| you scr|
|00003f60| 65 65 6e 20 73 61 76 65 | 72 20 69 73 20 74 65 72 |een save|r is ter|
|00003f70| 6d 69 6e 61 74 65 64 2c | 20 74 68 65 20 63 75 72 |minated,| the cur|
|00003f80| 73 6f 72 20 69 73 20 72 | 65 73 74 6f 72 65 64 2e |sor is r|estored.|
|00003f90| 20 49 66 20 79 6f 75 20 | 77 61 6e 74 2c 20 79 6f | If you |want, yo|
|00003fa0| 75 20 63 6f 75 6c 64 20 | 63 75 73 74 6f 6d 69 7a |u could |customiz|
|00003fb0| 65 20 69 74 20 73 6f 20 | 74 68 61 74 20 61 20 6c |e it so |that a l|
|00003fc0| 65 66 74 20 63 6c 69 63 | 6b 20 77 69 6c 6c 20 65 |eft clic|k will e|
|00003fd0| 78 69 74 20 62 75 74 20 | 61 20 72 69 67 68 74 20 |xit but |a right |
|00003fe0| 63 6c 69 63 6b 20 77 69 | 6c 6c 20 70 6f 70 20 75 |click wi|ll pop u|
|00003ff0| 70 20 61 20 6d 65 6e 75 | 2e 20 77 68 61 74 65 76 |p a menu|. whatev|
|00004000| 65 72 2e 20 4f 6b 61 79 | 2c 20 74 68 65 72 65 27 |er. Okay|, there'|
|00004010| 73 20 73 74 69 6c 6c 20 | 6f 6e 65 20 6d 6f 72 65 |s still |one more|
|00004020| 20 65 76 65 6e 74 20 74 | 6f 20 61 74 74 61 63 68 | event t|o attach|
|00004030| 20 63 6f 64 65 20 74 6f | 2c 20 61 6e 64 20 74 68 | code to|, and th|
|00004040| 61 74 27 73 20 74 68 65 | 20 46 6f 72 6d 5f 4d 6f |at's the| Form_Mo|
|00004050| 75 73 65 4d 6f 76 65 2e | 20 54 68 65 20 72 65 61 |useMove.| The rea|
|00004060| 73 6f 6e 20 69 74 27 73 | 20 6e 6f 74 20 6a 75 73 |son it's| not jus|
|00004070| 74 20 69 6e 63 6c 75 64 | 65 64 20 69 6e 20 74 68 |t includ|ed in th|
|00004080| 65 20 63 6f 64 65 20 61 | 62 6f 76 65 20 69 73 20 |e code a|bove is |
|00004090| 62 65 63 61 75 73 65 20 | 77 65 20 6e 65 65 64 20 |because |we need |
|000040a0| 74 6f 20 64 65 74 65 72 | 6d 69 6e 65 20 77 68 65 |to deter|mine whe|
|000040b0| 74 68 65 72 20 74 68 65 | 20 6d 6f 76 65 6d 65 6e |ther the| movemen|
|000040c0| 74 20 77 61 73 20 61 20 | 73 69 67 6e 69 66 69 63 |t was a |signific|
|000040d0| 61 6e 74 6c 79 20 20 62 | 69 67 20 6d 6f 76 65 20 |antly b|ig move |
|000040e0| 2e 2e 2e 20 6f 74 68 65 | 72 77 69 73 65 20 74 68 |... othe|rwise th|
|000040f0| 65 20 73 63 72 65 65 6e | 20 73 61 76 65 72 20 77 |e screen| saver w|
|00004100| 6f 6e 27 74 20 65 76 65 | 6e 20 77 6f 72 6b 20 62 |on't eve|n work b|
|00004110| 65 63 61 75 73 65 20 74 | 69 6e 79 20 6c 69 74 74 |ecause t|iny litt|
|00004120| 6c 65 20 75 6e 2d 61 76 | 6f 69 64 61 62 6c 65 20 |le un-av|oidable |
|00004130| 6d 6f 75 73 65 20 6d 6f | 76 65 6d 65 6e 74 20 77 |mouse mo|vement w|
|00004140| 69 6c 6c 20 65 6e 64 20 | 69 74 20 65 76 65 72 79 |ill end |it every|
|00004150| 20 74 69 6d 65 2e 20 46 | 69 72 73 74 2c 20 69 6e | time. F|irst, in|
|00004160| 20 74 68 65 20 47 65 6e | 65 72 61 6c 20 44 65 63 | the Gen|eral Dec|
|00004170| 6c 61 72 61 74 69 6f 6e | 73 20 73 65 63 74 69 6f |laration|s sectio|
|00004180| 6e 2c 20 64 65 63 6c 61 | 72 65 20 74 68 65 20 66 |n, decla|re the f|
|00004190| 6f 6c 6c 6f 77 69 6e 67 | 20 76 61 72 69 61 62 6c |ollowing| variabl|
|000041a0| 65 73 3a 00 00 95 00 00 | 00 5a 00 00 00 05 ca 00 |es:.....|.Z......|
|000041b0| 00 61 cd 00 00 3b 00 00 | 00 20 46 80 b4 00 80 00 |.a...;..|. F.....|
|000041c0| 00 00 02 82 48 80 08 00 | 82 82 80 0c 00 82 80 0d |....H...|........|
|000041d0| 00 80 0e 00 82 80 0c 00 | 80 0d 00 80 0e 00 82 ff |........|........|
|000041e0| 00 00 00 00 4f 70 74 69 | 6f 6e 20 45 78 70 6c 69 |....Opti|on Expli|
|000041f0| 63 69 74 00 44 69 6d 00 | 20 70 72 65 76 58 20 00 |cit.Dim.| prevX .|
|00004200| 27 48 6f 6c 64 73 20 6d | 6f 75 73 65 20 6d 6f 76 |'Holds m|ouse mov|
|00004210| 65 6d 65 6e 74 00 00 44 | 69 6d 00 20 70 72 65 76 |ement..D|im. prev|
|00004220| 59 20 00 27 48 6f 6c 64 | 73 20 6d 6f 75 73 65 20 |Y .'Hold|s mouse |
|00004230| 6d 6f 76 65 6d 65 6e 74 | 00 00 2e 00 00 00 06 00 |movement|........|
|00004240| 00 00 cc cc 00 00 8f cd | 00 00 28 00 00 00 20 20 |........|..(... |
|00004250| 80 0c 00 80 00 00 00 0a | 82 48 80 0e 00 82 82 82 |........|.H......|
|00004260| 82 ff 00 00 00 00 00 00 | 13 02 00 00 9b 01 00 00 |........|........|
|00004270| 61 cd 00 00 a2 cf 00 00 | 78 00 00 00 20 be 80 37 |a.......|x... ..7|
|00004280| 03 00 80 00 00 00 02 82 | 48 80 08 00 82 82 82 82 |........|H.......|
|00004290| 82 80 0c 00 80 0d 00 80 | 0c 00 80 0d 00 80 0c 00 |........|........|
|000042a0| 80 0d 00 82 80 0c 00 80 | 0d 00 80 0c 00 80 0d 00 |........|........|
|000042b0| 82 82 80 0c 00 80 0d 00 | 80 0c 00 80 0d 00 80 0c |........|........|
|000042c0| 00 80 0d 00 80 0c 00 80 | 0d 00 82 80 0e 00 82 80 |........|........|
|000042d0| 0d 00 82 82 80 0c 00 82 | 80 0d 00 80 0c 00 82 ff |........|........|
|000042e0| 00 53 6f 20 74 68 6f 73 | 65 20 61 72 65 20 61 72 |.So thos|e are ar|
|000042f0| 65 20 76 61 72 69 61 62 | 6c 65 73 20 77 68 69 63 |e variab|les whic|
|00004300| 68 20 77 65 27 6c 6c 20 | 75 73 65 20 69 6e 20 74 |h we'll |use in t|
|00004310| 68 69 73 20 66 6f 6c 6c | 6f 77 69 6e 67 20 63 6f |his foll|owing co|
|00004320| 64 65 20 69 6e 20 74 68 | 65 20 46 6f 72 6d 5f 4d |de in th|e Form_M|
|00004330| 6f 75 73 65 4d 6f 76 65 | 20 65 76 65 6e 74 3a 00 |ouseMove| event:.|
|00004340| 00 00 00 00 00 50 72 69 | 76 61 74 65 20 53 75 62 |.....Pri|vate Sub|
|00004350| 00 20 46 6f 72 6d 5f 4d | 6f 75 73 65 4d 6f 76 65 |. Form_M|ouseMove|
|00004360| 28 42 75 74 74 6f 6e 20 | 00 41 73 20 49 6e 74 65 |(Button |.As Inte|
|00004370| 67 65 72 00 2c 20 53 68 | 69 66 74 20 00 41 73 20 |ger., Sh|ift .As |
|00004380| 49 6e 74 65 67 65 72 00 | 2c 20 5f 00 58 20 00 41 |Integer.|, _.X .A|
|00004390| 73 20 53 69 6e 67 6c 65 | 00 2c 20 59 20 00 41 73 |s Single|., Y .As|
|000043a0| 20 53 69 6e 67 6c 65 00 | 29 00 20 20 00 20 20 00 | Single.|). . .|
|000043b0| 49 66 00 20 28 28 70 72 | 65 76 58 20 3d 20 30 29 |If. ((pr|evX = 0)|
|000043c0| 20 00 41 6e 64 00 20 28 | 70 72 65 76 59 20 3d 20 | .And. (|prevY = |
|000043d0| 30 29 29 20 00 4f 72 00 | 20 28 28 41 62 73 28 70 |0)) .Or.| ((Abs(p|
|000043e0| 72 65 76 58 20 2d 20 58 | 29 20 3c 20 35 29 20 00 |revX - X|) < 5) .|
|000043f0| 41 6e 64 00 20 28 41 62 | 73 28 70 72 65 76 59 20 |And. (Ab|s(prevY |
|00004400| 2d 20 59 29 20 3c 20 35 | 29 29 20 54 68 65 6e 00 |- Y) < 5|)) Then.|
|00004410| 20 20 20 20 00 27 53 6d | 61 6c 6c 20 6d 6f 75 73 | .'Sm|all mous|
|00004420| 65 20 6d 6f 76 65 6d 65 | 6e 74 2c 20 64 6f 20 6e |e moveme|nt, do n|
|00004430| 6f 74 20 65 78 69 74 20 | 73 63 72 65 65 6e 73 61 |ot exit |screensa|
|00004440| 76 65 72 00 00 20 20 20 | 20 70 72 65 76 58 20 3d |ver.. | prevX =|
|00004450| 20 58 00 20 20 20 20 70 | 72 65 76 59 20 3d 20 59 | X. p|revY = Y|
|00004460| 00 20 20 20 20 00 45 78 | 69 74 20 53 75 62 00 00 |. .Ex|it Sub..|
|00004470| 20 20 00 45 6e 64 20 49 | 66 00 00 93 00 00 00 5d | .End I|f......]|
|00004480| 00 00 00 8f cd 00 00 41 | 00 01 00 36 00 00 00 20 |.......A|...6... |
|00004490| 3c 80 ba 00 80 00 00 00 | 02 82 48 80 0d 00 82 80 |<.......|..H.....|
|000044a0| 0e 00 82 80 0d 00 80 0e | 00 82 82 80 0c 00 82 82 |........|........|
|000044b0| ff 00 20 20 00 20 20 00 | 27 4c 61 72 67 65 20 6d |.. . .|'Large m|
|000044c0| 6f 76 65 6d 65 6e 74 2c | 20 75 6e 6c 6f 61 64 20 |ovement,| unload |
|000044d0| 73 63 72 65 65 6e 73 61 | 76 a2 cf 00 00 41 00 01 |screensa|v....A..|
|000044e0| 00 ab c3 00 00 65 72 00 | 00 20 20 65 78 69 74 53 |.....er.|. exitS|
|000044f0| 63 72 65 65 6e 73 61 76 | 65 72 20 00 27 65 78 69 |creensav|er .'exi|
|00004500| 74 20 73 63 72 65 65 6e | 73 61 76 65 72 00 00 00 |t screen|saver...|
|00004510| 45 6e 64 20 53 75 62 00 | 00 00 28 00 00 00 03 00 |End Sub.|..(.....|
|00004520| 00 00 a2 cf 00 00 69 00 | 01 00 25 00 00 00 20 1a |......i.|..%... .|
|00004530| 80 06 00 80 00 00 00 0a | 82 48 80 0c 00 82 ff 00 |........|.H......|
|00004540| 00 00 8f 02 00 00 65 02 | 00 00 41 00 01 00 f8 02 |......e.|..A.....|
|00004550| 01 00 2a 00 00 00 20 22 | 80 cb 04 00 80 00 00 00 |..*... "|........|
|00004560| 02 82 48 80 08 00 83 82 | 82 83 82 ff 00 00 4f 6b |..H.....|......Ok|
|00004570| 61 79 2c 20 67 6f 20 61 | 68 65 61 64 20 61 6e 64 |ay, go a|head and|
|00004580| 20 74 65 73 74 20 6f 75 | 74 20 79 6f 75 72 20 73 | test ou|t your s|
|00004590| 63 72 65 65 6e 73 61 76 | 65 72 2e 20 57 68 65 6e |creensav|er. When|
|000045a0| 20 79 6f 75 20 72 75 6e | 20 69 74 20 28 64 6f 6e | you run| it (don|
|000045b0| 27 74 20 63 6f 6d 70 69 | 6c 65 20 69 74 20 79 65 |'t compi|le it ye|
|000045c0| 74 20 6a 75 73 74 20 72 | 75 6e 20 77 69 74 68 69 |t just r|un withi|
|000045d0| 6e 20 56 42 29 2c 20 61 | 6c 6c 20 74 68 61 74 20 |n VB), a|ll that |
|000045e0| 73 68 6f 75 6c 64 20 68 | 61 70 70 65 6e 20 69 73 |should h|appen is|
|000045f0| 20 74 68 65 20 73 63 72 | 65 65 6e 20 67 65 74 73 | the scr|een gets|
|00004600| 20 62 6c 61 6e 6b 2e 20 | 57 65 20 68 61 76 65 6e | blank. |We haven|
|00004610| 27 74 20 65 76 65 6e 20 | 63 6f 64 65 64 20 74 68 |'t even |coded th|
|00004620| 65 20 73 63 72 65 65 6e | 20 73 61 76 65 72 20 79 |e screen| saver y|
|00004630| 65 74 21 20 42 75 74 20 | 77 65 27 76 65 20 64 6f |et! But |we've do|
|00004640| 6e 65 20 61 6c 6c 20 74 | 68 61 74 20 79 6f 75 20 |ne all t|hat you |
|00004650| 6e 65 65 64 20 74 6f 20 | 67 65 74 20 73 74 61 72 |need to |get star|
|00004660| 74 65 64 2e 20 46 72 6f | 6d 20 68 65 72 65 2c 20 |ted. Fro|m here, |
|00004670| 79 6f 75 20 6d 61 79 20 | 6a 75 73 74 20 77 61 6e |you may |just wan|
|00004680| 74 20 74 6f 20 73 6b 69 | 70 20 74 6f 20 74 68 65 |t to ski|p to the|
|00004690| 20 43 6f 6d 70 69 6c 69 | 6e 67 20 74 68 65 20 53 | Compili|ng the S|
|000046a0| 63 72 65 65 6e 20 53 61 | 76 65 72 20 61 6e 64 20 |creen Sa|ver and |
|000046b0| 74 68 65 6e 20 6a 75 73 | 74 20 65 78 70 6c 6f 72 |then jus|t explor|
|000046c0| 65 20 6f 6e 20 79 6f 75 | 72 20 6f 77 6e 2e 00 00 |e on you|r own...|
|000046d0| 00 46 72 6f 6d 20 68 65 | 72 65 20 74 68 65 20 73 |.From he|re the s|
|000046e0| 63 72 65 65 6e 20 73 61 | 76 65 72 20 69 73 20 67 |creen sa|ver is g|
|000046f0| 6f 69 6e 67 20 74 6f 20 | 62 65 20 64 65 76 65 6c |oing to |be devel|
|00004700| 6f 70 65 64 20 73 6f 20 | 74 68 61 74 20 69 74 27 |oped so |that it'|
|00004710| 73 20 61 63 74 75 61 6c | 6c 79 20 61 20 73 63 72 |s actual|ly a scr|
|00004720| 65 65 6e 20 73 61 76 65 | 72 2e 20 57 65 27 72 65 |een save|r. We're|
|00004730| 20 67 6f 69 6e 67 20 74 | 6f 20 61 64 64 20 61 20 | going t|o add a |
|00004740| 74 69 6d 65 72 20 61 6e | 64 20 73 6f 6d 65 20 63 |timer an|d some c|
|00004750| 6f 64 65 20 74 6f 20 64 | 72 61 77 20 72 61 6e 64 |ode to d|raw rand|
|00004760| 6f 6d 20 63 69 72 63 6c | 65 73 20 6f 6e 20 74 68 |om circl|es on th|
|00004770| 65 20 73 63 72 65 65 6e | 2e 20 57 65 27 72 65 20 |e screen|. We're |
|00004780| 61 6c 73 6f 20 67 6f 69 | 6e 67 20 74 6f 20 61 64 |also goi|ng to ad|
|00004790| 64 20 73 6f 6d 65 20 63 | 6f 64 65 20 74 6f 20 74 |d some c|ode to t|
|000047a0| 68 65 20 63 6f 6e 66 69 | 67 75 72 61 74 69 6f 6e |he confi|guration|
|000047b0| 20 66 6f 72 6d 2e 20 43 | 6c 69 63 6b 20 22 4e 45 | form. C|lick "NE|
|000047c0| 58 54 22 20 74 6f 20 67 | 6f 20 6f 6e 2e 2e 2e 00 |XT" to g|o on....|
|000047d0| 00 28 00 00 00 03 00 00 | 00 69 00 01 00 20 03 01 |.(......|.i... ..|
|000047e0| 00 25 00 00 00 20 1a 80 | 06 00 80 00 00 00 02 82 |.%... ..|........|
|000047f0| 48 80 08 00 82 ff 00 00 | 00 5c 01 00 00 d9 00 00 |H.......|.\......|
|00004800| 00 f8 02 01 00 7c 04 01 | 00 83 00 00 00 20 d4 80 |.....|..|..... ..|
|00004810| bd 01 00 80 00 00 00 0a | 82 48 80 08 00 82 82 e3 |........|.H......|
|00004820| e1 db ea 41 80 04 00 86 | 22 08 80 02 00 00 04 00 |...A....|".......|
|00004830| 89 e3 de db ea 41 86 22 | 08 80 02 00 00 05 00 89 |.....A."|........|
|00004840| e3 e3 db ea 41 86 22 08 | 80 02 00 00 02 00 89 80 |....A.".|........|
|00004850| 03 00 82 80 00 00 86 22 | 08 80 02 00 00 01 00 82 |......."|........|
|00004860| 82 80 05 00 82 80 06 00 | 82 80 07 00 82 82 80 00 |........|........|
|00004870| 00 86 22 08 80 02 00 00 | 01 00 82 ff 00 00 00 00 |..".....|........|
|00004880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004890| 4d 69 63 61 68 20 43 61 | 72 72 69 63 6b 27 73 20 |Micah Ca|rrick's |
|000048a0| 56 69 73 75 61 6c 20 42 | 61 73 69 63 20 53 63 72 |Visual B|asic Scr|
|000048b0| 65 65 6e 20 53 61 76 65 | 72 73 20 54 75 74 6f 72 |een Save|rs Tutor|
|000048c0| 69 61 6c 20 56 65 72 73 | 69 6f 6e 20 31 2e 31 20 |ial Vers|ion 1.1 |
|000048d0| 00 00 a9 20 31 39 39 39 | 20 4d 69 63 61 68 20 43 |... 1999| Micah C|
|000048e0| 61 72 72 69 63 6b 20 2d | 20 6d 69 63 61 68 40 63 |arrick -| micah@c|
|000048f0| 61 72 72 69 63 6b 2e 63 | 6f 6d 20 2d 20 68 74 74 |arrick.c|om - htt|
|00004900| 70 3a 2f 2f 6d 69 63 61 | 68 2e 63 61 72 72 69 63 |p://mica|h.carric|
|00004910| 6b 2e 63 6f 6d 00 00 46 | 69 6e 64 20 74 68 69 73 |k.com..F|ind this|
|00004920| 20 74 75 74 6f 72 69 61 | 6c 20 69 6e 20 48 54 4d | tutoria|l in HTM|
|00004930| 4c 20 66 6f 72 6d 20 61 | 74 20 77 77 77 2e 63 6f |L form a|t www.co|
|00004940| 6d 70 75 74 65 72 67 65 | 65 6b 7a 2e 6e 65 74 00 |mputerge|ekz.net.|
|00004950| 00 00 00 00 00 55 00 00 | 00 24 00 00 00 20 03 01 |.....U..|.$... ..|
|00004960| 00 d1 04 01 00 31 00 00 | 00 02 55 07 00 00 ff ff |.....1..|..U.....|
|00004970| ff ff ff ff ff ff 05 00 | 00 00 ff ff ff ff d1 04 |........|........|
|00004980| 01 00 d1 0b 01 00 43 68 | 61 70 74 65 72 20 46 6f |......Ch|apter Fo|
|00004990| 75 72 20 2d 20 54 68 65 | 20 53 63 72 65 65 6e 20 |ur - The| Screen |
|000049a0| 53 61 76 65 72 20 43 6f | 64 65 6e 00 00 00 2f 00 |Saver Co|den.../.|
|000049b0| 00 00 7c 04 01 00 3f 05 | 01 00 3f 00 00 00 20 4e |..|...?.|..?... N|
|000049c0| 80 62 00 80 00 00 00 0a | 82 48 80 00 00 86 22 08 |.b......|.H....".|
|000049d0| 80 02 00 00 00 00 82 82 | 86 22 08 80 02 00 00 01 |........|."......|
|000049e0| 00 82 82 80 01 00 82 82 | ff 00 00 00 00 00 00 00 |........|........|
|000049f0| 00 43 68 61 70 74 65 72 | 20 46 6f 75 72 20 2d 20 |.Chapter| Four - |
|00004a00| 54 68 65 20 53 63 72 65 | 65 6e 20 53 61 76 65 72 |The Scre|en Saver|
|00004a10| 20 43 6f 64 65 00 00 00 | e8 00 00 00 bf 00 00 00 | Code...|........|
|00004a20| d1 04 01 00 27 06 01 00 | 29 00 00 00 20 20 80 7f |....'...|)... ..|
|00004a30| 01 00 80 00 00 00 02 82 | 48 80 08 00 83 82 82 82 |........|H.......|
|00004a40| ff 00 00 4f 75 72 20 73 | 63 72 65 65 6e 20 73 61 |...Our s|creen sa|
|00004a50| 76 65 72 20 68 65 72 65 | 20 69 73 20 67 6f 69 6e |ver here| is goin|
|00004a60| 67 20 74 6f 20 62 65 20 | 76 65 72 79 20 73 69 6d |g to be |very sim|
|00004a70| 70 6c 65 2e 20 49 74 27 | 73 20 67 6f 69 6e 67 20 |ple. It'|s going |
|00004a80| 74 6f 20 64 72 61 77 20 | 72 61 6e 64 6f 6d 20 63 |to draw |random c|
|00004a90| 69 72 63 6c 65 73 20 61 | 6c 6c 20 6f 76 65 72 20 |ircles a|ll over |
|00004aa0| 74 68 65 20 73 63 72 65 | 65 6e 2e 20 53 6f 2c 20 |the scre|en. So, |
|00004ab0| 6c 65 74 73 20 61 64 20 | 61 20 74 69 6d 65 72 20 |lets ad |a timer |
|00004ac0| 74 6f 20 6f 75 72 20 63 | 6f 64 65 2e 20 46 6f 72 |to our c|ode. For|
|00004ad0| 20 6e 6f 77 2c 20 73 65 | 74 20 74 68 65 20 74 69 | now, se|t the ti|
|00004ae0| 6d 65 72 27 73 20 66 6f | 6c 6c 6f 77 69 6e 67 73 |mer's fo|llowings|
|00004af0| 20 61 73 20 66 6f 6c 6c | 6f 77 73 3a 00 00 00 00 | as foll|ows:....|
|00004b00| 71 00 00 00 1f 00 00 00 | 3f 05 01 00 98 06 01 00 |q.......|?.......|
|00004b10| 52 00 00 00 23 74 80 3e | 03 01 12 01 06 00 14 01 |R...#t.>|........|
|00004b20| 06 00 15 01 06 00 00 00 | 01 16 80 00 80 00 00 00 |........|........|
|00004b30| 00 80 09 00 82 ff 01 00 | 01 10 80 14 80 00 00 00 |........|........|
|00004b40| 00 82 ff 02 00 01 10 80 | 2a 80 00 00 00 00 82 ff |........|*.......|
|00004b50| ff ff 00 4f 62 6a 65 63 | 74 3a 00 00 50 72 6f 70 |...Objec|t:..Prop|
|00004b60| 65 72 74 79 3a 00 00 53 | 65 74 74 69 6e 67 3a 00 |erty:..S|etting:.|
|00004b70| 00 8a 00 00 00 31 00 00 | 00 27 06 01 00 22 07 01 |.....1..|.'..."..|
|00004b80| 00 59 00 00 00 23 82 80 | 62 03 01 12 01 06 00 14 |.Y...#..|b.......|
|00004b90| 01 06 00 15 01 06 00 00 | 00 01 16 80 00 80 00 00 |........|........|
|00004ba0| 00 00 80 02 00 82 ff 01 | 00 01 1a 80 10 80 00 00 |........|........|
|00004bb0| 00 00 80 00 00 81 81 82 | ff 02 00 01 14 80 40 80 |........|......@.|
|00004bc0| 00 00 00 00 81 81 82 ff | ff ff 00 54 69 6d 65 72 |........|...Timer|
|00004bd0| 00 00 00 4e 61 6d 65 00 | 45 6e 61 62 6c 65 64 00 |...Name.|Enabled.|
|00004be0| 49 6e 74 65 72 76 61 6c | 00 00 74 6d 72 4d 61 69 |Interval|..tmrMai|
|00004bf0| 6e 00 54 72 75 65 00 35 | 30 00 00 29 00 00 00 05 |n.True.5|0..)....|
|00004c00| 00 00 00 98 06 01 00 4b | 07 01 00 24 00 00 00 20 |.......K|...$... |
|00004c10| 18 80 0a 00 80 00 00 00 | 00 80 08 00 82 82 ff 00 |........|........|
|00004c20| 20 00 00 00 2c 02 00 00 | ce 01 00 00 22 07 01 00 | ...,...|...."...|
|00004c30| 77 09 01 00 5e 00 00 00 | 20 8a 80 9d 03 00 80 00 |w...^...| .......|
|00004c40| 00 00 02 82 48 80 08 00 | 83 80 00 00 80 08 00 82 |....H...|........|
|00004c50| 82 82 80 0c 00 80 0d 00 | 82 80 0c 00 80 0d 00 80 |........|........|
|00004c60| 0e 00 82 80 0d 00 80 0e | 00 82 80 0d 00 82 82 82 |........|........|
|00004c70| 82 82 82 80 0e 00 82 80 | 0d 00 80 0c 00 80 0d 00 |........|........|
|00004c80| 82 ff 00 00 41 6e 64 20 | 74 68 65 20 74 69 6d 65 |....And |the time|
|00004c90| 72 27 73 20 54 69 6d 65 | 72 20 65 76 65 6e 74 20 |r's Time|r event |
|00004ca0| 69 73 20 77 68 65 72 65 | 20 74 68 65 20 63 6f 64 |is where| the cod|
|00004cb0| 65 20 66 6f 72 20 64 72 | 61 77 69 6e 67 20 6f 75 |e for dr|awing ou|
|00004cc0| 72 20 63 69 72 63 6c 65 | 73 20 77 69 6c 6c 20 67 |r circle|s will g|
|00004cd0| 6f 2e 20 53 6f 20 70 61 | 73 74 65 20 74 68 65 20 |o. So pa|ste the |
|00004ce0| 00 66 6f 6c 6c 6f 77 69 | 6e 67 00 20 63 6f 64 65 |.followi|ng. code|
|00004cf0| 20 69 6e 74 6f 20 79 6f | 75 72 20 66 72 6d 4d 61 | into yo|ur frmMa|
|00004d00| 69 6e 27 73 20 63 6f 64 | 65 20 2e 2e 2e 00 00 00 |in's cod|e ......|
|00004d10| 00 50 72 69 76 61 74 65 | 20 53 75 62 00 20 74 6d |.Private| Sub. tm|
|00004d20| 72 4d 61 69 6e 5f 54 69 | 6d 65 72 28 29 00 20 20 |rMain_Ti|mer(). |
|00004d30| 00 44 69 6d 00 20 78 2c | 20 79 2c 20 72 2c 20 67 |.Dim. x,| y, r, g|
|00004d40| 2c 20 62 2c 20 72 61 64 | 69 75 73 20 00 27 44 65 |, b, rad|ius .'De|
|00004d50| 63 6c 61 72 65 20 76 61 | 72 69 61 62 6c 65 73 00 |clare va|riables.|
|00004d60| 00 20 20 00 27 41 73 73 | 69 67 6e 20 72 61 6e 64 |. .'Ass|ign rand|
|00004d70| 6f 6d 20 6e 75 6d 62 65 | 72 73 20 74 6f 20 76 61 |om numbe|rs to va|
|00004d80| 72 69 61 62 6c 65 73 00 | 00 20 20 78 20 3d 20 52 |riables.|. x = R|
|00004d90| 6e 64 20 2a 20 66 72 6d | 4d 61 69 6e 2e 57 69 64 |nd * frm|Main.Wid|
|00004da0| 74 68 00 20 20 79 20 3d | 20 52 6e 64 20 2a 20 66 |th. y =| Rnd * f|
|00004db0| 72 6d 4d 61 69 6e 2e 48 | 65 69 67 68 74 00 20 20 |rmMain.H|eight. |
|00004dc0| 72 20 3d 20 52 6e 64 20 | 2a 20 32 35 35 00 20 20 |r = Rnd |* 255. |
|00004dd0| 67 20 3d 20 52 6e 64 20 | 2a 20 32 35 35 00 20 20 |g = Rnd |* 255. |
|00004de0| 62 20 3d 20 52 6e 64 20 | 2a 20 32 35 35 00 20 20 |b = Rnd |* 255. |
|00004df0| 72 61 64 69 75 73 20 3d | 20 52 6e 64 20 2a 20 38 |radius =| Rnd * 8|
|00004e00| 30 30 00 20 20 00 27 64 | 72 61 77 20 74 68 65 20 |00. .'d|raw the |
|00004e10| 72 61 6e 64 6f 6d 20 63 | 69 72 63 6c 65 00 00 20 |random c|ircle.. |
|00004e20| 20 66 72 6d 4d 61 69 6e | 2e 00 43 69 72 63 6c 65 | frmMain|..Circle|
|00004e30| 00 20 28 78 2c 20 79 29 | 2c 20 72 61 64 69 75 73 |. (x, y)|, radius|
|00004e40| 2c 20 52 47 42 28 72 2c | 20 67 2c 20 62 29 00 00 |, RGB(r,| g, b)..|
|00004e50| fa 00 00 00 cb 00 00 00 | 4b 07 01 00 71 0a 01 00 |........|K...q...|
|00004e60| 2f 00 00 00 20 2c 80 97 | 01 00 80 00 00 00 02 82 |/... ,..|........|
|00004e70| 48 80 0c 00 82 82 82 83 | 82 83 80 08 00 82 ff 00 |H.......|........|
|00004e80| 45 6e 64 20 53 75 62 00 | 00 00 00 00 00 00 4e 6f |End Sub.|......No|
|00004e90| 77 20 72 75 6e 20 74 68 | 65 20 73 63 72 65 65 6e |w run th|e screen|
|00004ea0| 20 73 61 76 65 72 2e 20 | 41 73 20 79 6f 75 20 63 | saver. |As you c|
|00004eb0| 61 6e 20 73 65 65 2c 20 | 79 6f 75 20 6e 6f 77 20 |an see, |you now |
|00004ec0| 68 61 76 65 20 61 20 66 | 75 6e 63 74 69 6f 6e 61 |have a f|unctiona|
|00004ed0| 6c 2c 20 70 70 72 69 6d | 69 74 69 76 65 20 62 75 |l, pprim|itive bu|
|00004ee0| 74 20 66 75 6e 63 74 69 | 6f 6e 61 6c 2c 20 73 63 |t functi|onal, sc|
|00004ef0| 72 65 65 6e 20 73 61 76 | 65 72 2e 20 43 6c 69 63 |reen sav|er. Clic|
|00004f00| 6b 20 22 4e 45 58 54 22 | 20 74 6f 20 67 6f 20 6f |k "NEXT"| to go o|
|00004f10| 6e 20 74 6f 20 62 75 69 | 6c 64 69 6e 67 20 74 68 |n to bui|lding th|
|00004f20| 65 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |e config|uration |
|00004f30| 66 6f 72 6d 20 61 6e 64 | 20 61 74 74 61 63 68 69 |form and| attachi|
|00004f40| 6e 67 20 63 6f 64 65 2e | 00 00 60 01 00 00 db 00 |ng code.|..`.....|
|00004f50| 00 00 77 09 01 00 d1 0b | 01 00 85 00 00 00 20 d8 |..w.....|...... .|
|00004f60| 80 c1 01 00 80 00 00 00 | 0a 82 48 80 08 00 82 82 |........|..H.....|
|00004f70| 82 82 e3 e2 db ea 41 80 | 04 00 86 22 08 80 02 00 |......A.|..."....|
|00004f80| 00 04 00 89 e3 de db ea | 41 86 22 08 80 02 00 00 |........|A.".....|
|00004f90| 05 00 89 e3 e4 db ea 41 | 86 22 08 80 02 00 00 02 |.......A|."......|
|00004fa0| 00 89 80 03 00 82 80 00 | 00 86 22 08 80 02 00 00 |........|..".....|
|00004fb0| 01 00 82 82 80 05 00 82 | 80 06 00 82 80 07 00 82 |........|........|
|00004fc0| 82 80 00 00 86 22 08 80 | 02 00 00 01 00 82 ff 00 |....."..|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 4d 69 63 | 61 68 20 43 61 72 72 69 |.....Mic|ah Carri|
|00004ff0| 63 6b 27 73 20 56 69 73 | 75 61 6c 20 42 61 73 69 |ck's Vis|ual Basi|
|00005000| 63 20 53 63 72 65 65 6e | 20 53 61 76 65 72 73 20 |c Screen| Savers |
|00005010| 54 75 74 6f 72 69 61 6c | 20 56 65 72 73 69 6f 6e |Tutorial| Version|
|00005020| 20 31 2e 31 20 00 00 a9 | 20 31 39 39 39 20 4d 69 | 1.1 ...| 1999 Mi|
|00005030| 63 61 68 20 43 61 72 72 | 69 63 6b 20 2d 20 6d 69 |cah Carr|ick - mi|
|00005040| 63 61 68 40 63 61 72 72 | 69 63 6b 2e 63 6f 6d 20 |cah@carr|ick.com |
|00005050| 2d 20 68 74 74 70 3a 2f | 2f 6d 69 63 61 68 2e 63 |- http:/|/micah.c|
|00005060| 61 72 72 69 63 6b 2e 63 | 6f 6d 00 00 46 69 6e 64 |arrick.c|om..Find|
|00005070| 20 74 68 69 73 20 74 75 | 74 6f 72 69 61 6c 20 69 | this tu|torial i|
|00005080| 6e 20 48 54 4d 4c 20 66 | 6f 72 6d 20 61 74 20 77 |n HTML f|orm at w|
|00005090| 77 77 2e 63 6f 6d 70 75 | 74 65 72 67 65 65 6b 7a |ww.compu|tergeekz|
|000050a0| 2e 6e 65 74 00 00 00 00 | 00 00 5f 00 00 00 2e 00 |.net....|.._.....|
|000050b0| 00 00 71 0a 01 00 30 0c | 01 00 31 00 00 00 02 2a |..q...0.|..1....*|
|000050c0| 11 00 00 ff ff ff ff ff | ff ff ff 06 00 00 00 ff |........|........|
|000050d0| ff ff ff 30 0c 01 00 07 | 4d 01 00 43 68 61 70 74 |...0....|M..Chapt|
|000050e0| 65 72 20 46 69 76 65 20 | 2d 20 42 75 69 6c 64 69 |er Five |- Buildi|
|000050f0| 6e 67 20 74 68 65 20 43 | 6f 6e 66 69 67 75 72 61 |ng the C|onfigura|
|00005100| 74 69 6f 6e 20 46 6f 72 | 6d 78 00 00 00 39 00 00 |tion For|mx...9..|
|00005110| 00 d1 0b 01 00 a8 0c 01 | 00 3f 00 00 00 20 4e 80 |........|.?... N.|
|00005120| 76 00 80 00 00 00 0a 82 | 48 80 00 00 86 22 08 80 |v.......|H...."..|
|00005130| 02 00 00 00 00 82 82 86 | 22 08 80 02 00 00 01 00 |........|".......|
|00005140| 82 82 80 01 00 82 82 ff | 00 00 00 00 00 00 00 00 |........|........|
|00005150| 43 68 61 70 74 65 72 20 | 46 69 76 65 20 2d 20 42 |Chapter |Five - B|
|00005160| 75 69 6c 64 69 6e 67 20 | 74 68 65 20 43 6f 6e 66 |uilding |the Conf|
|00005170| 69 67 75 72 61 74 69 6f | 6e 20 46 6f 72 6d 00 00 |iguratio|n Form..|
|00005180| 00 6e 02 00 00 43 02 00 | 00 30 0c 01 00 16 0f 01 |.n...C..|.0......|
|00005190| 00 2b 00 00 00 20 24 80 | 87 04 00 80 00 00 00 02 |.+... $.|........|
|000051a0| 82 48 80 08 00 83 82 83 | 82 83 82 ff 00 00 46 69 |.H......|......Fi|
|000051b0| 72 73 74 20 70 61 72 74 | 20 6f 66 20 62 75 69 6c |rst part| of buil|
|000051c0| 64 69 6e 67 20 6f 75 72 | 20 63 6f 6e 66 69 67 75 |ding our| configu|
|000051d0| 72 61 74 69 6f 6e 20 66 | 6f 72 6d 20 69 6e 76 6f |ration f|orm invo|
|000051e0| 6c 76 65 73 20 74 68 65 | 20 70 68 79 73 69 63 61 |lves the| physica|
|000051f0| 6c 20 61 73 70 65 63 74 | 2e 20 57 65 27 72 65 20 |l aspect|. We're |
|00005200| 67 6f 69 6e 67 20 74 6f | 20 62 65 20 61 64 64 69 |going to| be addi|
|00005210| 6e 67 20 61 20 73 6c 69 | 64 65 72 20 77 68 69 63 |ng a sli|der whic|
|00005220| 68 20 77 69 6c 6c 20 63 | 6f 6e 74 72 6f 6c 20 68 |h will c|ontrol h|
|00005230| 6f 77 20 66 61 73 74 20 | 6f 75 72 20 63 69 72 63 |ow fast |our circ|
|00005240| 6c 65 73 20 77 69 6c 6c | 20 62 65 20 64 72 61 77 |les will| be draw|
|00005250| 6e 20 74 6f 20 74 68 65 | 20 73 63 72 65 65 6e 2e |n to the| screen.|
|00005260| 20 49 6e 20 6f 74 68 65 | 72 20 77 6f 72 64 73 2c | In othe|r words,|
|00005270| 20 61 20 73 6c 69 64 65 | 72 20 74 68 61 74 20 63 | a slide|r that c|
|00005280| 68 61 6e 67 65 73 20 74 | 68 65 20 76 61 6c 75 65 |hanges t|he value|
|00005290| 20 6f 66 20 74 6d 72 4d | 61 69 6e 2e 49 6e 74 65 | of tmrM|ain.Inte|
|000052a0| 72 76 61 6c 20 69 6e 20 | 66 72 6d 4d 61 69 6e 2e |rval in |frmMain.|
|000052b0| 20 57 65 27 6c 6c 20 64 | 6f 20 74 68 69 73 20 62 | We'll d|o this b|
|000052c0| 79 20 77 72 69 74 69 6e | 67 20 74 68 65 20 76 61 |y writin|g the va|
|000052d0| 6c 75 65 20 74 6f 20 74 | 68 65 20 72 65 67 69 73 |lue to t|he regis|
|000052e0| 74 72 79 2e 20 42 75 74 | 20 66 69 72 73 74 2c 20 |try. But| first, |
|000052f0| 6c 65 74 73 20 61 64 64 | 20 74 68 65 20 73 6c 69 |lets add| the sli|
|00005300| 64 65 72 20 74 6f 20 6f | 75 72 20 63 6f 6e 66 69 |der to o|ur confi|
|00005310| 67 75 72 61 74 69 6f 6e | 20 66 6f 72 6d 2e 20 00 |guration| form. .|
|00005320| 00 00 00 54 68 65 20 73 | 6c 69 64 65 72 20 63 6f |...The s|lider co|
|00005330| 6e 74 72 6f 6c 20 69 73 | 20 70 61 72 74 20 6f 66 |ntrol is| part of|
|00005340| 20 22 4d 69 63 72 6f 73 | 6f 66 74 20 43 6f 6d 6d | "Micros|oft Comm|
|00005350| 6f 6e 20 43 6f 6e 74 72 | 6f 6c 73 22 20 73 6f 20 |on Contr|ols" so |
|00005360| 66 72 6f 6d 20 74 68 65 | 20 22 50 72 6f 6a 65 63 |from the| "Projec|
|00005370| 74 22 20 6d 65 6e 75 2c | 20 73 65 6c 65 63 74 20 |t" menu,| select |
|00005380| 22 43 6f 6d 70 6f 6e 65 | 6e 74 73 22 20 61 6e 64 |"Compone|nts" and|
|00005390| 20 74 68 65 6e 20 66 69 | 6e 64 20 61 6e 64 20 63 | then fi|nd and c|
|000053a0| 68 65 63 6b 20 22 4d 69 | 63 72 6f 73 6f 66 74 20 |heck "Mi|crosoft |
|000053b0| 43 6f 6d 6d 6f 6e 20 43 | 6f 6e 74 72 6f 6c 73 22 |Common C|ontrols"|
|000053c0| 20 61 6e 64 20 63 6c 69 | 63 6b 20 4f 4b 2e 20 4e | and cli|ck OK. N|
|000053d0| 6f 77 20 70 75 74 20 61 | 20 53 6c 69 64 65 72 20 |ow put a| Slider |
|000053e0| 6f 6e 20 79 6f 75 72 20 | 66 6f 72 6d 2e 00 00 28 |on your |form...(|
|000053f0| 00 00 00 03 00 00 00 a8 | 0c 01 00 3e 0f 01 00 25 |........|...>...%|
|00005400| 00 00 00 20 1a 80 06 00 | 80 00 00 00 02 82 48 80 |... ....|......H.|
|00005410| 08 00 82 ff 00 00 00 32 | 00 00 00 04 00 00 00 16 |.......2|........|
|00005420| 0f 01 00 70 0f 01 00 2e | 00 00 00 20 2c 80 0a 00 |...p....|... ,...|
|00005430| 80 00 00 00 0a 82 48 80 | 00 00 86 22 08 80 02 00 |......H.|..."....|
|00005440| 00 07 00 82 ff 00 00 00 | 00 bd 00 00 00 90 00 00 |........|........|
|00005450| 00 3e 0f 01 00 39 40 01 | 00 2d 00 00 00 20 28 80 |.>...9@.|.-... (.|
|00005460| 21 01 00 80 00 00 00 02 | 82 48 80 00 00 82 83 80 |!.......|.H......|
|00005470| 08 00 82 82 82 ff 00 00 | 00 00 59 6f 75 20 63 61 |........|..You ca|
|00005480| 6e 20 61 72 72 61 6e 67 | 65 20 66 72 6d 43 6f 6e |n arrang|e frmCon|
|00005490| 66 69 67 27 73 20 63 6f | 6e 74 72 6f 6c 73 20 61 |fig's co|ntrols a|
|000054a0| 6e 79 20 77 61 79 20 79 | 6f 75 20 77 61 6e 74 2c |ny way y|ou want,|
|000054b0| 20 62 75 74 20 68 65 72 | 65 27 73 20 74 68 65 20 | but her|e's the |
|000054c0| 63 6f 6e 74 72 6f 6c 73 | 20 77 65 27 6c 6c 20 62 |controls| we'll b|
|000054d0| 65 20 75 73 69 6e 67 20 | 61 70 0f 01 00 39 40 01 |e using |ap...9@.|
|000054e0| 00 d1 0b 01 00 6e 64 20 | 74 68 65 20 76 61 6c 75 |.....nd |the valu|
|000054f0| 65 73 20 79 6f 75 20 6e | 65 65 64 20 74 6f 20 61 |es you n|eed to a|
|00005500| 73 73 69 67 6e 20 74 6f | 20 74 68 65 6d 2e 00 00 |ssign to| them...|
|00005510| 00 00 71 00 00 00 1f 00 | 00 00 70 0f 01 00 aa 40 |..q.....|..p....@|
|00005520| 01 00 52 00 00 00 23 74 | 80 3e 03 01 12 01 06 00 |..R...#t|.>......|
|00005530| 14 01 06 00 15 01 06 00 | 00 00 01 16 80 00 80 00 |........|........|
|00005540| 00 00 00 80 09 00 82 ff | 01 00 01 10 80 14 80 00 |........|........|
|00005550| 00 00 00 82 ff 02 00 01 | 10 80 2a 80 00 00 00 00 |........|..*.....|
|00005560| 82 ff ff ff 00 4f 62 6a | 65 63 74 3a 00 00 50 72 |.....Obj|ect:..Pr|
|00005570| 6f 70 65 72 74 79 3a 00 | 00 53 65 74 74 69 6e 67 |operty:.|.Setting|
|00005580| 3a 00 00 db 00 00 00 72 | 00 00 00 39 40 01 00 85 |:......r|...9@...|
|00005590| 41 01 00 69 00 00 00 23 | a2 80 e4 03 01 12 01 06 |A..i...#|........|
|000055a0| 00 14 01 06 00 15 01 06 | 00 00 00 01 22 80 00 80 |........|...."...|
|000055b0| 00 00 00 00 80 02 00 81 | 81 81 81 81 81 82 ff 01 |........|........|
|000055c0| 00 01 24 80 44 80 00 00 | 00 00 80 00 00 81 81 81 |..$.D...|........|
|000055d0| 81 81 81 81 82 ff 02 00 | 01 1e 80 90 80 00 00 00 |........|........|
|000055e0| 00 81 81 81 81 81 81 81 | 82 ff ff ff 00 46 72 61 |........|.....Fra|
|000055f0| 6d 65 00 00 53 6c 69 64 | 65 72 00 00 00 00 43 6f |me..Slid|er....Co|
|00005600| 6d 6d 61 6e 64 20 42 75 | 74 74 6f 6e 00 00 00 43 |mmand Bu|tton...C|
|00005610| 61 70 74 69 6f 6e 00 00 | 4e 61 6d 65 00 4d 61 78 |aption..|Name.Max|
|00005620| 00 4d 69 6e 00 00 4e 61 | 6d 65 00 43 61 70 74 69 |.Min..Na|me.Capti|
|00005630| 6f 6e 00 00 44 72 61 77 | 20 53 70 65 65 64 00 00 |on..Draw| Speed..|
|00005640| 73 6c 64 53 70 65 65 64 | 00 31 30 00 31 00 00 63 |sldSpeed|.10.1..c|
|00005650| 6d 64 44 6f 6e 65 00 26 | 44 6f 6e 65 00 00 29 00 |mdDone.&|Done..).|
|00005660| 00 00 05 00 00 00 aa 40 | 01 00 ae 41 01 00 24 00 |.......@|...A..$.|
|00005670| 00 00 20 18 80 0a 00 80 | 00 00 00 00 80 08 00 82 |.. .....|........|
|00005680| 82 ff 00 20 00 00 00 e7 | 00 00 00 bf 00 00 00 85 |... ....|........|
|00005690| 41 01 00 95 42 01 00 28 | 00 00 00 20 1e 80 7f 01 |A...B..(|... ....|
|000056a0| 00 80 00 00 00 02 82 48 | 80 08 00 83 82 82 ff 00 |.......H|........|
|000056b0| 00 53 6f 2c 20 6e 6f 77 | 20 6f 75 72 20 63 6f 6e |.So, now| our con|
|000056c0| 66 69 67 75 72 61 74 69 | 6f 6e 20 66 6f 72 6d 20 |figurati|on form |
|000056d0| 28 66 72 6d 43 6f 6e 66 | 69 67 29 20 73 68 6f 75 |(frmConf|ig) shou|
|000056e0| 6c 64 20 6c 6f 6f 6b 20 | 73 6f 6d 65 74 68 69 6e |ld look |somethin|
|000056f0| 67 20 6c 69 6b 65 20 74 | 68 69 73 2c 20 6f 6e 6c |g like t|his, onl|
|00005700| 79 20 77 69 74 68 6f 75 | 74 20 74 68 65 20 6c 61 |y withou|t the la|
|00005710| 62 65 6c 73 20 75 6e 64 | 65 72 20 74 68 65 20 73 |bels und|er the s|
|00005720| 6c 69 64 65 72 20 74 68 | 61 74 20 72 65 61 64 20 |lider th|at read |
|00005730| 22 53 6c 6f 77 22 20 61 | 6e 64 20 22 46 61 73 74 |"Slow" a|nd "Fast|
|00005740| 22 2e 20 59 6f 75 20 63 | 61 6e 20 69 6e 63 6c 75 |". You c|an inclu|
|00005750| 64 65 20 74 68 6f 73 65 | 20 69 66 20 79 6f 75 20 |de those| if you |
|00005760| 77 61 6e 74 20 74 6f 20 | 2e 2e 2e 00 00 00 32 00 |want to |......2.|
|00005770| 00 00 04 00 00 00 ae 41 | 01 00 c7 42 01 00 2e 00 |.......A|...B....|
|00005780| 00 00 20 2c 80 0a 00 80 | 00 00 00 0a 82 48 80 08 |.. ,....|.....H..|
|00005790| 00 86 22 08 80 02 00 00 | 08 00 82 ff 00 00 00 00 |..".....|........|
|000057a0| 11 02 00 00 df 01 00 00 | 95 42 01 00 d8 44 01 00 |........|.B...D..|
|000057b0| 32 00 00 00 20 32 80 bf | 03 00 80 00 00 00 02 82 |2... 2..|........|
|000057c0| 48 80 08 00 82 82 83 82 | 82 82 80 0c 00 80 0d 00 |H.......|........|
|000057d0| 82 ff 00 00 00 00 4e 65 | 78 74 20 6f 6e 20 74 68 |......Ne|xt on th|
|000057e0| 65 20 61 67 65 6e 64 61 | 2c 20 77 65 20 77 69 6c |e agenda|, we wil|
|000057f0| 6c 20 61 74 74 61 63 68 | 20 74 68 65 20 6e 65 65 |l attach| the nee|
|00005800| 64 65 64 20 63 6f 64 65 | 20 74 6f 20 74 68 65 20 |ded code| to the |
|00005810| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 66 6f |configur|ation fo|
|00005820| 72 6d 2e 20 42 61 73 69 | 63 61 6c 6c 79 2c 20 61 |rm. Basi|cally, a|
|00005830| 6c 6c 20 77 65 27 72 65 | 20 67 6f 69 6e 67 20 74 |ll we're| going t|
|00005840| 6f 20 64 6f 20 69 73 20 | 72 65 61 64 20 66 72 6f |o do is |read fro|
|00005850| 6d 20 74 68 65 20 72 65 | 67 69 73 74 72 79 20 6f |m the re|gistry o|
|00005860| 6e 20 6c 6f 61 64 20 61 | 6e 64 20 73 65 74 20 74 |n load a|nd set t|
|00005870| 68 65 20 73 6c 69 64 65 | 72 27 73 20 76 61 6c 75 |he slide|r's valu|
|00005880| 65 20 61 63 63 6f 72 64 | 69 6e 67 6c 79 2c 20 61 |e accord|ingly, a|
|00005890| 6e 64 20 74 68 65 6e 20 | 77 72 69 74 65 20 6e 65 |nd then |write ne|
|000058a0| 77 20 73 65 74 74 69 6e | 67 73 20 74 6f 20 74 68 |w settin|gs to th|
|000058b0| 65 20 72 65 67 69 73 74 | 72 79 20 77 68 65 6e 20 |e regist|ry when |
|000058c0| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 62 75 74 74 |the comm|and butt|
|000058d0| 6f 6e 20 69 73 20 63 6c | 69 63 6b 65 64 2e 20 48 |on is cl|icked. H|
|000058e0| 65 72 65 27 73 20 74 68 | 65 20 63 6f 64 65 20 74 |ere's th|e code t|
|000058f0| 6f 20 70 61 73 74 65 20 | 69 6e 74 6f 20 74 68 65 |o paste |into the|
|00005900| 20 66 72 6d 43 6f 6e 66 | 69 67 20 63 6f 64 65 20 | frmConf|ig code |
|00005910| 28 49 74 27 73 20 76 69 | 74 61 6c 20 74 68 61 74 |(It's vi|tal that|
|00005920| 20 79 6f 75 20 73 65 74 | 20 74 68 65 20 73 6c 69 | you set| the sli|
|00005930| 64 65 72 27 73 20 6d 69 | 6e 20 76 61 6c 75 65 20 |der's mi|n value |
|00005940| 74 6f 20 31 20 61 6e 64 | 20 6e 6f 74 20 30 20 6f |to 1 and| not 0 o|
|00005950| 72 20 79 6f 75 27 6c 6c | 20 67 65 74 20 61 6e 20 |r you'll| get an |
|00005960| 65 72 72 6f 72 20 6c 61 | 74 65 72 20 77 68 65 6e |error la|ter when|
|00005970| 20 77 65 20 74 72 79 20 | 74 6f 20 73 65 74 20 74 | we try |to set t|
|00005980| 68 65 20 64 72 61 77 20 | 73 70 65 65 64 29 3a 00 |he draw |speed):.|
|00005990| 00 00 00 50 72 69 76 61 | 74 65 20 53 75 62 20 00 |...Priva|te Sub .|
|000059a0| 63 6d 64 44 6f 6e 65 5f | 43 6c 69 63 6b 28 29 00 |cmdDone_|Click().|
|000059b0| 00 af 02 00 00 57 02 00 | 00 c7 42 01 00 87 47 01 |.....W..|..B...G.|
|000059c0| 00 58 00 00 00 20 7e 80 | af 04 00 80 00 00 00 02 |.X... ~.|........|
|000059d0| 82 48 80 0c 00 80 0e 00 | 82 80 0c 00 80 0d 00 82 |.H......|........|
|000059e0| 82 80 0c 00 82 82 82 80 | 0d 00 82 80 0c 00 80 0e |........|........|
|000059f0| 00 82 82 80 0c 00 80 0d | 00 82 82 80 0c 00 82 82 |........|........|
|00005a00| 82 83 82 80 08 00 83 82 | ff 00 20 20 00 27 57 72 |........|.. .'Wr|
|00005a10| 69 74 65 20 76 61 6c 75 | 65 20 74 6f 20 72 65 67 |ite valu|e to reg|
|00005a20| 69 73 74 72 79 00 00 20 | 20 00 53 61 76 65 53 65 |istry.. | .SaveSe|
|00005a30| 74 74 69 6e 67 20 22 53 | 61 76 65 72 22 2c 20 22 |tting "S|aver", "|
|00005a40| 53 65 74 74 69 6e 67 73 | 22 2c 20 22 44 72 61 77 |Settings|", "Draw|
|00005a50| 53 70 65 65 64 22 2c 20 | 5f 00 20 20 73 6c 64 53 |Speed", |_. sldS|
|00005a60| 70 65 65 64 2e 56 61 6c | 75 65 00 00 20 20 45 6e |peed.Val|ue.. En|
|00005a70| 64 00 45 6e 64 20 53 75 | 62 00 00 50 72 69 76 61 |d.End Su|b..Priva|
|00005a80| 74 65 20 53 75 62 20 00 | 46 6f 72 6d 5f 4c 6f 61 |te Sub .|Form_Loa|
|00005a90| 64 28 29 00 00 20 20 00 | 27 52 65 61 64 20 76 61 |d().. .|'Read va|
|00005aa0| 6c 75 65 20 66 72 6f 6d | 20 72 65 67 69 73 74 72 |lue from| registr|
|00005ab0| 79 20 61 6e 64 20 73 65 | 74 20 73 6c 69 64 65 72 |y and se|t slider|
|00005ac0| 20 61 63 63 6f 72 64 69 | 6e 67 6c 79 00 20 20 27 | accordi|ngly. '|
|00005ad0| 35 20 69 73 20 64 65 66 | 61 75 6c 74 20 28 69 66 |5 is def|ault (if|
|00005ae0| 20 76 61 6c 75 65 20 69 | 73 6e 27 74 20 66 6f 75 | value i|sn't fou|
|00005af0| 6e 64 29 00 00 20 00 20 | 73 6c 64 53 70 65 65 64 |nd).. . |sldSpeed|
|00005b00| 2e 56 61 6c 75 65 20 3d | 20 47 65 74 53 65 74 74 |.Value =| GetSett|
|00005b10| 69 6e 67 28 22 53 61 76 | 65 72 22 2c 20 22 53 65 |ing("Sav|er", "Se|
|00005b20| 74 74 69 6e 67 73 22 2c | 20 5f 00 20 20 22 44 72 |ttings",| _. "Dr|
|00005b30| 61 77 53 70 65 65 64 22 | 2c 20 22 35 22 29 00 00 |awSpeed"|, "5")..|
|00005b40| 45 6e 64 20 53 75 62 00 | 00 00 00 00 00 00 54 68 |End Sub.|......Th|
|00005b50| 61 74 27 73 20 69 74 20 | 66 6f 72 20 74 68 65 20 |at's it |for the |
|00005b60| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 66 6f |configur|ation fo|
|00005b70| 72 6d 27 73 20 63 6f 64 | 65 2e 20 42 75 74 20 69 |rm's cod|e. But i|
|00005b80| 74 20 64 6f 65 73 6e 27 | 74 20 64 6f 20 61 6e 79 |t doesn'|t do any|
|00005b90| 20 67 6f 6f 20 75 6e 6c | 65 73 73 20 77 65 20 6d | goo unl|ess we m|
|00005ba0| 6f 64 69 66 79 20 74 68 | 65 20 63 6f 64 65 20 69 |odify th|e code i|
|00005bb0| 6e 20 66 72 6d 4d 61 69 | 6e 2e 20 53 6f 2c 20 77 |n frmMai|n. So, w|
|00005bc0| 65 20 77 69 6c 6c 20 65 | 64 69 74 20 74 68 65 20 |e will e|dit the |
|00005bd0| 66 72 6d 4d 61 69 6e 27 | 73 20 46 6f 72 6d 5f 4c |frmMain'|s Form_L|
|00005be0| 6f 61 64 20 65 76 65 6e | 74 20 74 6f 20 72 65 61 |oad even|t to rea|
|00005bf0| 64 20 74 68 65 20 73 65 | 74 74 69 6e 67 20 66 72 |d the se|tting fr|
|00005c00| 6f 6d 20 74 68 65 20 72 | 65 67 69 73 74 72 79 20 |om the r|egistry |
|00005c10| 61 6e 64 20 73 65 74 20 | 74 68 65 20 74 6d 72 4d |and set |the tmrM|
|00005c20| 61 69 6e 2e 49 6e 74 65 | 72 76 61 6c 20 61 63 63 |ain.Inte|rval acc|
|00005c30| 6f 72 64 69 6e 67 6c 79 | 2e 20 41 64 64 20 74 68 |ordingly|. Add th|
|00005c40| 69 73 20 63 6f 64 65 20 | 69 6e 20 74 68 65 20 66 |is code |in the f|
|00005c50| 72 6d 4d 61 69 6e 27 73 | 20 63 6f 64 65 3a 00 00 |rmMain's| code:..|
|00005c60| 13 02 00 00 a9 01 00 00 | d8 44 01 00 9a 49 01 00 |........|.D...I..|
|00005c70| 6a 00 00 00 20 a2 80 53 | 03 00 80 00 00 00 02 82 |j... ..S|........|
|00005c80| 48 80 08 00 82 82 80 0c | 00 80 0d 00 82 80 0e 00 |H.......|........|
|00005c90| 82 82 80 0c 00 80 0d 00 | 82 80 0c 00 80 0d 00 82 |........|........|
|00005ca0| 82 80 0c 00 80 0d 00 82 | 82 80 0c 00 80 0d 00 82 |........|........|
|00005cb0| 82 80 0c 00 80 0d 00 82 | 82 80 0c 00 80 0d 00 82 |........|........|
|00005cc0| 82 80 0c 00 80 0d 00 82 | 82 ff 00 00 00 00 50 72 |........|......Pr|
|00005cd0| 69 76 61 74 65 20 53 75 | 62 00 20 46 6f 72 6d 5f |ivate Su|b. Form_|
|00005ce0| 4c 6f 61 64 28 29 00 00 | 20 20 27 44 65 70 65 6e |Load()..| 'Depen|
|00005cf0| 64 69 6e 67 20 6f 6e 20 | 74 68 65 20 76 61 6c 75 |ding on |the valu|
|00005d00| 65 20 69 6e 20 74 68 65 | 20 72 65 67 69 73 74 72 |e in the| registr|
|00005d10| 79 2c 20 73 65 74 20 73 | 70 65 65 64 20 6f 66 00 |y, set s|peed of.|
|00005d20| 20 20 27 64 72 61 77 69 | 6e 67 20 63 69 72 63 6c | 'drawi|ng circl|
|00005d30| 65 73 00 00 20 20 53 65 | 6c 65 63 74 20 43 61 73 |es.. Se|lect Cas|
|00005d40| 65 00 20 47 65 74 53 65 | 74 74 69 6e 67 28 22 53 |e. GetSe|tting("S|
|00005d50| 61 76 65 72 22 2c 20 22 | 53 65 74 74 69 6e 67 73 |aver", "|Settings|
|00005d60| 22 2c 20 22 44 72 61 77 | 53 70 65 65 64 22 2c 20 |", "Draw|Speed", |
|00005d70| 22 35 22 29 00 20 20 20 | 20 00 43 61 73 65 00 20 |"5"). | .Case. |
|00005d80| 31 00 20 20 20 20 20 20 | 74 6d 72 4d 61 69 6e 2e |1. |tmrMain.|
|00005d90| 49 6e 74 65 72 76 61 6c | 20 3d 20 31 30 30 30 00 |Interval| = 1000.|
|00005da0| 20 20 20 20 00 43 61 73 | 65 00 20 32 00 20 20 20 | .Cas|e. 2. |
|00005db0| 20 20 20 74 6d 72 4d 61 | 69 6e 2e 49 6e 74 65 72 | tmrMa|in.Inter|
|00005dc0| 76 61 6c 20 3d 20 39 30 | 30 00 20 20 20 20 00 43 |val = 90|0. .C|
|00005dd0| 61 73 65 00 20 33 00 20 | 20 20 20 20 20 74 6d 72 |ase. 3. | tmr|
|00005de0| 4d 61 69 6e 2e 49 6e 74 | 65 72 76 61 6c 20 3d 20 |Main.Int|erval = |
|00005df0| 38 30 30 00 20 20 20 20 | 00 43 61 73 65 00 20 34 |800. |.Case. 4|
|00005e00| 00 20 20 20 20 20 20 74 | 6d 72 4d 61 69 6e 2e 49 |. t|mrMain.I|
|00005e10| 6e 74 65 72 76 61 6c 20 | 3d 20 37 30 30 00 20 20 |nterval |= 700. |
|00005e20| 20 20 00 43 61 73 65 00 | 20 35 00 20 20 20 20 20 | .Case.| 5. |
|00005e30| 20 74 6d 72 4d 61 69 6e | 2e 49 6e 74 65 72 76 61 | tmrMain|.Interva|
|00005e40| 6c 20 3d 20 36 30 30 00 | 20 20 20 20 00 43 61 73 |l = 600.| .Cas|
|00005e50| 65 00 20 36 00 20 20 20 | 20 20 20 74 6d 72 4d 61 |e. 6. | tmrMa|
|00005e60| 69 6e 2e 49 6e 74 65 72 | 76 61 6c 20 3d 20 35 30 |in.Inter|val = 50|
|00005e70| 30 00 00 0d 02 00 00 bc | 01 00 00 87 47 01 00 a7 |0.......|....G...|
|00005e80| 4b 01 00 51 00 00 00 20 | 70 80 79 03 00 80 00 00 |K..Q... |p.y.....|
|00005e90| 00 02 82 48 80 0d 00 80 | 0c 00 80 0d 00 82 82 80 |...H....|........|
|00005ea0| 0c 00 80 0d 00 82 82 80 | 0c 00 80 0d 00 82 82 80 |........|........|
|00005eb0| 0c 00 80 0d 00 82 82 80 | 0c 00 82 82 82 82 83 80 |........|........|
|00005ec0| 08 00 82 ff 00 20 20 20 | 20 00 43 61 73 65 00 20 |..... | .Case. |
|00005ed0| 37 00 20 20 20 20 20 20 | 74 6d 72 4d 61 69 6e 2e |7. |tmrMain.|
|00005ee0| 49 6e 74 65 72 76 61 6c | 20 3d 20 34 30 30 00 20 |Interval| = 400. |
|00005ef0| 20 20 20 00 43 61 73 65 | 00 20 38 00 20 20 20 20 | .Case|. 8. |
|00005f00| 20 20 74 6d 72 4d 61 69 | 6e 2e 49 6e 74 65 72 76 | tmrMai|n.Interv|
|00005f10| 61 6c 20 3d 20 33 30 30 | 00 20 20 20 20 00 43 61 |al = 300|. .Ca|
|00005f20| 73 65 00 20 39 00 20 20 | 20 20 20 20 74 6d 72 4d |se. 9. | tmrM|
|00005f30| 61 69 6e 2e 49 6e 74 65 | 72 76 61 6c 20 3d 20 32 |ain.Inte|rval = 2|
|00005f40| 30 30 00 20 20 20 20 00 | 43 61 73 65 00 20 31 30 |00. .|Case. 10|
|00005f50| 00 20 20 20 20 20 20 74 | 6d 72 4d 61 69 6e 2e 49 |. t|mrMain.I|
|00005f60| 6e 74 65 72 76 61 6c 20 | 3d 20 31 30 30 00 20 20 |nterval |= 100. |
|00005f70| 00 45 6e 64 20 53 65 6c | 65 63 74 00 45 6e 64 20 |.End Sel|ect.End |
|00005f80| 53 75 62 00 00 00 00 00 | 49 6e 20 6f 72 64 65 72 |Sub.....|In order|
|00005f90| 20 74 6f 20 74 65 73 74 | 20 74 68 65 20 64 69 66 | to test| the dif|
|00005fa0| 66 65 72 65 6e 74 20 73 | 70 65 65 64 20 73 65 74 |ferent s|peed set|
|00005fb0| 74 69 6e 67 73 2c 20 79 | 6f 75 27 64 20 68 61 76 |tings, y|ou'd hav|
|00005fc0| 65 20 74 6f 20 63 6f 6d | 70 69 6c 65 20 74 68 65 |e to com|pile the|
|00005fd0| 20 73 63 72 65 65 6e 20 | 73 61 76 65 72 20 61 6e | screen |saver an|
|00005fe0| 64 20 74 65 73 74 20 69 | 74 20 69 6e 20 74 68 65 |d test i|t in the|
|00005ff0| 20 64 65 73 6b 74 6f 70 | 20 70 72 6f 70 65 72 74 | desktop| propert|
|00006000| 69 65 73 2e 20 42 75 74 | 2c 20 74 68 61 74 27 73 |ies. But|, that's|
|00006010| 20 74 68 65 20 65 78 74 | 65 6e 74 20 6f 66 20 74 | the ext|ent of t|
|00006020| 68 69 73 20 74 75 74 6f | 72 69 61 6c 20 61 6e 79 |his tuto|rial any|
|00006030| 20 77 61 79 2e 20 53 6f | 2c 20 67 6f 20 6f 6e 20 | way. So|, go on |
|00006040| 74 68 65 20 6e 65 78 74 | 20 63 68 61 70 74 65 72 |the next| chapter|
|00006050| 20 61 6e 64 20 63 6f 6d | 70 69 6c 65 20 74 68 65 | and com|pile the|
|00006060| 20 73 63 72 65 65 6e 20 | 73 61 76 65 72 20 61 6e | screen |saver an|
|00006070| 64 20 74 65 73 74 20 69 | 74 20 6f 75 74 2e 00 00 |d test i|t out...|
|00006080| 60 01 00 00 db 00 00 00 | 9a 49 01 00 07 4d 01 00 |`.......|.I...M..|
|00006090| 85 00 00 00 20 d8 80 c1 | 01 00 80 00 00 00 0a 82 |.... ...|........|
|000060a0| 48 80 08 00 82 82 82 82 | e3 e3 db ea 41 80 04 00 |H.......|....A...|
|000060b0| 86 22 08 80 02 00 00 04 | 00 89 e3 de db ea 41 86 |."......|......A.|
|000060c0| 22 08 80 02 00 00 05 00 | 89 e3 e5 db ea 41 86 22 |".......|.....A."|
|000060d0| 08 80 02 00 00 02 00 89 | 80 03 00 82 80 00 00 86 |........|........|
|000060e0| 22 08 80 02 00 00 01 00 | 82 82 80 05 00 82 80 06 |".......|........|
|000060f0| 00 82 80 07 00 82 82 80 | 00 00 86 22 08 80 02 00 |........|..."....|
|00006100| 00 01 00 82 ff 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006110| 00 00 00 00 00 00 00 00 | 00 00 00 4d 69 63 61 68 |........|...Micah|
|00006120| 20 43 61 72 72 69 63 6b | 27 73 20 56 69 73 75 61 | Carrick|'s Visua|
|00006130| 6c 20 42 61 73 69 63 20 | 53 63 72 65 65 6e 20 53 |l Basic |Screen S|
|00006140| 61 76 65 72 73 20 54 75 | 74 6f 72 69 61 6c 20 56 |avers Tu|torial V|
|00006150| 65 72 73 69 6f 6e 20 31 | 2e 31 20 00 00 a9 20 31 |ersion 1|.1 ... 1|
|00006160| 39 39 39 20 4d 69 63 61 | 68 20 43 61 72 72 69 63 |999 Mica|h Carric|
|00006170| 6b 20 2d 20 6d 69 63 61 | 68 40 63 61 72 72 69 63 |k - mica|h@carric|
|00006180| 6b 2e 63 6f 6d 20 2d 20 | 68 74 74 70 3a 2f 2f 6d |k.com - |http://m|
|00006190| 69 63 61 68 2e 63 61 72 | 72 69 63 6b 2e 63 6f 6d |icah.car|rick.com|
|000061a0| 00 00 46 69 6e 64 20 74 | 68 69 73 20 74 75 74 6f |..Find t|his tuto|
|000061b0| 72 69 61 6c 20 69 6e 20 | 48 54 4d 4c 20 66 6f 72 |rial in |HTML for|
|000061c0| 6d 20 61 74 20 77 77 77 | 2e 63 6f 6d 70 75 74 65 |m at www|.compute|
|000061d0| 72 67 65 65 6b 7a 2e 6e | 65 74 00 00 00 00 00 00 |rgeekz.n|et......|
|000061e0| 65 00 00 00 34 00 00 00 | a7 4b 01 00 6c 4d 01 00 |e...4...|.K..lM..|
|000061f0| 31 00 00 00 02 14 08 00 | 00 ff ff ff ff ff ff ff |1.......|........|
|00006200| ff 07 00 00 00 ff ff ff | ff 6c 4d 01 00 32 84 01 |........|.lM..2..|
|00006210| 00 43 68 61 70 74 65 72 | 20 53 69 78 20 2d 20 43 |.Chapter| Six - C|
|00006220| 6f 6d 70 69 6c 69 6e 67 | 20 61 6e 64 20 52 75 6e |ompiling| and Run|
|00006230| 6e 69 6e 67 20 74 68 65 | 20 53 63 72 65 65 6e 20 |ning the| Screen |
|00006240| 53 61 76 65 72 7e 00 00 | 00 3f 00 00 00 07 4d 01 |Saver~..|.?....M.|
|00006250| 00 ea 4d 01 00 3f 00 00 | 00 20 4e 80 82 00 80 00 |..M..?..|. N.....|
|00006260| 00 00 0a 82 48 80 00 00 | 86 22 08 80 02 00 00 00 |....H...|."......|
|00006270| 00 82 82 86 22 08 80 02 | 00 00 01 00 82 82 80 01 |...."...|........|
|00006280| 00 82 82 ff 00 00 00 00 | 00 00 00 00 43 68 61 70 |........|....Chap|
|00006290| 74 65 72 20 53 69 78 20 | 2d 20 43 6f 6d 70 69 6c |ter Six |- Compil|
|000062a0| 69 6e 67 20 61 6e 64 20 | 52 75 6e 6e 69 6e 67 20 |ing and |Running |
|000062b0| 74 68 65 20 53 63 72 65 | 65 6e 20 53 61 76 65 72 |the Scre|en Saver|
|000062c0| 00 00 00 3b 03 00 00 11 | 03 00 00 6c 4d 01 00 31 |...;....|...lM..1|
|000062d0| 81 01 00 2a 00 00 00 20 | 22 80 23 06 00 80 00 00 |...*... |".#.....|
|000062e0| 00 02 82 48 80 08 00 83 | 82 82 83 82 ff 00 00 46 |...H....|.......F|
|000062f0| 69 6e 61 6c 6c 79 20 66 | 69 6e 69 73 68 65 64 2e |inally f|inished.|
|00006300| 20 57 65 20 6a 75 73 74 | 20 6e 65 65 64 20 74 6f | We just| need to|
|00006310| 20 63 6f 6d 70 69 6c 65 | 20 74 68 65 20 73 63 72 | compile| the scr|
|00006320| 65 65 6e 20 73 61 76 65 | 72 2e 20 53 6f 20 6c 65 |een save|r. So le|
|00006330| 74 73 20 64 6f 20 74 68 | 61 74 2e 20 57 68 61 74 |ts do th|at. What|
|00006340| 20 79 6f 75 20 6e 65 65 | 64 20 74 6f 20 64 6f 20 | you nee|d to do |
|00006350| 69 73 2c 20 6c 69 6b 65 | 20 61 6e 79 20 65 78 65 |is, like| any exe|
|00006360| 20 66 69 6c 65 2c 20 63 | 68 6f 6f 73 65 20 22 4d | file, c|hoose "M|
|00006370| 61 6b 65 20 53 61 76 65 | 72 2e 65 78 65 22 20 66 |ake Save|r.exe" f|
|00006380| 72 6f 6d 20 74 68 65 20 | 22 46 69 6c 65 22 20 6d |rom the |"File" m|
|00006390| 65 6e 75 2e 20 42 75 74 | 2c 20 69 6e 20 74 68 65 |enu. But|, in the|
|000063a0| 20 64 69 61 6c 6f 67 20 | 62 6f 78 2c 20 63 68 61 | dialog |box, cha|
|000063b0| 6e 67 65 20 74 68 65 20 | 65 78 74 65 6e 73 69 6f |nge the |extensio|
|000063c0| 6e 20 66 72 6f 6d 20 2e | 45 58 45 20 74 6f 20 2e |n from .|EXE to .|
|000063d0| 53 43 52 20 61 6e 64 20 | 74 68 65 20 67 6f 20 61 |SCR and |the go a|
|000063e0| 68 65 61 64 20 61 6e 64 | 20 63 6f 6d 70 69 6c 65 |head and| compile|
|000063f0| 20 69 74 2e 20 54 68 61 | 74 27 73 20 69 74 2e 20 | it. Tha|t's it. |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.