I am building a standalone ap with vfp9. I want the exe to find a set
of free tables in the directory where it is run from. I know I can
hard code a set of tables into the project. The exe finds them from
where ever it is run. But that file set won't be where the exe
expects to find them after being put in place by a program installer
on a user's machine.
My thought was that there would be a way for the program to tell
itself where it is (like app.path in vb). I have found home() and a
set of sys() functions that provide a lot of paths, but, as far as I
can tell, none of them will tell the program what directory it was
started from. Yes, the program can find the Windows current
directory, but that won't necessarily be the same thing.
Is there a way to for a vfp exe to find out where it is?
Noah Sombrero