>Hi,Jacky-
>
>Are you
including the forms in the EXE? If so, then in the EXE you don't want to specify a path. If not, and you are changing where the form is stored, you need some mechanism for setting the path (SET PATH) to find the exe. If the later case is your situation, please post a real example of how you DO the forms, and where they are stored in development time, and "real" time. Also, say whether you are including the forms.
>
The case is ,I included all the form in the project .(Mainform ,leave1)
When I want to exit the program ,it will call form leave1 .
------
do form leave1
mainform.release()
------
In the form leave1 ,there have a buttom "Exit"
------
thisform.release()
------
It work fine in VFP runtime ,but when I install it to another machine with other dir .
While I call leave1 ,it tell me file not find ,too bad ~_~
I have tried like that but still dun work ,here is the code :
------
SET PATH TO CURDIR()
do form leave1
mainform.release()
------
Do you have any idea about that ?
Thanx
I'm a beginner of Visual Foxpro 5.0 ,thanx for help ^^