>We have created an application in Visual FoxPro ver 5.0. In one of the Program File (.PRG), we have used a command to compile the form file.
>
>COMPILE FORM abc.scx
>
>If we try to run this Application from within FoxPro, the application works fine and abc.scx compiles properly. But if we build an .EXE application and try to run it from outside of FoxPro it gives the Error Message.
>
>ERROR 1001 : Feature is not available.
>
>we have the following DLL files in our application directory.
>VFP500.DLL
>VFP5ENU.DLL
>VFP5.DLL
>
>In short we want to compile a form from within an EXE application.
>
>any help in this regard will be highly appreciated.
>
>Thanks in advance.
>
>Dinesh
You can't compile the form in the EXE. The compiler is not available in VFP 5.0 runtime. To do this in runtime, you need to use VFP 6.0, SP3.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer