Michele,
Your approach looks a bit complex. :)
I do not forms (scx), I do forms in vcx's
An object can be created with NEWOBJECT which has a parameter that allows to set the exe (or app for that) file. See HELP NEWOBJECT
Also a classlib can be used via SET CLASSLIB, this comes with an IN clause too
An other way is to create a procedure in your exes main programm, call it from outside
DO My_Proc IN MyApp.exe and let that create the form.
In general I feel that the use of vcx based forms is better for that, but I do not have done much with it
If you like to see how it works you can download my
Bin2PRG extension from VFPX. Check the menu, the RunBT2 main prg and the cusstorage class. The form frmInterface does not much.
>Is there a way to call a form (that i have in my Exe file) from an external prg ?
>
>My app is an .Exe compiled foxpro files.....in one form i call an external .prg file (really an .fxp). In this .fxp i need to call a form that i have in my Exe, but foxpro always searches for an external .scx file, that obviously i have not in the customer folder....i have only the compiled exe file....
>
>Some solution or suggest ?
>
>Thanks
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]