Cetin,
Bare with me, as I'm a newcomer to Visual FoxPro. I tried to run the call to GetExecutable() from my Command Window, and got an error message: GetExecutable.prg not found. Do I need to name the file with GetExecutable() method, GetExecutable.prg? Why isn't it working as you've stated.
Fred Z
Don