Running FoxWeb without VFP
The resident server program (FWSERVER.EXE) was compiled as a VFP executable and can be run using either VFP itself or the freely distributable VFP run-time library. To use the run-time library enable the corresponding option in the FoxWeb Configuration Screen.
Even though FoxWeb user programs must be compiled with Visual FoxPro, the web server does not necessarily need to have a license of VFP installed on it. If you already own a license of VFP and do not wish to purchase another one for the server, you may run FoxWeb using the VFP run-time library. To do that, you first need to copy the run-time library files from the system directory of a computer that has VFP installed, to the system directory of the server (system32 if running NT). For VFP 3.0 the required file is VFP300.ESL
and for VFP 5.0 the required files are VFP500.DLL
and VFP5ENU.DLL
. If for some reason you are unable to copy the files you can download them from our server:
If you wish you may configure VFP to automatically compile .PRG files after you save them. First, you need to edit your resource file (usually foxuser.dbf) so that there are no settings saved for all the .PRG files you have already edited:
DELETE FROM (SET('RESOURCE',1)); WHERE Id='WINDMODIFY' AND RIGHT(TRIM(Name),4)='.prg' |
Then, go to Tools/Options/Edit while you are editing a .PRG file. Enable "Compile before saving" and "Set as default for .PRG files", hit "Set as Default", and you will not need to worry about compiling again!