home *** CD-ROM | disk | FTP | other *** search
/ Using Visual Basic 5 (Platinum Edition) / vb5.iso / kbase / SEVB5 / SEVB10A.HTM < prev    next >
LaTeX Document  |  1997-10-03  |  2.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document, ASCII text, with very long lines (321), with CRLF line terminators default
100% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: Plain text[CRLF] default
100% binwalkID HTML document header default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 48 54 4d 4c 3e 0d 0a | 3c 48 45 41 44 3e 3c 54 |<HTML>..|<HEAD><T|
|00000010| 49 54 4c 45 3e 43 68 20 | 31 39 20 2d 20 52 65 67 |ITLE>Ch |19 - Reg|
|00000020| 69 73 74 65 72 69 6e 67 | 20 59 6f 75 72 20 41 70 |istering| Your Ap|
|00000030| 70 6c 69 63 61 74 69 6f | 6e 20 2d 20 53 70 65 63 |plicatio|n - Spec|
|00000040| 69 61 6c 20 45 64 69 74 | 69 6f 6e 20 55 73 69 6e |ial Edit|ion Usin|
|00000050| 67 20 56 69 73 75 61 6c | 20 42 61 73 69 63 20 35 |g Visual| Basic 5|
|00000060| 3c 2f 54 49 54 4c 45 3e | 0d 0a 3c 2f 48 45 41 44 |</TITLE>|..</HEAD|
|00000070| 3e 0d 0a 3c 42 4f 44 59 | 20 42 47 43 4f 4c 4f 52 |>..<BODY| BGCOLOR|
|00000080| 3d 22 23 66 66 66 66 66 | 66 22 20 54 45 58 54 3d |="#fffff|f" TEXT=|
|00000090| 22 23 30 30 30 30 30 30 | 22 3e 0d 0a 3c 70 3e 3c |"#000000|">..<p><|
|000000a0| 48 32 3e 3c 62 3e 41 73 | 73 6f 63 69 61 74 69 6e |H2><b>As|sociatin|
|000000b0| 67 20 61 20 46 69 6c 65 | 20 54 79 70 65 20 77 69 |g a File| Type wi|
|000000c0| 74 68 20 59 6f 75 72 20 | 41 70 70 6c 69 63 61 74 |th Your |Applicat|
|000000d0| 69 6f 6e 3c 2f 62 3e 3c | 2f 48 32 3e 3c 2f 50 3e |ion</b><|/H2></P>|
|000000e0| 0d 0a 3c 48 52 3e 20 0d | 0a 3c 50 3e 54 68 65 20 |..<HR> .|.<P>The |
|000000f0| 52 65 67 69 73 74 72 79 | 20 63 6f 6e 74 61 69 6e |Registry| contain|
|00000100| 73 20 3c 49 3e 46 69 6c | 65 54 79 70 65 3c 2f 69 |s <I>Fil|eType</i|
|00000110| 3e 20 6b 65 79 73 20 74 | 68 61 74 20 69 64 65 6e |> keys t|hat iden|
|00000120| 74 69 66 79 20 73 70 65 | 63 69 66 69 63 20 66 69 |tify spe|cific fi|
|00000130| 6c 65 20 65 78 74 65 6e | 73 69 6f 6e 73 20 61 73 |le exten|sions as|
|00000140| 20 62 65 6c 6f 6e 67 69 | 6e 67 20 74 6f 20 73 70 | belongi|ng to sp|
|00000150| 65 63 69 66 69 63 20 61 | 70 70 6c 69 63 61 74 69 |ecific a|pplicati|
|00000160| 6f 6e 73 2e 20 54 68 69 | 73 20 6b 65 79 20 61 6c |ons. Thi|s key al|
|00000170| 6c 6f 77 73 20 74 68 65 | 20 57 69 6e 64 6f 77 73 |lows the| Windows|
|00000180| 20 73 68 65 6c 6c 20 66 | 75 6e 63 74 69 6f 6e 73 | shell f|unctions|
|00000190| 20 74 6f 20 73 74 61 72 | 74 20 61 6e 20 61 70 70 | to star|t an app|
|000001a0| 6c 69 63 61 74 69 6f 6e | 20 66 6f 72 20 6c 6f 61 |lication| for loa|
|000001b0| 64 69 6e 67 20 74 68 65 | 20 66 69 6c 65 20 77 68 |ding the| file wh|
|000001c0| 65 6e 20 74 68 65 20 75 | 73 65 72 20 64 6f 75 62 |en the u|ser doub|
|000001d0| 6c 65 2d 63 6c 69 63 6b | 73 20 74 68 65 20 66 69 |le-click|s the fi|
|000001e0| 6c 65 20 6e 61 6d 65 20 | 69 6e 20 74 68 65 20 45 |le name |in the E|
|000001f0| 78 70 6c 6f 72 65 72 20 | 6f 72 20 61 20 73 68 6f |xplorer |or a sho|
|00000200| 72 74 63 75 74 20 66 6f | 72 20 74 68 65 20 66 69 |rtcut fo|r the fi|
|00000210| 6c 65 20 6f 6e 20 74 68 | 65 20 57 69 6e 64 6f 77 |le on th|e Window|
|00000220| 73 20 64 65 73 6b 74 6f | 70 2e 0d 0a 3c 50 3e 54 |s deskto|p...<P>T|
|00000230| 6f 20 61 73 73 6f 63 69 | 61 74 65 20 61 20 66 69 |o associ|ate a fi|
|00000240| 6c 65 20 74 79 70 65 20 | 77 69 74 68 20 79 6f 75 |le type |with you|
|00000250| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2c 20 66 |r applic|ation, f|
|00000260| 6f 6c 6c 6f 77 20 74 68 | 65 73 65 20 73 74 65 70 |ollow th|ese step|
|00000270| 73 3a 0d 0a 3c 4f 4c 3e | 0d 0a 3c 4c 49 3e 43 72 |s:..<OL>|..<LI>Cr|
|00000280| 65 61 74 65 20 61 20 72 | 65 67 69 73 74 72 61 74 |eate a r|egistrat|
|00000290| 69 6f 6e 20 66 69 6c 65 | 20 66 6f 72 20 79 6f 75 |ion file| for you|
|000002a0| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 20 54 |r applic|ation. T|
|000002b0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 66 69 6c |he follo|wing fil|
|000002c0| 65 20 72 65 67 69 73 74 | 65 72 73 20 4f 4c 45 53 |e regist|ers OLES|
|000002d0| 54 4f 52 45 2e 45 58 45 | 20 61 6e 64 20 63 72 65 |TORE.EXE| and cre|
|000002e0| 61 74 65 73 20 61 73 73 | 6f 63 69 61 74 69 6f 6e |ates ass|ociation|
|000002f0| 73 20 66 6f 72 20 6c 6f | 61 64 69 6e 67 20 61 6e |s for lo|ading an|
|00000300| 64 20 70 72 69 6e 74 69 | 6e 67 20 74 68 65 20 66 |d printi|ng the f|
|00000310| 69 6c 65 2e 0d 0a 3c 50 | 3e 3c 62 3e 4c 69 73 74 |ile...<P|><b>List|
|00000320| 69 6e 67 20 31 39 2e 32 | 33 20 2d 20 52 65 67 69 |ing 19.2|3 - Regi|
|00000330| 73 74 65 72 69 6e 67 20 | 74 68 65 20 4f 4c 45 20 |stering |the OLE |
|00000340| 46 69 6c 65 20 54 79 70 | 65 3c 2f 62 3e 20 3c 2f |File Typ|e</b> </|
|00000350| 46 4f 4e 54 3e 0d 0a 3c | 70 3e 3c 70 72 65 3e 3c |FONT>..<|p><pre><|
|00000360| 74 74 3e 0d 0a 3c 46 4f | 4e 54 20 43 4f 4c 4f 52 |tt>..<FO|NT COLOR|
|00000370| 3d 22 23 30 30 38 30 30 | 30 22 3e 3b 20 43 6f 6d |="#00800|0">; Com|
|00000380| 6d 65 6e 74 73 3a 20 4f | 4c 45 53 54 4f 52 45 2e |ments: O|LESTORE.|
|00000390| 52 45 47 0d 0a 52 45 47 | 45 44 49 54 0d 0a 3b 20 |REG..REG|EDIT..; |
|000003a0| 52 65 67 69 73 74 65 72 | 20 4f 4c 45 53 54 4f 52 |Register| OLESTOR|
|000003b0| 45 2e 45 58 45 2e 0d 0a | 48 4b 45 59 5f 43 4c 41 |E.EXE...|HKEY_CLA|
|000003c0| 53 53 45 53 5f 52 4f 4f | 54 5c 6f 6c 65 73 74 6f |SSES_ROO|T\olesto|
|000003d0| 72 65 2e 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 3d |re.appli|cation =|
|000003e0| 20 4f 4c 45 20 53 61 6d | 70 6c 65 73 20 53 74 6f | OLE Sam|ples Sto|
|000003f0| 72 61 67 65 20 56 69 65 | 77 20 55 74 69 6c 69 74 |rage Vie|w Utilit|
|00000400| 79 0d 0a 3b 20 50 72 6f | 76 69 64 65 20 6f 70 65 |y..; Pro|vide ope|
|00000410| 6e 20 61 6e 64 20 65 64 | 69 74 20 63 6f 6d 6d 61 |n and ed|it comma|
|00000420| 6e 64 20 6c 69 6e 65 73 | 20 66 6f 72 20 74 68 65 |nd lines| for the|
|00000430| 20 45 78 70 6c 6f 72 65 | 72 0d 0a 48 4b 45 59 5f | Explore|r..HKEY_|
|00000440| 43 4c 41 53 53 45 53 5f | 52 4f 4f 54 5c 6f 6c 65 |CLASSES_|ROOT\ole|
|00000450| 73 74 6f 72 65 2e 61 70 | 70 6c 69 63 61 74 69 6f |store.ap|plicatio|
|00000460| 6e 5c 73 68 65 6c 6c 5c | 6f 70 65 6e 5c 63 6f 6d |n\shell\|open\com|
|00000470| 6d 61 6e 64 20 0d 0a 40 | 3d 20 63 3a 5c 5c 76 62 |mand ..@|= c:\\vb|
|00000480| 35 20 73 65 5c 5c 73 61 | 6d 70 6c 65 73 5c 63 68 |5 se\\sa|mples\ch|
|00000490| 61 70 74 65 72 20 31 37 | 5c 5c 6f 6c 65 73 74 6f |apter 17|\\olesto|
|000004a0| 72 65 2e 65 78 65 20 25 | 31 0d 0a 48 4b 45 59 5f |re.exe %|1..HKEY_|
|000004b0| 43 4c 41 53 53 45 53 5f | 52 4f 4f 54 5c 6f 6c 65 |CLASSES_|ROOT\ole|
|000004c0| 73 74 6f 72 65 2e 61 70 | 70 6c 69 63 61 74 69 6f |store.ap|plicatio|
|000004d0| 6e 20 5c 73 68 65 6c 6c | 5c 70 72 69 6e 74 5c 63 |n \shell|\print\c|
|000004e0| 6f 6d 6d 61 6e 64 20 0d | 0a 40 3d 20 63 3a 5c 5c |ommand .|.@= c:\\|
|000004f0| 76 62 35 20 73 65 5c 5c | 73 61 6d 70 6c 65 73 5c |vb5 se\\|samples\|
|00000500| 5c 63 68 61 70 74 65 72 | 20 31 37 5c 5c 6f 6c 65 |\chapter| 17\\ole|
|00000510| 73 74 6f 72 65 2e 65 78 | 65 20 25 31 0d 0a 3b 20 |store.ex|e %1..; |
|00000520| 41 73 73 6f 63 69 61 74 | 65 20 2e 4f 4c 45 20 66 |Associat|e .OLE f|
|00000530| 69 6c 65 20 65 78 74 65 | 6e 73 69 6f 6e 20 77 69 |ile exte|nsion wi|
|00000540| 74 68 20 74 68 65 20 70 | 72 6f 67 49 44 2e 0d 0a |th the p|rogID...|
|00000550| 48 4b 45 59 5f 43 4c 41 | 53 53 45 53 5f 52 4f 4f |HKEY_CLA|SSES_ROO|
|00000560| 54 5c 2e 6f 6c 65 20 3d | 20 6f 6c 65 73 74 6f 72 |T\.ole =| olestor|
|00000570| 65 2e 61 70 70 6c 69 63 | 61 74 69 6f 6e 0d 0a 3b |e.applic|ation..;|
|00000580| 20 45 6e 61 62 6c 65 73 | 20 64 72 61 67 2d 64 72 | Enables| drag-dr|
|00000590| 6f 70 20 74 6f 20 70 72 | 6f 67 72 61 6d 20 69 63 |op to pr|ogram ic|
|000005a0| 6f 6e 20 28 73 74 61 72 | 74 73 20 61 70 70 6c 69 |on (star|ts appli|
|000005b0| 63 61 74 69 6f 6e 29 0d | 0a 5b 48 4b 45 59 5f 43 |cation).|.[HKEY_C|
|000005c0| 4c 41 53 53 45 53 5f 52 | 4f 4f 54 5c 6f 6c 65 73 |LASSES_R|OOT\oles|
|000005d0| 74 6f 72 65 2e 61 70 70 | 6c 69 63 61 74 69 6f 6e |tore.app|lication|
|000005e0| 5c 73 68 65 6c 6c 65 78 | 5c 64 72 6f 70 68 61 6e |\shellex|\drophan|
|000005f0| 64 6c 65 72 5d 0d 0a 40 | 3d 26 71 75 6f 74 3b 7b |dler]..@|=&quot;{|
|00000600| 39 39 39 32 30 38 31 30 | 2d 30 30 30 30 2d 30 30 |99920810|-0000-00|
|00000610| 30 30 2d 43 30 30 30 2d | 30 30 30 30 30 30 30 30 |00-C000-|00000000|
|00000620| 30 30 34 36 7d 26 71 75 | 6f 74 3b 0d 0a 3a 20 41 |0046}&qu|ot;..: A|
|00000630| 64 64 73 20 4f 4c 45 53 | 74 6f 72 65 20 74 6f 20 |dds OLES|tore to |
|00000640| 46 69 6c 65 2f 4e 65 77 | 20 63 6f 6e 74 65 78 74 |File/New| context|
|00000650| 20 6d 65 6e 75 20 66 72 | 6f 6d 20 64 65 73 6b 74 | menu fr|om deskt|
|00000660| 6f 70 0d 0a 5b 48 4b 45 | 59 5f 4c 4f 43 41 4c 5f |op..[HKE|Y_LOCAL_|
|00000670| 4d 41 43 48 49 4e 45 5c | 53 4f 46 54 57 41 52 45 |MACHINE\|SOFTWARE|
|00000680| 5c 43 6c 61 73 73 65 73 | 5c 2e 6f 6c 65 5d 0d 0a |\Classes|\.ole]..|
|00000690| 40 3d 26 71 75 6f 74 3b | 6f 6c 65 73 74 6f 72 65 |@=&quot;|olestore|
|000006a0| 2e 61 70 70 6c 69 63 61 | 74 69 6f 6e 26 71 75 6f |.applica|tion&quo|
|000006b0| 74 3b 0d 0a 5b 48 4b 45 | 59 5f 4c 4f 43 41 4c 5f |t;..[HKE|Y_LOCAL_|
|000006c0| 4d 41 43 48 49 4e 45 5c | 53 4f 46 54 57 41 52 45 |MACHINE\|SOFTWARE|
|000006d0| 5c 43 6c 61 73 73 65 73 | 5c 2e 6f 6c 65 5c 53 68 |\Classes|\.ole\Sh|
|000006e0| 65 6c 6c 4e 65 77 5d 0d | 0a 26 71 75 6f 74 3b 43 |ellNew].|.&quot;C|
|000006f0| 6f 6d 6d 61 6e 64 26 71 | 75 6f 74 3b 3d 26 71 75 |ommand&q|uot;=&qu|
|00000700| 6f 74 3b 63 3a 5c 5c 76 | 62 35 20 73 65 5c 5c 73 |ot;c:\\v|b5 se\\s|
|00000710| 61 6d 70 6c 65 73 5c 5c | 6f 6c 65 73 74 6f 72 65 |amples\\|olestore|
|00000720| 2e 65 78 65 20 2f 6e 5c | 26 71 75 6f 74 3b 26 71 |.exe /n\|&quot;&q|
|00000730| 75 6f 74 3b 0d 0a 40 3d | 26 71 75 6f 74 3b 4f 4c |uot;..@=|&quot;OL|
|00000740| 45 20 53 74 6f 72 61 67 | 65 20 46 69 6c 65 26 71 |E Storag|e File&q|
|00000750| 75 6f 74 3b 3c 2f 46 4f | 4e 54 3e 3c 2f 74 74 3e |uot;</FO|NT></tt>|
|00000760| 3c 2f 70 72 65 3e 0d 0a | 3c 4c 49 3e 4d 65 72 67 |</pre>..|<LI>Merg|
|00000770| 65 20 74 68 65 20 72 65 | 67 69 73 74 72 61 74 69 |e the re|gistrati|
|00000780| 6f 6e 20 66 69 6c 65 2e | 20 54 68 65 20 66 6f 6c |on file.| The fol|
|00000790| 6c 6f 77 69 6e 67 20 63 | 6f 6d 6d 61 6e 64 20 6c |lowing c|ommand l|
|000007a0| 69 6e 65 20 6d 65 72 67 | 65 73 20 74 68 65 20 66 |ine merg|es the f|
|000007b0| 69 6c 65 20 4f 4c 45 53 | 54 4f 52 45 2e 52 45 47 |ile OLES|TORE.REG|
|000007c0| 20 77 69 74 68 20 74 68 | 65 20 52 65 67 69 73 74 | with th|e Regist|
|000007d0| 72 79 2e 20 54 68 65 20 | 2f 73 20 73 77 69 74 63 |ry. The |/s switc|
|000007e0| 68 20 6d 65 72 67 65 73 | 20 74 68 65 20 63 68 61 |h merges| the cha|
|000007f0| 6e 67 65 73 20 73 69 6c | 65 6e 74 6c 79 20 2d 20 |nges sil|ently - |
|00000800| 6e 6f 20 63 6f 6e 66 69 | 72 6d 61 74 69 6f 6e 20 |no confi|rmation |
|00000810| 64 69 61 6c 6f 67 20 62 | 6f 78 20 69 73 20 73 68 |dialog b|ox is sh|
|00000820| 6f 77 6e 2e 0d 0a 3c 70 | 3e 3c 70 72 65 3e 3c 74 |own...<p|><pre><t|
|00000830| 74 3e 0d 0a 3c 46 4f 4e | 54 20 43 4f 4c 4f 52 3d |t>..<FON|T COLOR=|
|00000840| 22 23 30 30 38 30 30 30 | 22 3e 20 20 20 20 20 20 |"#008000|"> |
|00000850| 20 20 72 65 67 65 64 69 | 74 20 2f 73 20 6f 6c 65 | regedi|t /s ole|
|00000860| 73 74 6f 72 65 2e 72 65 | 67 3c 2f 46 4f 4e 54 3e |store.re|g</FONT>|
|00000870| 3c 2f 74 74 3e 3c 2f 70 | 72 65 3e 0d 0a 3c 4c 49 |</tt></p|re>..<LI|
|00000880| 3e 41 66 74 65 72 20 6d | 65 72 67 69 6e 67 20 74 |>After m|erging t|
|00000890| 68 65 20 66 69 6c 65 2c | 20 79 6f 75 20 63 61 6e |he file,| you can|
|000008a0| 20 76 69 65 77 20 74 68 | 65 20 63 68 61 6e 67 65 | view th|e change|
|000008b0| 73 20 75 73 69 6e 67 20 | 74 68 65 20 52 65 67 69 |s using |the Regi|
|000008c0| 73 74 72 61 74 69 6f 6e | 20 49 6e 66 6f 20 45 64 |stration| Info Ed|
|000008d0| 69 74 6f 72 20 28 73 65 | 65 20 46 69 67 75 72 65 |itor (se|e Figure|
|000008e0| 20 31 39 2e 34 29 2e 0d | 0a 3c 2f 6f 6c 3e 0d 0a | 19.4)..|.</ol>..|
|000008f0| 3c 50 3e 3c 61 20 68 72 | 65 66 3d 22 66 69 67 73 |<P><a hr|ef="figs|
|00000900| 2f 31 39 66 69 67 30 34 | 2e 67 69 66 22 3e 3c 42 |/19fig04|.gif"><B|
|00000910| 3e 46 49 47 2e 20 31 39 | 2e 34 3c 2f 61 3e 3c 2f |>FIG. 19|.4</a></|
|00000920| 62 3e 20 0d 0a 3c 50 3e | 3c 69 3e 54 68 65 20 52 |b> ..<P>|<i>The R|
|00000930| 65 67 69 73 74 72 79 20 | 65 6e 74 72 69 65 73 20 |egistry |entries |
|00000940| 66 6f 72 20 4f 4c 45 53 | 54 4f 52 45 2e 52 45 47 |for OLES|TORE.REG|
|00000950| 2e 3c 2f 69 3e 0d 0a 3c | 2f 42 4f 44 59 3e 0d 0a |.</i>..<|/BODY>..|
|00000960| 3c 2f 48 54 4d 4c 3e | |</HTML> | |
+--------+-------------------------+-------------------------+--------+--------+