home *** CD-ROM | disk | FTP | other *** search
- WIN3 STYLE FILE OPEN DIALOG - FOPEN v1.1
-
- The archive should include the following files:
-
- FOPEN.INF This file.
- FOPEN.MAK Project MAK.
- FOPEN.BAS Globals.
- FOPEN.FRM Win3 Style File Open dialog.
- FOPDEMO.FRM Form to demo FOPEN
-
- To see a demo, load FOPEN.MAK which requires FOPEN.BAS, FOPEN.FRM and
- FOPDEMO.FRM and run it.
-
- If you want to use FOPEN in your programs, copy the contents of FOPEN.BAS
- to your Global file and include FOPEN.FRM in your project. FOPDEMO isn't
- needed. Your VB WinApp can use the globals FullName, TheFileName, ThePath,
- and ThePattern to pass information between the Parent and FOPEN. The global
- FormTitle sets a title for FOPEN.FRM.
-
- The source code is commented and should answer most of your questions, but
- if it doesn't you may reach me via CIS-MAIL at 73667,1755. When you're
- comfortable using FOPEN delete the comments. Some routines are borrowed
- from the Visual Basic Programmer's Guide and cardfile.bas.
-
- FOPEN is free but if you make any improvements (hint: it can be changed to
- act as both a File Open and File Save As dialog) please CIS-MAIL me a copy.
-
-
- Changes since FOPEN version 1.0:
- 1. Added EM_LIMITTEXT to FOPEN's Text1 textbox to limit entries
- to 127 characters. This is more than generous.
- 2. Corrected the OfStruct type definitions for OpenFile.
- 3. Changed Msg declares to conform with Windows API's
- format, e.g. WM_USER + 5
- 4. Removed the MsgBox warning when changing to an invalid
- subdirectory with ChangeDir. Win3 style File Open simply
- highlights the text to bring it to the user's attention. If
- you want the warning, simply put it back.
- 5. Added a few more comments.
-
-
- Enjoy,
-
- Costas Kitsos
-