Hi Aashish,
_VFP.ServerName returns the VFP.EXE when I execute the app inside VFP and returns the my APP name when I execute it from Windows Explorer.
So, Sys(16) is the best solution because it always returns the APP name!
Thanks!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte