Both of those commands show "vfp.exe". I guess I did not say it right, I need the application executable name, like: payroll.exe or genSrvcs.exe.
>>Is there any way to capture the name of the executable while the app is running. I want to use a variable for that name to use in the newobject function oObj=newobject(class,parentclass,sExe), where sExe=executablename.
>>
>>Thanks
>
>
lcExeName = SYS(16,1)
>* or
>lcExeName = _vfp.ServerName
Extreme Programming = Plan -> Design -> Code -> Test