>Hi Sergey!
>
>I hope you are feeling good.
>
>I'm sure you can help me with this. I need to get the name of the server where a VFP .APP or .EXE is executing.
>
>Thanks a lot
Hi Ricardo,
What is this? Asking a question directly to Sergey? Don't you trust the answers of the others? :)
I think you don't really refer to where it is executing, but rather to where it is started. In that case, then here is the way you can find out what the UNC is of the program being executed:
lcAppDir = addbs( GetUNCPath( alltrim( justpath( sys( 16, 0 ) ) ) ) )
You can find the function GetUNCPath() on Andrew Coates' website:
http://www.civilsolutions.com.au/publications/getuncpath.htmGood luck.
Groet,
Peter de Valença
Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.