When i execute an application with Remote Desktop (TS) ,
the function GetEnv( "COMPUTERNAME" ) return the NAME of the SERVER and not the name of the workstation that execute Remote Desktop .
How to know this name ?
Thanks
When i execute an application with Remote Desktop (TS) ,
the function GetEnv( "COMPUTERNAME" ) return the NAME of the SERVER and not the name of the workstation that execute Remote Desktop .
How to know this name ?
Thanks
cComputer := gete('CLIENTNAME')
if empty( cComputer )
cComputer := gete('COMPUTERNAME')
endifThanks for your help .
It works .
Thanks