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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top