>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")
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges