home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Windows Tools / SOS-WIN_TOOLS.ISO / programm / divers / winbrw35 / wnbrowse.txt < prev    next >
Encoding:
Text File  |  1994-01-07  |  35.7 KB  |  956 lines

  1.                             WnBrowse 3.5
  2.                             ============
  3.  
  4.                         A Windows File Browser
  5.                         ======================
  6.  
  7.                                  By
  8.                                  ==
  9.  
  10.                            Nigel G. Thomas
  11.                            ===============
  12.  
  13.  
  14. Introduction
  15. ============
  16.  
  17. The standard method of viewing files under Windows is to use the provided
  18. accessory program Notepad. As a file viewer however, Notepad has a number
  19. of limitations. It can only be used for relatively small files (less than
  20. 53K), and can only view text files. When you view a file using an editor,
  21. you also run the risk of inadvertently modifying the file.
  22.  
  23. WnBrowse removes these limitations, and in addition provides MANY more
  24. facilities to make file viewing faster and easier.
  25.  
  26. Some of the highlights of WnBrowse are :
  27.  
  28.   * Support for files of any size
  29.   * Files may be viewed in a text or hex format
  30.   * Text can be selected and copied to the clipboard, printed or
  31.     saved to a file.
  32.   * The file or a selected portion can be printed with optional user
  33.     defined running headers/footers.
  34.   * Font selection capability
  35.   * Selectable colour schemes
  36.   * Drag and Drop file support.
  37.   * One-click operation via the Button-Bar
  38.   * Online Help
  39.   * Optional File Manager Extension.
  40.   * Can list and View the contents of ZIP files.
  41.     (Viewing Zip files requires a copy of PKUNZIP)
  42.  
  43.   **********************************************************************
  44.   *  PLEASE NOTE !                                                     *
  45.   *                                                                    *
  46.   * WnBrowse 3.5 and above will only run under Windows 3.1 and above,  *
  47.   * it will NOT run under Windows 3.0. Likewise, OS/2 2.1 is required  *
  48.   * to run WnBrowse, OS/2 2.0 will not do.                             *
  49.   *                                                                    *
  50.   **********************************************************************
  51.  
  52. A 32 bit version of WnBrowse for use under the Windows NT system is under
  53. development. This 16 bit version has been tested successfully under the
  54. retail version of Windows NT. 
  55.  
  56. Installing WnBrowse
  57. ===================
  58.  
  59. WnBrowse is distributed as eight files :
  60.  
  61.    WNBROWSE.EXE  - The WnBrowse program file
  62.    WNBROWSE.HLP  - The on-line help file
  63.    WNBROWSE.TXT  - Program documentation and registration details.
  64.    WBFXTEN.DLL   - WnBrowse File Manager extension 
  65.    WNBZIP.BAT    - DOS Command file for running PKUNZIP
  66.    WNBZIP.PIF    - PIF file for WNBZIP.BAT
  67.    BWCC.DLL      - The Borland Window Control Class DLL
  68.    README.NOW    - Information about the latest release.
  69.  
  70. (WnBrowse may also be distributed as a compressed ZIP file (WINBRW.ZIP) in
  71. which case you should use PKUNZIP to expand the file before proceeding).
  72.  
  73. 1. Install the WnBrowse files
  74.  
  75.    The Eight files above should be copied or unzipped to a directory on
  76.    your hard disk (I suggest to a new directory C:\WNBROWSE).
  77.    
  78.    You should then define WnBrowse in a suitable Program Manager group 
  79.    (refer to your Windows documentation for assistance on this procedure).
  80.   
  81. 2. Install the Borland DLL.
  82.  
  83.    The BWCC.DLL file contains a number of routines used by WnBrowse to
  84.    produce better looking dialog boxes. You may already have a copy of this
  85.    file on your system, particularly if you use Borland products. If you
  86.    have, you can continue to use your current copy, otherwise you must
  87.    ensure that BWCC.DLL is in one of the following directories :
  88.  
  89.      * The directory that contains WNBROWSE.EXE
  90.      * Your Windows directory (usually C:\WINDOWS)
  91.      * Your Windows system directory (usually C:\WINDOWS\SYSTEM)
  92.      * Any directory contained in your DOS PATH statement.
  93.  
  94. 3. Install the WnBrowse File Manager Extension.
  95.  
  96.    The WnBrowse package includes an optional extension to the Windows
  97.    File Manager that makes browsing files even easier than drag and drop.
  98.  
  99.    The first time you run WnBrowse after installation, you will be asked
  100.    if you wish to install the File Manager extension. If you click 'Yes',
  101.    WnBrowse will add the extension to the file manager by updating the
  102.    WINFILE.INI file. To activate the extension, you must stop and restart
  103.    File Manager.
  104.  
  105.    Note : If you indicate that you do not want the extension installed,
  106.           (by clicking the 'No' button), WnBrowse will not normally
  107.           ask again (but see WnBrowse INI options later in this file).
  108.  
  109. 4. Install the ZIP File viewing support.
  110.  
  111.    Before you can view the contents of ZIP files with WnBrowse, you must
  112.    first install the ZIP extraction utility PKUNZIP (a shareware utility
  113.    available from PKWARE Ltd).
  114.  
  115.    If PKUNZIP is installed in a directory that is NOT in your DOS PATH
  116.    statement, then you must make a change to the WNBZIP.BAT file.
  117.  
  118.    WNBZIP.BAT as shipped contains the following line :
  119.  
  120.       pkunzip %1 %2 %3 %4 %5
  121.  
  122.    If PKUNZIP.EXE is NOT in your DOS path, you must change the file to 
  123.    contain the full path to PKUNZIP. For example if PKUNZIP.EXE is in the
  124.    directory UTILS on drive C, change the contents to :
  125.  
  126.       C:\UTILS\PKUNZIP %1 %2 %3 %4 %5
  127.  
  128.    When Viewing a zipped file, WnBrowse creates a temporary copy of the
  129.    file. This copy is deleted after viewing is completed. Where WnBrowse
  130.    places these temporary files depends on the presence of a DOS 
  131.    environment variable (TEMP). If the TEMP variable is defined, then
  132.    temporary files are placed in that directory, otherwise, files are
  133.    placed in the root directory of the disk containing Windows.
  134.  
  135.    For example to place temporary files in the directory C:\TEMP, place
  136.    the following line in your AUTOEXEC.BAT file :
  137.  
  138.       SET TEMP=C:\TEMP 
  139.  
  140.    Note : Ensure that the directory named in the TEMP variable exists.
  141.    
  142.    WARNING : To ensure that you do not inadvertently overwrite files in
  143.              your root directory, it is STRONGLY recommended that you use
  144.              a temporary directory. 
  145.         
  146. ****************************************************************************
  147. ****************************************************************************
  148. **                                                                        **
  149. **                               ===========                              **
  150. **                               Please Note                              **
  151. **                               ===========                              **
  152. **                                                                        **
  153. **  WnBrowse is not freeware or in the public domain, it is Shareware.    **
  154. **  You may use WnBrowse without charge for a reasonable period of time   **
  155. **  to evaluate the product. If after that time you wish to continue      **
  156. **  using WnBrowse you must register your copy using the procedure        **
  157. **  detailed at the end of this file.                                     **
  158. **                                                                        **
  159. **  However, WnBrowse is 100% functional and contains no limitations or   **
  160. **  'Nag' boxes.                                                          **
  161. **                                                                        **
  162. **  Please support the shareware concept, and register the products that  **
  163. **  you continue to use !                                                 **
  164. **                                                                        **
  165. ****************************************************************************
  166. ****************************************************************************   
  167.  
  168.  
  169. Menu Commands
  170. =============
  171.  
  172.   File Menu :
  173.  
  174.        Open...
  175.        -------
  176.  
  177.          Presents a File open dialog box from which the file to be browsed
  178.          can be selected.
  179.  
  180.        Save As...
  181.        ----------
  182.  
  183.          Saves the current text selection to a file of your choice selected
  184.          from the 'Save As' common dialog.
  185.  
  186.        Close File
  187.        ----------
  188.  
  189.          Closes the current file (if any) and iconizes (minimizes).
  190.  
  191.        Launch Current File
  192.        -------------------
  193.  
  194.          Launches the current file. See 'File Launching' later in this
  195.          document. 
  196.  
  197.        Previous File
  198.        -------------
  199.  
  200.          Selects the previous file for browsing.
  201.  
  202.        Next File
  203.        ---------
  204.  
  205.          Selects the next file for browsing.
  206.  
  207.        Print...
  208.        --------
  209.  
  210.          Prints the current file or a selection thereof.
  211.  
  212.        Printer Setup...
  213.        ----------------
  214.  
  215.          Used to select a printer and to set printer options.
  216.  
  217.        Show Information...
  218.        -------------------
  219.  
  220.          Displays information about the current file (size,date etc).
  221.  
  222.        Exit
  223.        ----
  224.  
  225.          Exits WnBrowse.    
  226.  
  227.  
  228.   Edit Menu :
  229.  
  230.        Copy
  231.        ----
  232.  
  233.          Copies selected text to the Windows clipboard.
  234.  
  235.        Select All
  236.        ----------
  237.  
  238.          Quickly selects the entire file.
  239.  
  240.  
  241.   Search Menu :
  242.  
  243.        Find...
  244.        -------
  245.  
  246.          Searches for text within the file. The string to be searched for
  247.          can be entered as ASCII or hex characters.
  248.  
  249.        Repeat last find
  250.        ----------------
  251.  
  252.          Searches for the next occurrence of the previous find string.
  253.  
  254.        Goto...
  255.        -------
  256.  
  257.          Allows the file to be scrolled to a specified line or offset.
  258.  
  259.   View Menu :
  260.  
  261.        Text Mode
  262.        ---------
  263.  
  264.          Displays the current file in the text viewing mode (the default 
  265.          for text files).
  266.  
  267.        Hex Mode
  268.        --------
  269.  
  270.          Displays the current file in the hex viewing mode (the default for
  271.          non-text files).
  272.   
  273.        View ZIP File Contents...
  274.        -------------------------
  275.  
  276.          Displays information about the files contained within a ZIP file.
  277.  
  278.        Redisplay Zip File
  279.        ------------------
  280.  
  281.          Redisplays the Zip file that contains the file being viewed.
  282.  
  283.   Options Menu :
  284.  
  285.         Select Font... 
  286.         --------------
  287.  
  288.           Allows the font to be selected. The same font is used for both
  289.           displaying and printing the file.
  290.  
  291.         Preferences...
  292.         --------------
  293.  
  294.           Displays the Preferences dialog box. From there you can set many
  295.           WnBrowse options.
  296.         
  297.         Colours...
  298.         ----------
  299.  
  300.           Allows the WnBrowse colour scheme to be changed to match your
  301.           particular taste.
  302.  
  303.         Set Line Length...
  304.         ------------------
  305.  
  306.           Sets the length of lines displayed from non-text files in the
  307.           text viewing mode (1-255)
  308.  
  309.         Save Settings
  310.         -------------
  311.  
  312.           Saves all the WnBrowse options.
  313.  
  314.   Help Menu :
  315.  
  316.         Index
  317.         -----
  318.  
  319.           Displays the WnBrowse help index
  320.  
  321.         Keyboard
  322.         --------
  323.  
  324.           Displays help about controlling WnBrowse using the keyboard.
  325.  
  326.         Using Help
  327.         ----------
  328.  
  329.           Displays help on using Windows Help.
  330.  
  331.         About...
  332.         --------
  333.  
  334.           Displays WnBrowse version details. 
  335.  
  336.  
  337. Procedures
  338. ==========
  339.  
  340.    Selecting Files for Browsing
  341.    ----------------------------
  342.  
  343.    There are five ways of selecting files for browsing with WnBrowse.
  344.  
  345.    1. Open command
  346.     
  347.       By selecting "Open" from the File menu or by clicking the open 
  348.       button, a dialog box is presented from which a single file can be
  349.       selected. WnBrowse also saves the names of all files contained in
  350.       the file listbox. These can be browsed by selecting the Previous or
  351.       Next file command in the File menu.
  352.  
  353.    2. Drag and Drop
  354.  
  355.       One or more files can be dragged from the File Manager and dropped
  356.       onto the WnBrowse Window or the WnBrowse ICON. To facilitate easy 
  357.       drag and dropping, the WnBrowse ICON can be kept on constant display
  358.       by selecting 'Keep ICON on top' from the WnBrowse system menu. 
  359.  
  360.    3. Command Line
  361.  
  362.       The name of the file to be browsed can be specified on the WnBrowse
  363.       command line. More than one file can be selected by using the DOS
  364.       wildcards '?' and '*'.
  365.  
  366.             WNBROWSE.EXE C:\DOCS\*.TXT
  367.  
  368.       Would select all files in the DOCS directory with a file type of TXT.
  369.  
  370.    4. WnBrowse File Manager Extension.
  371.  
  372.       If you installed the optional WnBrowse File Manager Extension, you
  373.       can browse files directly from a new File Manager menu. The extension
  374.       adds an extra menu (Browse) to the File Manager menu bar. To browse a 
  375.       file (or files), simply select the files in the usual way, and select 
  376.       'Browse Selected File(s)' from the Browse menu. The Browse menu option 
  377.       works from both the directory window and the search results window.
  378.  
  379.       If a copy of WnBrowse is not running when the Browse option is
  380.       selected, the WnBrowse File Manager extension attempts to start a 
  381.       copy. For this to work, a copy of WNBROWSE.EXE must be contained in 
  382.       the same directory as the File manager extension DLL (WBFXTEN.DLL).
  383.  
  384.       If you are running Windows for Workgroups, the WnBrowse extension
  385.       will add a browse button (a magnifying glass) to the File Manager
  386.       toolbar. This button can be used for even faster browsing.
  387.  
  388.    5. Previously browsed files can be selected from the list of files
  389.       at the end of the File menu bar.
  390.       
  391.   Selecting Text
  392.   --------------
  393.  
  394.   The mouse is used to select text from the file being browsed. The
  395.   selected text is displayed in a different colour to distinguish it
  396.   from unselected text. Selected text can be copied to the Windows
  397.   clipboard (for pasting into other applications), can be printed, or
  398.   can be save to a file.
  399.  
  400.   Text is selected in the usual way by clicking the mouse at the start or
  401.   end of the required text, and dragging the mouse over the required text.
  402.   If the mouse is dragged outside the boundaries of the WnBrowse window, 
  403.   the file will be scrolled and selected.
  404.  
  405.   To speed up text selected, the keyboard can be used. For example, click
  406.   and hold the mouse at the start of the required text, then use the
  407.   Page-Down key to scroll through the file, selecting as you go.
  408.  
  409.   Note : In text mode, selection is done character by character, in hex
  410.          view mode selection is line by line.
  411.  
  412.   Viewing ZIP Files
  413.   -----------------
  414.   
  415.   WnBrowse can be used to list the contents of ZIP files, and to browse
  416.   individual files contained within them.
  417.  
  418.   When a ZIP file is selected, the ZIP button and the 'View ZIP File
  419.   Contents' menu item can be used to display the names of the included
  420.   files.
  421.  
  422.   From the ZIP display dialog, you can select one of the included files
  423.   for viewing by double clicking on the required file name, or by selecting
  424.   a file and pressing the View button. WnBrowse will UNZIP the file and
  425.   display it in the WnBrowse window. Selecting 'Redisplay Zip File' or
  426.   pressing the Re-display ZIP button will redisplay the original ZIP file.
  427.  
  428.   When Windows is running in enhanced mode, files are unzipped in an 
  429.   iconized DOS window. In standard mode the unzipping will be performed
  430.   in a fullscreen DOS session.
  431.  
  432.   NOTE : ZIP Viewing is not currently supported when WnBrowse is running
  433.          under the OS/2 operating System.
  434.          
  435.          Recursive Zip viewing is not supported. That is, you cannot view
  436.          a file contained within a Zip file that is itself contained within
  437.          a Zip file. You can however, list the contents of a Zipped Zip
  438.          file.
  439.  
  440.   Printing 
  441.   --------
  442.  
  443.   The File menu contains two commands used to control printing, the first
  444.   'Printer Setup' is used to select the required printer, and to set
  445.   printer options, such as page size. The actual options available will
  446.   vary according to the type of printer being used.
  447.  
  448.   The second print command 'Print' is used to display a dialog box from
  449.   which file printing is controlled (you can also click on the printer
  450.   button).
  451.  
  452.   The following options are available :
  453.  
  454.     * Print full file or only selected text
  455.     * Set the size of the left, top and bottom margins
  456.     * Print with or without user defined headers and footers
  457.     * Print using the default printer font
  458.     * Process embedded form feed characters.
  459.  
  460.   If the header/footer check box is clicked, the print dialog box is
  461.   expanded to allow the entry of a header and footer line to be printed at
  462.   the top and bottom of each page. Along with the text required in these 
  463.   lines, you may also include the following codes :
  464.  
  465.       &d - Prints the current date
  466.       &t - Prints the current time
  467.       &f - Prints the name of the file being printed
  468.       &p - Prints the current page number
  469.  
  470.   Note: The exact format of the time and date is dependant on the current
  471.         control panel settings.
  472.  
  473.   The slash character '/' can be used to left justify, right justify, or
  474.   centre text within the headers and footers.
  475.  
  476.   for example :
  477.  
  478.      &f/&d/Page &p
  479.  
  480.   would result in :
  481.  
  482.     wnbrowse.txt                28/08/92                    Page 1
  483.  
  484.   Page Ejects
  485.   -----------
  486.  
  487.   When printing a text file, if the Process Form Feed option is set, and if
  488.   any line contains a Form-Feed ASCII character in position one (hex '0C'),
  489.   WnBrowse will start a new page before printing that line. When printing
  490.   files that contain Form-Feeds, you should ensure that the page margins
  491.   are set to appropriate values.
  492.  
  493.   Launching Files
  494.   ---------------
  495.  
  496.   When browsing a file you can launch it by clicking on the Launch button,
  497.   or by selecting the 'Launch Current File' option from the File menu.
  498.  
  499.   What happens when you launch a file depends on the file type, and
  500.   whether or not it has an associated application:
  501.  
  502.   * If the file has an associated application, launching the file, will
  503.     start that application and load the file being browsed into it.
  504.     For example, launching a file with an extension of BMP, will normally
  505.     start the Windows Paintbrush program.
  506.  
  507.   * If the file is a Windows 16 bit program. Launching the file will
  508.     start it's execution.
  509.  
  510.   * If the file is a text file, launching it will start the default editor
  511.     program. The name of the editor can be set from the Preferences
  512.     dialog.   
  513.  
  514.   If the 'Minimize on Launch' option has been set, WnBrowse will minimize
  515.   after the file has been launched.
  516.  
  517.   Note: The launch facility also works when viewing a file contained
  518.         within a ZIP file.
  519.  
  520.  
  521.   Mouse control
  522.   -------------
  523.  
  524.   While most WnBrowse functions can be controlled by either the mouse
  525.   or the keyboard, some functions are only available via the mouse. One,
  526.   text selection, has already been covered, below are the rest :
  527.  
  528.  
  529.      Popup File selection
  530.      --------------------
  531.  
  532.        When multiple files are available for browsing, a single right
  533.        click of the mouse in the WnBrowse window will produce a popup
  534.        dialog box allowing quick file selection.
  535.  
  536.      Mouse File positioning
  537.      ----------------------
  538.  
  539.        If the left mouse button is double clicked on a text line two
  540.        things take place :
  541.  
  542.          1. The line is scrolled to the top of the window.
  543.          2. The new file position is remembered by WnBrowse.
  544.  
  545.        If the right mouse button is subsequently double clicked anywhere
  546.        within the WnBrowse text window, the file is repositioned at the
  547.        point saved above. A second right button double click returns to
  548.        the previous position.
  549.  
  550.      Selecting text to search for
  551.      ----------------------------
  552.  
  553.        You can quickly find other occurrences of a text string within a
  554.        file by selecting the text you want to search for before clicking
  555.        the Find button or selecting Find from the Search menu. The selected 
  556.        text will be used as the string to be searched for.       
  557.  
  558.      Reverse Repeat Search Direction
  559.      -------------------------------
  560.      
  561.        The repeat search button is used to find the next or previous
  562.        occurrence of a character string within a file. If the shift key is
  563.        pressed while the repeat search button is clicked, then the search
  564.        direction is temporarily reversed.   
  565.  
  566.   
  567.   Keyboard Usage
  568.   --------------
  569.  
  570.             Key                         Usage    
  571.        ===============  =======================================
  572.  
  573.         F1              Displays the Help Index 
  574.         F3              Performs a Find Next 
  575.         ESC             Closes the file and iconizes 
  576.  
  577.         ctrl-T          Selects text view mode 
  578.         ctrl-H          Selects hex view mode 
  579.  
  580.         ctrl-M          Toggles the display of the menu 
  581.         ctrl-S          Saves the currently selected options 
  582.  
  583.         ctrl-C          Copies selected text to the clipboard 
  584.  
  585.         ctrl-Page Up    Browses the previous file 
  586.         ctrl-Page Down  Browses the next file
  587.  
  588.         Page Up         Scrolls up one window full 
  589.         Page Down       Scrolls down one window full 
  590.         Up Arrow        Scrolls up one line 
  591.         Down Arrow      Scrolls down one line 
  592.         Left Arrow      Scrolls left 8 characters 
  593.         Right Arrow     Scrolls right 8 characters 
  594.         Home            Scrolls to the top of the file 
  595.         End             Scrolls to the bottom of the file. 
  596.    
  597.  
  598.   File Information Display
  599.   ------------------------
  600.  
  601.   The File Information option on the File menu (or the information button)
  602.   can be used to display information about the file that is currently
  603.   being browsed.
  604.  
  605.   When browsing a Windows 16 bit application file (EXE or DLL), WnBrowse
  606.   will display Version information if available. This information can be
  607.   useful in identifying the purpose of a file.
  608.  
  609.   Also available is the list of DLL's that a program has imported. 
  610.  
  611.   WNBROWSE.INI options file
  612.   -------------------------
  613.  
  614.   A large number of WnBrowse options can be changed to meet your exact
  615.   requirements. These include the colour scheme, default font etc. To
  616.   avoid having to change these settings each time you start WnBrowse,
  617.   you can save them by using the 'Save Settings' command on the Options
  618.   menu. WnBrowse saves all the settings in a private file (WNBROWSE.INI)
  619.   in the Windows directory . No changes are made to any of the Windows
  620.   INI files.
  621.  
  622.   Most of the options in the wnbrowse.ini file are created when the Save
  623.   Settings option is selected. Others, such as print options, are created
  624.   when they are changed. These should therefore not be changed by other
  625.   means, such as with a text editor, doing so could cause unpredictable
  626.   results. 
  627.  
  628.   Options that must be entered/changed with an editor are detailed below :
  629.  
  630.     ExitOnEsc=1 or 0 (default is 0)
  631.  
  632.       This option modifies the behavior of the Escape key. When set to
  633.       '0' the Escape key causes WnBrowse to close the current file and
  634.       iconize. When set to 1, the Escape key will cause WnBrowse to Exit.
  635.  
  636.     Buffers=n         (n is 0 to 5, the default is 5)
  637.  
  638.       This option specifies how many buffers are used to store data from
  639.       files being browsed. Each buffer is approximately 30k in size. All
  640.       such buffers are freed if Windows becomes short of storage.
  641.  
  642.     MaxTextSize=n    (n is 0 to 114, the default is 12)
  643.  
  644.       This option specifies the largest file size (in megabytes) that can
  645.       be browsed in text mode. Any file larger than the specified size will
  646.       be treated as a 'non-text' file.
  647.  
  648.       Note: When WnBrowse opens a text file, the entire file is read. For
  649.             large files, such as 10MB or more, this may take a while.
  650.             Setting the MaxTextSize option to a low value (EG '1') will
  651.             speed up processing.
  652.  
  653.     MaxLineLen=n    (n is 80 to 1024, the default is 256).
  654.  
  655.       This parameter can be used to change the maximum length of a line
  656.       that WnBrowse will allow in a text file.  
  657.  
  658.     InstallExt=1
  659.  
  660.       If you answer 'No' to the request to install the file manager
  661.       extension the first time WnBrowse is run, WnBrowse will not
  662.       normally ask again. However, if this option is set to '1', 
  663.       WnBrowse will ask again, the next time it is run.
  664.  
  665.   Named Saved Options
  666.   -------------------
  667.  
  668.   WnBrowse also allows you to save options as named configurations, 
  669.   allowing you to specify the named configuration at run time.
  670.   To do this you must tell WnBrowse the name of the INI configuration to
  671.   use at startup. This is done by passing the required name as a command
  672.   line parameter.
  673.  
  674.          WNBROWSE.EXE -Iname
  675.  
  676.   The dash character indicates a WnBrowse parameter, the 'I' specifies that
  677.   an INI configuration name follows, 'name' can be any name you like (less
  678.   than 20 characters).
  679.  
  680.   Customizing  File Open Filters
  681.   ------------------------------
  682.  
  683.   When you select the File open command (or click the open button), the
  684.   common Windows file open dialog box is displayed. Included is a list
  685.   box (List files of type) containing file filters. You can use your
  686.   own list of filters by adding a parameter to the WnBrowse options
  687.   file (WNBROWSE.INI).
  688.  
  689.   The filter string should consist of one or more pairs of strings
  690.   separated and terminated by a unique character. For example to allow
  691.   for the selection of TXT files or INI files you would code :
  692.  
  693.     FilterSpec=Text Files (*.TXT)|*.TXT|INI Files (*.INI)|*.INI|
  694.  
  695.   The first string in each pair is displayed in the filter listbox to
  696.   inform the user what file types will be selected. In the example above,
  697.   these descriptive strings are :
  698.  
  699.      Text Files (*.TXT)
  700.      INI Files (*.INI)
  701.  
  702.   The second string in each pair is the file filter specification that
  703.   is to be used to select files. In the example above, they are :
  704.  
  705.      *.TXT
  706.      *.INI
  707.  
  708.   Each string is separated by a unique character that is not it's self
  709.   contained in the strings proper. In the example above the character
  710.   used is '|'.    
  711.  
  712.   You may also combine filters into a single selection by separating them
  713.   with a semicolon, for example :
  714.  
  715.     FilterSpec=Text Files (*.TXT;*.DOC)|*.TXT;*.DOC|
  716.  
  717.   The First filter in the list is used as the default. The default 
  718.   filter used by WnBrowse is :
  719.  
  720.     All Files (*.*)|*.*|Text Files (*.TXT)|*.TXT|INI Files (*.INI)|*.INI|
  721.        ZIP Files (*.ZIP)|*.ZIP|
  722.  
  723.   Note : WnBrowse does not perform any sanity checks on the supplied
  724.          string. Failure to provide a valid string could produce
  725.          unpredictable results.
  726.  
  727.   Removing WnBrowse from your system
  728.   ----------------------------------
  729.  
  730.   If after evaluating WnBrowse you decide not to register it, you must
  731.   remove it from your system. To do this delete the following files :
  732.  
  733.            WNBROWSE.EXE
  734.            WNBROWSE.HLP
  735.            WBFXTEN.DLL
  736.            WNBROWSE.TXT
  737.            WNBZIP.BAT
  738.            WNBZIP.PIF
  739.            
  740.   If you also copied the BWCC.DLL file to your hard disk, this file should
  741.   also be deleted. DON'T delete this file if you had a copy before WnBrowse
  742.   was installed ! 
  743.  
  744.   If you saved the WnBrowse settings, delete the file WNBROWSE.INI from
  745.   your Windows directory (usually C:\WINDOWS).
  746.  
  747.   If you installed the WnBrowse File Manager extension, you should remove
  748.   the appropriate line from the Addons section of WINFILE.INI.
  749.  
  750.     Load the file WINFILE.INI into an editor, such as notepad, and find the
  751.     addons section. This section starts with a line containing [AddOns].
  752.     Delete the line in the Addons section that loads the WnBrowse File
  753.     Manager extension. It will look like the example below :
  754.  
  755.       WnBrowse=C:\WNBROWSE\WBFXTEN.DLL
  756.  
  757.     Save the file and restart File Manager. 
  758.  
  759.  
  760. Registering WnBrowse
  761. ====================
  762.  
  763.   If you like WnBrowse enough to want to continue using it after the
  764.   evaluation period, you must register it using the procedure below. The
  765.   benefits of registration are many :
  766.  
  767.     * You will have access to free product support.
  768.  
  769.     * You will receive details of new versions of WnBrowse (and hopefully
  770.       other future products).
  771.  
  772.     * You will be able to make suggestions for improvements and (horror)
  773.       report any bugs.
  774.  
  775.     * You will enable me to continue to improve and support what I hope
  776.       is the first of many useful products.
  777.  
  778.     * If the version you are evaluating has been superseded, you will also
  779.       receive a copy of the latest version. 
  780.  
  781.   Register By Post :
  782.   ------------------
  783.  
  784.     To register by post, send your cheque, made payable to N.G.Thomas
  785.     to the following address :
  786.  
  787.           Nigel.G.Thomas.
  788.           39 Redshank Avenue,
  789.           Winsford,
  790.           Cheshire CW7 1SP,
  791.           England.
  792.   
  793.     Please send what you think WnBrowse is worth, I suggest 10 UK pounds.
  794.  
  795.     (Please note that at this time I CANNOT accept payment by credit cards,
  796.      if absolutely necessary, send cash (in Sterling))
  797.    
  798.     Include the following :
  799.  
  800.       * Your name
  801.       * Your address and telephone number.
  802.       * From where you acquired WnBrowse
  803.       * The version being evaluated.
  804.       * Required disk size 3.5 or 5.25.
  805.  
  806.       Note : A new disk will ONLY be sent if there is a newer version
  807.              of WnBrowse available.
  808.  
  809.       Any comments on the product would also be appreciated. 
  810.  
  811.   Register by CompuServe
  812.   ----------------------
  813.  
  814.     You can also register WnBrowse by using the CompuServe shareware
  815.     registration service. To access the service, logon to CompuServe and
  816.     access the SWREG service (GO SWREG). The CompuServe registration ID
  817.     for WnBrowse is 1108. 
  818.  
  819.     When you register via SWREG, the cost is a fixed 15 US dollars.
  820.   
  821.   Registering Multiple Copies
  822.   ---------------------------
  823.  
  824.     For details on registering multiple copies of WnBrowse, please contact
  825.     me at the above address. I can also be contacted on CompuServe, my ID
  826.     is 100117,1542.
  827.  
  828. The Legal Stuff
  829. ---------------
  830.  
  831.    WnBrowse is supplied as is. The author disclaims all warranties, 
  832.    expressed or implied, including, without limitation, the warranties of
  833.    merchantability and of fitness for any purpose. The author assumes no
  834.    liability for damages, direct or consequential, which may result from
  835.    the use of WnBrowse.
  836.  
  837.    WnBrowse is a "shareware program", and is provided at no charge for you
  838.    to evaluate for a reasonable period of time. You may also pass copies of
  839.    WnBrowse to friends so that they may also evaluate the product. If you 
  840.    do pass on WnBrowse, you must do so without modification, including all
  841.    of the supplied files.
  842.  
  843.    If you find WnBrowse useful and wish to continue using it, you must
  844.    register it using the procedure outlined above. Once you have registered
  845.    WnBrowse, you may continue to use this version, and ALL future versions
  846.    of WnBrowse, without further charge.
  847.   
  848.          
  849. Techi stuff + Thanks
  850. --------------------
  851.  
  852.    WnBrowse was developed on an IBM PS/2 model 70 under Windows 3.0 and
  853.    a Dell 466/T under Windows 3.1. It was written in the C language and
  854.    was compiled using the Borland C++ compiler version 3.1. 
  855.  
  856.    The ICON was provided by Arthur. Thanks Arthur !
  857.  
  858.    A number of people have contributed to the design of WnBrowse by 
  859.    providing constructive criticism and suggestions for improvements.
  860.    Thanks to all, but particularly to Tom and Jack. 
  861.  
  862. Release History
  863. ---------------
  864.  
  865.    13/05/91  1.00   Initial release
  866.    21/05/91  1.01   Allow filename to be passed as a parameter
  867.    07/06/91  1.02   Fix horizontal position when re-sizing bug
  868.                     support for Ruler display
  869.                     double-click scroll function
  870.                     Selectable font facility
  871.                     Print support
  872.    12/07/91  1.03   Fix bug in Printer support
  873.    21/08/91  1.04   Added find support
  874.    20/09/91  1.05   Force standard size of initial window
  875.                     Allow text display of hex type file
  876.                     Online help added
  877.                     Support EBCDIC translation for IBMers
  878.    17/10/91  1.06   Added clipboard support
  879.    18/11/91  1.07   Process SB_THUMBTRACK on vertical scroll
  880.                     Extend Printer support
  881.    31/01/92  2.00   Modified to use Borland Window controls (BWCC)
  882.                     Support for initial window size on startup
  883.    05/02/92  2.01   Fix to ColoursProc to avoid the dreaded UAE
  884.                     fix to put window in required place
  885.                     Support file position saving facility
  886.    13/02/92  2.02   Fix to correctly save the font type
  887.                     fix to correctly process the command line
  888.                     support for international character sets
  889.    15/02/92  2.03   Support for large files
  890.                     Support for file information display
  891.                     Support for GOTO dialog
  892.    28/02/92  2.04   Support for status line
  893.                     Fix to prevent menu options being grayed in error
  894.    05/03/92  2.05   Fix to correct selection of single line of text
  895.                     Allow named saves to be made to the ini file
  896.                     Added more status line messages
  897.                     Finally added hex search support
  898.                     Menu status (suppress/display) saved in INI file
  899.    26/03/92  2.06   Support for displaying next/prev file
  900.    24/04/92  2.07   Fixed a few small bugs
  901.                     Changed text selection to character vs line
  902.                     Added file list popup dialog
  903.                     Allow user to set non-text line length
  904.                     Add drag and drop support - 3.1 At Last !
  905.                     Added an extra colour choice - Grey
  906.    21/05/92  2.08   Improve printer setup
  907.                     Support for wild-cards in command line
  908.                     Support file printing via association (-p command)
  909.                     Support for floating ICON
  910.                     Total revamp of colour selection dialog
  911.    05/08/92  2.09   Add call to DragFinish and use 3.1 SDK
  912.    14/08/92  3.00   First shareware version 
  913.                       Added button bar
  914.                       Added Nag Box and registration Dialog
  915.    17/02/93  3.1    Second shareware version :
  916.                       Use common dialogs for file open and font selection
  917.                       Improved the look of the button bar
  918.                       Fixed a couple of well hidden bugs
  919.                       Nag Box and registration dialog removed
  920.                       ZIP File support
  921.  
  922.    22/03/93  3.2    Bug fix +
  923.                       Fixed colour dialog to work with new BWCC.DLL
  924.                       Fix Open dialog to correctly save long path names
  925.                       Allow font sizes to be saved under Windows 3.0
  926.                       Add Save As support.
  927.                       Add Select All menu command.
  928.  
  929.    02/07/93  3.3    Fixed some smallish bugs
  930.                     Support for viewing ZIP files
  931.                     Circumvent bug in WinDows NT beta.
  932.                     Added Find Scroll to Top support.
  933.                     
  934.    01/09/93  3.4    Bugs fixed
  935.                     Extended search options
  936.                     Print using default font
  937.                     Extended file information
  938.                     Size limit removed (sort of).
  939.  
  940.    02/12/93  3.5    OEM to ANSI translate
  941.                     Save last nine opened files
  942.                     Allow the launch of Windows programs
  943.                     Allow launch of editor
  944.                     Automatic install of File Manager extension
  945.                     New preferences dialog
  946.                     Display imported DLLl list
  947.                     Support for lines > 256
  948.                     TAB size may be changed
  949.                     Fix some bugs                   
  950.  
  951.                            ----------------
  952.        
  953.    Windows is a trademark of Microsoft Corporation
  954.    PS/2 and OS/2 are trademarks of International Business Machines Ltd.
  955.    PKUNZIP is copyright PKWARE Ltd.
  956.