home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / readme.txt < prev    next >
Encoding:
Text File  |  1997-03-19  |  20.7 KB  |  497 lines

  1.        Welcome to the CD-ROM for Mastering Visual Basic 5
  2.  
  3. ************************************************************
  4. Please maximize this window. If you're viewing this in Notepad, 
  5. turn on Word Wrap under the Edit Menu to best view this file.  
  6.  
  7. NOTE: THIS IS AN AUTORUN CD. If you cannot use the included 
  8. DEMOSHIELD autorun interface included with this CD, please 
  9. scroll down to the section "Using the Mastering VB5 CD 
  10. without the DEMOSHIELD interface." 
  11. ************************************************************
  12.  
  13. -------------------------------------------------------------
  14. INSTRUCTIONS FOR USING CD
  15. -------------------------------------------------------------
  16.  
  17. This CD-ROM includes an easy to use interface created by DEMOSHIELD Corp. and is "autorun." To access the CD's interface: 
  18.  
  19. 1. Minimize your other programs in Windows 95 (not required, but this will speed up the autorun process). 
  20.  
  21. 2. Put the CD-ROM in your PC's CD drive, close the door, and wait a few seconds. 
  22.  
  23. The CD will start and the Sybex Welcome screen will appear. 
  24.  
  25. 3. Read the license agreement and choose Accept to access the CD's interface and all the software on the CD. 
  26.  
  27. That's it! Enjoy the Mastering Visual Basic CD! 
  28. --------------------------------------------------------------------------------------------
  29.  
  30.  
  31.  
  32.  
  33.  
  34. -------------------------------------------------------------
  35.                                        TABLE OF CONTENTS
  36. -------------------------------------------------------------
  37.  
  38.  
  39. This Table of Contents lists every product included on the CD, including chapter code and examples, VB5 demos, and third-party software. 
  40.  
  41.  
  42. -------------------------------------------------------------
  43.         Chapter Exercises
  44. -------------------------------------------------------------
  45.  
  46.  
  47. All the examples presented in the book are included on the CD. Each project is stored in its own folder, which has the same name as the project, and all project folders for a chapter are in the chapter's folder. For example, to locate the folder of the IMAGE application, which is presented in Chapter 6, open the PROJECTS folder, then open the CH06 folder, and in the CH06 folder, open the IMAGE folder. 
  48.  
  49. Although you can open the projects directly from the CD and also copy everything from the interface, you won't be able to save the changes back. Instead of saving each component separately on the hard disk, we suggest that you copy the entire chapter folder on your disk and then open the project. The DEMOSHIELD interface included with this CD will automatically copy the entire folder if you select the chapter in the interface. 
  50.  
  51. Chapter 01 CODE: 
  52.  
  53.        CH_CODE\Ch01\Example1
  54.        CH_CODE\Ch01\focus
  55.        CH_CODE\Ch01\Example2
  56.        CH_CODE\Ch01\Example3
  57.  
  58. Chapter 02 CODE: 
  59.  
  60.        CH_CODE\Ch02\Calctrs
  61.        CH_CODE\Ch02
  62.  
  63. Chapter 03 CODE: 
  64.  
  65.        There are no exercise materials for Chapter 3
  66.  
  67. Chapter 04 CODE: 
  68.  
  69.        CH_CODE\Ch04\DRAG1
  70.        CH_CODE\Ch04\DragDrop
  71.        CH_CODE\Ch04\DropForm
  72.        CH_CODE\Ch04\DrpEvnts
  73.        CH_CODE\Ch04\FormLoad
  74.        CH_CODE\Ch04\Forms
  75.        CH_CODE\Ch04\ListDrop
  76.        CH_CODE\Ch04\LongMenu
  77.        CH_CODE\Ch04\RTMenu
  78.        CH_CODE\Ch04\TextDrop
  79.  
  80. Chapter 05 CODE: 
  81.  
  82.        CH_CODE\Ch05\CDBox
  83.        CH_CODE\Ch05\Colors
  84.        CH_CODE\Ch05\COMBO1
  85.        CH_CODE\Ch05\FileCtrl
  86.        CH_CODE\Ch05\Gradient
  87.        CH_CODE\Ch05\Inches
  88.        CH_CODE\Ch05\KeyCombo
  89.        CH_CODE\Ch05\KeyList
  90.        CH_CODE\Ch05\ListDemo
  91.        CH_CODE\Ch05\Slider
  92.        CH_CODE\Ch05\TextPad
  93.        CH_CODE\Ch05\TxtMrgn
  94.  
  95. Chapter 06 CODE: 
  96.  
  97.        CH_CODE\Ch06\ClrGrads
  98.        CH_CODE\Ch06\COORDS
  99.        CH_CODE\Ch06\Draw
  100.        CH_CODE\Ch06\Graphs
  101.        CH_CODE\Ch06\Image
  102.        CH_CODE\Ch06\ImgCopy
  103.        CH_CODE\Ch06\PAINTPIC
  104.        CH_CODE\Ch06\PalColor
  105.        CH_CODE\Ch06\PicFlip
  106.        CH_CODE\Ch06\PicImg
  107.        CH_CODE\Ch06\PieChart
  108.        CH_CODE\Ch06\QDraw
  109.        CH_CODE\Ch06\Rubber
  110.        CH_CODE\Ch06\ScrollPic
  111.        CH_CODE\Ch06\Spiral
  112.        CH_CODE\Ch06\SPIRAL1
  113.        CH_CODE\Ch06\TRGrid
  114.        CH_CODE\Ch06\TxtPrint
  115.  
  116. Chapter 07 CODE: 
  117.  
  118.        CH_CODE\Ch07\FlexGrid
  119.        CH_CODE\Ch07\FONTSIZE
  120.        CH_CODE\Ch07\GRID1
  121.        CH_CODE\Ch07\GRIDEDIT
  122.        CH_CODE\Ch07\RTFPad
  123.  
  124. Chapter 08 CODE: 
  125.  
  126.        CH_CODE\Ch08\MCITest
  127.        CH_CODE\Ch08\Palettes
  128.        CH_CODE\Ch08\PlayBeep
  129.        CH_CODE\Ch08\PlayDays
  130.        CH_CODE\Ch08\PlayWave
  131.        CH_CODE\Ch08\ReadDate
  132.        CH_CODE\Ch08\ReadNum
  133.        CH_CODE\Ch08\Wipes
  134.  
  135. Chapter 09 CODE: 
  136.  
  137.        CH_CODE\Ch09\MDIDEMO1
  138.        CH_CODE\Ch09\MDIDEMO2
  139.        CH_CODE\Ch09\MDIEdit
  140.  
  141. Chapter 10 CODE: 
  142.  
  143.        CH_CODE\Ch10\BSearch
  144.        CH_CODE\Ch10\DirMap
  145.        CH_CODE\Ch10\Factorl
  146.        CH_CODE\Ch10\FileScan
  147.        CH_CODE\Ch10\Recurse
  148.  
  149. Chapter 11 CODE:
  150.  
  151.        CH_CODE\Ch11\Data1
  152.        CH_CODE\Ch11\Data2
  153.        CH_CODE\Ch11\DBList
  154.        CH_CODE\Ch11\DBStruct
  155.        CH_CODE\Ch11\DEntry
  156.        CH_CODE\Ch11\FindDemo
  157.        CH_CODE\Ch11\Manytbls
  158.        CH_CODE\Ch11\SQLExec
  159.        CH_CODE\Ch11\SQLTbls
  160.  
  161. Chapter 12 CODE: 
  162.  
  163.        CH_CODE\Ch12\BldFont
  164.        CH_CODE\Ch12\COPYBMP
  165.        CH_CODE\Ch12\Drives
  166.        CH_CODE\Ch12\fileinfo
  167.        CH_CODE\Ch12\help
  168.        CH_CODE\Ch12\MemStatus
  169.        CH_CODE\Ch12\MenuBMP
  170.        CH_CODE\Ch12\MenuMod
  171.        CH_CODE\Ch12\MousePos
  172.        CH_CODE\Ch12\MousePos\MouseMov
  173.        CH_CODE\Ch12\Query
  174.        CH_CODE\Ch12\ReadText
  175.        CH_CODE\Ch12\Registry
  176.        CH_CODE\Ch12\SingleApp
  177.        CH_CODE\Ch12\WinTop
  178.  
  179. Chapter 13 CODE: 
  180.  
  181.        CH_CODE\Ch13\CalcSrvr
  182.        CH_CODE\Ch13\ClssForm
  183.        CH_CODE\Ch13\Discount
  184.        CH_CODE\Ch13\HTMLSrvr
  185.        CH_CODE\Ch13\OLERTime
  186.        CH_CODE\Ch13\PrvClass
  187.        CH_CODE\Ch13\Server1
  188.  
  189. Chapter 14 CODE: 
  190.  
  191.        CH_CODE\Ch14\Alarm
  192.        CH_CODE\Ch14\Gradient
  193.  
  194. Chapter 15 CODE: 
  195.  
  196.        CH_CODE\Ch15\AXMarq
  197.        CH_CODE\Ch15\AXSpiral
  198.        CH_CODE\Ch15\HotSpot
  199.        CH_CODE\Ch15\QDraw
  200.  
  201. Chapter 16 CODE: 
  202.  
  203.        CH_CODE\Ch16 (HTML files and .gif files only)
  204.  
  205. Chapter 17 CODE: 
  206.  
  207.        CH_CODE\Ch17\DemoPage
  208.        CH_CODE\Ch17\IExplore
  209.        CH_CODE\Ch17\SprBrwsr
  210.        CH_CODE\Ch17\WebBrwsr
  211.  
  212. -------------------------------------------------------------
  213.         Visual Basic 5 Demos 
  214. -------------------------------------------------------------
  215.  
  216.  
  217. The following demos were created by the author, Evangelos Petroutsos. These are custom built controls and forms that you are free to modify and use in your applications and development work. 
  218.  
  219.  
  220.        CDBox. (VB5DEMOS\CDBox)  
  221.  
  222. This utility allows you to experiment with numerous parameters of the Common Dialog Boxes interactively. Use this tool to find out how to set up a Font, or a File Open dialog box and get their parameters right without writing a single line of code.
  223.  
  224.  
  225.        DirMap.  (VB5DEMOS\DirMap)  
  226.  
  227. Use this application to print the contents of any folder on your hard disk, including its subfolders, on a RichTextBox control. This application is an example of recursive programming, a powerful programming technique explained in the book.
  228.  
  229.  
  230.        FlexGrid. (VB5DEMOS\FlexGrid) 
  231.  
  232. Use this adaptable spreadsheet to create and edit spreadsheets. You can incorporate it in your own applications, or ActiveX documents for use on an intranet environment.  
  233.  
  234.  
  235.        FormLoad. (VB5DEMOS\FormLoad)   
  236.  
  237. The FormLoad application is one of the examples included in this book and demonsrates how to manipulate one Form from within another. 
  238.  
  239.  
  240.        Image. (VB5DEMOS\Image) 
  241.  
  242. An image processing application developed entirely in VB5. Use it as your starting point to build your own custom image processing techniques. To test  the application open an image and apply a filter to it.
  243.  
  244.  
  245.        MDIEdit. (VB5DEMOS\MDIEdit) 
  246.  
  247. The fastest way to get up to speed with Multiple Document Interface (MDI) apps is to use this prebuilt front end. Add your code and controls and you're ready to go!
  248.  
  249.  
  250.        PaintPic. (VB5DEMOS\PaintPic)  
  251.  
  252. A simple application that demonstrates the various special effects of the PaintPicture methods. 
  253.  
  254.  
  255.        RTFPad. (VB5DEMOS\RTFPad)   
  256.  
  257. This small application supports the basic features of a word processor (multiple fonts, paragraph formatting, and so on). Use the RTFPad application as a stand-alone application, incorporate it to your applications, or convert it to an ActiveX document.
  258.  
  259.  
  260.        Spiral (VB5DEMOS\Spiral)  
  261.  
  262. Generate beautiful, mathematically defined curves. This application lets you adjust the appearance of the curves by controlling their parameters with scrollbar controls and demonstrates many of the graphics techniques discussed in the book. 
  263.  
  264.  
  265.        Wipes. (VB5DEMOS\Wipes) 
  266.  
  267. See how easy it is to set up a slide show on your computer. Use the Wipes application as your starting point and add any transition effect you can think of.
  268.  
  269.  
  270. -------------------------------------------------------------
  271.        Third Party Software and Demos
  272. -------------------------------------------------------------
  273.  
  274.  
  275. A number of leading Visual Basic development companies have been generous enough to allow the author and Sybex to include fully functioning software, Active X controls, and Visual Basic development tools on the Mastering Visual Basic 5 CD-ROM. Please take the time to sample these powerful controls and utilties. Chances are good that one of these companies' controls will make your development work easier and more efficient. 
  276.  
  277.        
  278.        DEMOSHIELD
  279.  
  280. Creating demos to distribute on the Web and on CD-ROMs has never been easier. DemoShield is the easiest way to get your demo done and out doing what it's supposed to: sell your product, train
  281. your customers and employees, and create a front end for your CD! Check out DemoShield5's key technical features at their Web site: http://www.demoshield.com. 
  282.  
  283.  
  284.        PROTOVIEW (\PROTVIEW)
  285.  
  286. WinX Library. The WinX Components Library features a set of 17 ActiveX/OCX files that "snap" into your programming environment. Offering a wide range of editing and display capabilities, the WinX Library delivers outstanding user-interface layouts. From the best in data input, formatting, and validation to the most impressive in 3-D effects and display options, you'll find that the WinX Library delivers better than any other set of components. 
  287.  
  288. ProtoView Development
  289. 2540 Rt. 130
  290. Cranbury, NJ 08512
  291. Phone:  (609) 655-5000
  292.  
  293. This program is protected by copyright law and international treaties. 
  294.  
  295.  
  296.        OLYMPUS (\OLYMPUS)
  297.  
  298. ImageKnife. A complete solution for acquiring images, processing them in memory, and printing and storing them to either files or databases. ImageKnife comes complete with excellent documentation and extensive sample applications.
  299.  
  300.  
  301.        DAMEWARE (\DAMEWARE)
  302.  
  303. InfoTick ActiveX/OCX. A 32-bit Information Ticker custom control for use with Visual Basic and Visual C++, Web Page, and so on. It offers many customizable properties (fonts, colors, timer, scroll speed,and so on), Flicker free, and Timer Event. 
  304.  
  305. Cal32 ActiveX/OCX. A calendar custom control for use with Visual Basic and Visual C++. It incorporates many customizable properties (3-D, colors, fonts, tool tips, context menu, and so on) and has a date range between January 1, 100 through December 31, 9999.
  306.  
  307.  
  308.        SHERIDAN (\SHERIDAN)
  309.  
  310. Trial Version of ActiveThreed(tm). A set of seven 32-bit ActiveX controls that give the most prevalent elements in applications an up-to-date Internet/intranet look and feel. ActiveThreed is the ONLY 100 percent code-compatible drop-in replacement for the Threed controls that have been included in Microsoft Visual Basic versions 1.0 through 4.0. 
  311.  
  312. The SOFTWARE is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties.  The SOFTWARE is licensed, not sold.
  313.  
  314.  
  315.        CRESCENT (\CRESCT)
  316.  
  317. FTP Internet Data Controls are included on the CD for your trial use. New trial version of the FTP Internet Data controls include five sample applications as well as 16 and 32 bit ActiveX controls.
  318.  
  319. Copyright Crescent Division of Progress Software
  320. 14 Oak Park
  321. Bedford, MA 01730
  322. United States
  323. 01.617.280.4322
  324. http:\\Crescent.Progress.com
  325.  
  326.  
  327.        INSTALLSHIELD (\INSTSHLD)
  328.  
  329. This thirty day evaluation of 
  330. InstallShield Express Professional 1.11 predates the release of Visual Basic 5.0. 
  331. For this reason, no InstallShield Objects for Visual Basic 5.0 
  332. are available in this version. 
  333.  
  334. Visit the InstallShield Web site 
  335. (http://www.installshield.com) to download the most up-to-date 
  336. release of InstallShield Express Professional.
  337.  
  338. (c) Copyright (1990-1996) InstallShield Corporation. All Rights Reserved.
  339. (c) Copyright (1996-1997) InstallShield Software Corporation. All Rights Reserved.
  340.  
  341.  
  342.        QUIKSOFT (\QUIKSOFT)
  343.  
  344. SiteMapper. A free demo of this  Active X tree control that 
  345. allows webmasters to create an interactive map of their site through 
  346. which users can navigate.
  347.  
  348. SiteMapper Tree Control (tm)
  349. (c) 1996-97 Quiksoft Corporation. 
  350.  
  351. HtmlShow. Quiksoft's latest ActiveX Control, HtmlShow, creates a slide show style presentation out of ordinary HTML. With HtmlShow you can easily promote time-based advertising on your site, create Web-based presentations and convey more information on each page.
  352.  
  353. HtmlShow (tm)
  354. (c) 1997 Quiksoft Corporation
  355.  
  356. All rights reserved. Microsoft, Internet Explorer, VBScript, ActiveX, Windows 95, are trademarks or registered trademarks of Microsoft Corporation. All other trademarks are property of their respective owners.  
  357.  
  358. The SOFTWARE is owned by QUIKSOFT and is protected by United States copyright laws and international treaty provisions.  
  359.  
  360. --------------------------------------------------------------------------------------------
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368. -------------------------------------------------------------
  369.        Using the Mastering Visual Basic 5 CD 
  370.        without the Demoshield Interface
  371. -------------------------------------------------------------
  372.  
  373.  
  374. If for some reason your machine will not run the easy to use interface developed by DEMOSHIELD Corp., you will have to copy files manually from the CD to your hard drive using Windows Explorer (File Manager). To successfully copy and load everything on the CD, please follow these directions:
  375.  
  376. This CD contains all the examples presented in the book. Each project is stored in its own folder, which has the same name as the project, and all project folders for a chapter are in the chapter's folder. For example, to locate the folder of the IMAGE application, which is presented in Chapter 6, open the PROJECTS folder, then open the CH06 folder, and in the CH06 folder, open the IMAGE folder. 
  377.  
  378. Although you can open the projects directly from the CD, you won't be able to save the changes back. Instead of saving each component separately on the hard disk, we suggest that you copy the entire chapter folder on your disk and then open the project. 
  379.  
  380. The files copied from the CD will be marked as read-only. You must open the Properties window of the copied files and clear the read-only attribute. Start Explorer (File Manager), copy the chapter folder you are interested in, select all the files in each folder, and right-click on the selection. From the context menu, select Properties, and in the Properties window, clear the Read-Only checkbox.
  381.  
  382. The MBV5DEMO folder on the CD contains the executables of some applications developed for this book. You should be able to run these applications off the CD, as long as you have Visual Basic installed. These applications were meant to showcase some of the applications and show you the type of applications this book will help you build. 
  383.  
  384.  
  385. ________________________________________________
  386.  
  387. SOFTWARE LICENSE AGREEMENT: TERMS AND CONDITIONS
  388. ________________________________________________
  389.  
  390. The media and/or any online materials accompanying this book that are
  391. available now or in the future contain programs and/or text files (the
  392. "Software") to be used in connection with the book. SYBEX hereby
  393. grants to you a license to use the Software, subject to the terms that
  394. follow. Your purchase, acceptance, or use of the Software will
  395. constitute your acceptance of such terms.
  396.  
  397. The Software compilation is the property of SYBEX unless otherwise
  398. indicated and is protected by copyright to SYBEX or other copyright
  399. owner(s) as indicated in the media files (the "Owner(s)"). You are
  400. hereby granted a single-user license to use the Software for your
  401. personal, noncommercial use only. You may not reproduce, sell,
  402. distribute, publish, circulate, or commercially exploit the Software,
  403. or any portion thereof, without the written consent of SYBEX and the
  404. specific copyright owner(s) of any component software included on this
  405. media.
  406.  
  407. In the event that the Software or components include specific license
  408. requirements or end-user agreements, statements of condition,
  409. disclaimers, limitations or warranties ("End-User License"), those
  410. End-User Licenses supersede the terms and conditions herein as to that
  411. particular Software component. Your purchase, acceptance, or use of
  412. the Software will constitute your acceptance of such End-User
  413. Licenses.
  414.  
  415. By purchase, use or acceptance of the Software you further agree to
  416. comply with all export laws and regulations of the United States as
  417. such laws and regulations may exist from time to time.
  418.  
  419. SOFTWARE SUPPORT
  420.  
  421. Components of the supplemental Software and any offers associated with
  422. them may be supported by the specific Owner(s) of that material but
  423. they are not supported by SYBEX. Information regarding any available
  424. support may be obtained from the Owner(s) using the information
  425. provided in the appropriate README files or listed elsewhere on the
  426. media.
  427.  
  428. Should the manufacturer(s) or other Owner(s) cease to offer support or
  429. decline to honor any offer, SYBEX bears no responsibility. This notice
  430. concerning support for the Software is provided for your information
  431. only. SYBEX is not the agent or principal of the Owner(s), and SYBEX
  432. is in no way responsible for providing any support for the Software,
  433. nor is it liable or responsible for any support provided, or not
  434. provided, by the Owner(s).
  435.  
  436. WARRANTY
  437.  
  438. SYBEX warrants the enclosed media to be free of physical defects for a
  439. period of ninety (90) days after purchase. The Software is not
  440. available from SYBEX in any other form or media than that enclosed
  441. herein or posted to www.sybex.com. If you discover a defect in the
  442. media during this warranty period, you may obtain a replacement of
  443. identical format at no charge by sending the defective media, postage
  444. prepaid, with proof of purchase to:
  445.  
  446. SYBEX Inc.
  447. Customer Service Department
  448. 1151 Marina Village Parkway
  449. Alameda, CA 94501
  450. (510) 523-8233
  451. Fax: (510) 523-2373
  452. e-mail: info@sybex.com
  453. Web: http://www.sybex.com
  454.  
  455. After the 90-day period, you can obtain replacement media of identical
  456. format by sending us the defective disk, proof of purchase, and a
  457. check or money order for $10, payable to SYBEX.
  458.  
  459. DISCLAIMER
  460.  
  461. SYBEX makes no warranty or representation, either expressed or
  462. implied, with respect to the Software or its contents, quality,
  463. performance, merchantability, or fitness for a particular purpose. In
  464. no event will SYBEX, its distributors, or dealers be liable to you or
  465. any other party for direct, indirect, special, incidental,
  466. consequential, or other damages arising out of the use of or inability
  467. to use the Software or its contents even if advised of the possibility
  468. of such damage. In the event that the Software includes an online
  469. update feature, SYBEX further disclaims any obligation to provide this
  470. feature for any specific duration other than the initial posting.
  471.  
  472. The exclusion of implied warranties is not permitted by some states.
  473. Therefore, the above exclusion may not apply to you. This warranty
  474. provides you with specific legal rights; there may be other rights
  475. that you may have that vary from state to state. The pricing of the
  476. book with the Software by SYBEX reflects the allocation of risk and
  477. limitations on liability contained in this agreement of Terms and
  478. Conditions.
  479.  
  480. SHAREWARE DISTRIBUTION
  481.  
  482. This Software may contain various programs that are distributed as
  483. shareware. Copyright laws apply to both shareware and ordinary
  484. commercial software, and the copyright Owner(s) retains all rights. If
  485. you try a shareware program and continue using it, you are expected to
  486. register it. Individual programs differ on details of trial periods,
  487. registration, and payment. Please observe the requirements stated in
  488. appropriate files.
  489.  
  490. COPY PROTECTION
  491.  
  492. The Software in whole or in part may or may not be copy-protected or
  493. encrypted. However, in all cases, reselling or redistributing these
  494. files without authorization is expressly forbidden except as
  495. specifically provided for by the Owner(s) therein.
  496.  
  497.