home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / f_open / fopen.inf < prev    next >
Text File  |  1991-06-25  |  2KB  |  45 lines

  1.               WIN3 STYLE FILE OPEN DIALOG - FOPEN v1.1
  2.  
  3. The archive should include the following files:
  4.  
  5.         FOPEN.INF    This file.
  6.         FOPEN.MAK    Project MAK.
  7.         FOPEN.BAS    Globals.
  8.         FOPEN.FRM    Win3 Style File Open dialog.
  9.         FOPDEMO.FRM    Form to demo FOPEN
  10.  
  11. To see a demo, load FOPEN.MAK which requires FOPEN.BAS, FOPEN.FRM and
  12. FOPDEMO.FRM and run it.
  13.  
  14. If you want to use FOPEN in your programs, copy the contents of FOPEN.BAS
  15. to your Global file and include FOPEN.FRM in your project.  FOPDEMO isn't
  16. needed.  Your VB WinApp can use the globals FullName, TheFileName, ThePath,
  17. and ThePattern to pass information between the Parent and FOPEN.  The global
  18. FormTitle sets a title for FOPEN.FRM.
  19.  
  20. The source code is commented and should answer most of your questions, but
  21. if it doesn't you may reach me via CIS-MAIL at 73667,1755.  When you're
  22. comfortable using FOPEN delete the comments.  Some routines are borrowed
  23. from the Visual Basic Programmer's Guide and cardfile.bas.
  24.  
  25. FOPEN is free but if you make any improvements (hint: it can be changed to
  26. act as both a File Open and File Save As dialog) please CIS-MAIL me a copy.
  27.  
  28.  
  29. Changes since FOPEN version 1.0:
  30.     1.  Added EM_LIMITTEXT to FOPEN's Text1 textbox to limit entries
  31.         to 127 characters.  This is more than generous.
  32.     2.  Corrected the OfStruct type definitions for OpenFile.
  33.     3.  Changed Msg declares to conform with Windows API's 
  34.         format, e.g. WM_USER + 5
  35.     4.  Removed the MsgBox warning when changing to an invalid 
  36.         subdirectory with ChangeDir.  Win3 style File Open simply 
  37.         highlights the text to bring it to the user's attention. If
  38.         you want the warning, simply put it back.
  39.     5.  Added a few more comments.
  40.  
  41.  
  42. Enjoy,
  43.  
  44. Costas Kitsos
  45.