Check your set path command - should it be SET PATH TO dbase (relative). If VFP cannot find a particular file, it will produce an error saying that it is not in the current folder (this is what your error message shows).
>Goodday!
>
>I was adviced that i should not make my code pathing "hardcore", as they call it. So i did first it worked well then after i changed the directory to test if it work it didn't
>
>
>To sum it up:
>The structure of the source file is this "c:\pleasure\dbase"
>I have a table named "password" inside "c:\pleasure\dbase "
>I used the command set path to '\dbase\' so the pathing would not be "hardcore".
>Then I issued this command use "use password in 2"
>And then i used the the setup wizard and I installed the application to " c:\tmp\" .
>When i execute the program it produces an erorr saying that it cannot find "c:\tmp\password.dbc".
>Why did it looked for the "password" table in "c:temp" when i issued a seth path command.
>
>
>
>thanks