I've written code in VB.Net that calls GetEnvironmentVariable. When I
execuate the code as part of a Windows Form, it reads the environment
variable with no problem.
I put the code in a Windows Service, however, and it can't seem to read
the same environment variable.
I used Microsoft .Net Framework to give the application every possible
permission, but it doesn't seem to help.
Ideas?