Article ID: 119284
Article Last Modified on 6/30/2004
PKZIP picdbf picfiles.dbf PKZIP picdbf picfiles.fpt ZIP2EXE picdbfMove the newly-created PICDBF.EXE file to your source files directory. Do NOT put the PICFILES.DBF or PICFILES.FPT file in this directory.
* This code assumes the data file to be extracted is named
* PICFILES.DBF. The example tested for this article was over 5 MB,
* and compressed to 1.3 MB. The K value of 240 used in the RUN
* command is an empirical value that has proven successful in our
* tests, but your results may vary. A lower value may be possible.
IF !FILE('picfiles.dbf') OR !FILE('picfiles.fpt')
* The data is shipped as a self-extracting executable with the
* name PICDBF.EXE. It may be wise to include the -o parameter to
* overwrite files when extracting databases.
RUN /240 picdbf.exe -o
* The WAIT window below will keep FoxPro from continuing in
* multithreaded operating systems such as Microsoft Windows NT.
DO WHILE !FILE('picfiles.fpt')
WAIT WINDOW 'Extracting files...' TIMEOUT 5
ENDDO
ENDIF
IMPORTANT: The compression software that you decide to use may require
additional licensing for distribution in a commercial application. Contact
the compression vendor for licensing details.
Keywords: kberrmsg kbhowto kb3rdparty KB119284