>>I have an application which will be run randomly to check the speed of machines on the network. It emails the result to me. But how can I capture the machine name or preferably Windows login name in VFP so the the application can be run without having to keep a log of where it was run
>
>An alternative to Sys(0) can be any enviroment variables, for example:
>
>
>? GetEnv("COMPUTERNAME")
>? GetEnv("USERNAME")
>
>? GetEnv("USERDNSDOMAIN")
>? GetEnv("USERDOMAIN")
>? GetEnv("LOGONSERVER")
>? GetEnv("USERPROFILE")
>
Thanks for that - very useful
Specialist in Advertising, Marketing, especially Direct Marketing
I run courses in Business Management and Marketing