System Environment Variable "path" problem

  • Thread starter Thread starter DotNetJunkies User
  • Start date Start date
D

DotNetJunkies User

I developed a Windows Service that uses the Oracle Client software.
When I dump the "path" statement in the Service program it is not the same as the System Administrative screen path. The Service path is not reflecting the Oracle Directory.

What to do?
 
Try one of the following:
1. Environment.GetEnvironmentVariable("Path")

2. If you know the Oracle Directory
IO.Directory.SetCurrentDirectory(Oraclepath)

Hope that helps,
--
Marc Butenko
(e-mail address removed)



DotNetJunkies User said:
I developed a Windows Service that uses the Oracle Client software.
When I dump the "path" statement in the Service program it is not the same
as the System Administrative screen path. The Service path is not
reflecting the Oracle Directory.
What to do?
engine supports Post Alerts, Ratings, and Searching.
 
Back
Top