Hello, Rob!
If I recall correctly, working directory (current dir) is set by the process
that launches the application.
If you want to change it, you can do in the the app inintialization code.
For instance, in the main routine.
At first you take the path where executing or entry assembly is located (
Assembly.GetExecutionAssembly().Location ).
Then take directory info from that path ( Path.GetDirectoryName(...) ) and
then set current directory (Environment.CurrentDirectory)
--
With best regards, Vadym Stetsiak.
Blog:
http://vadmyst.blogspot.com
You wrote on Wed, 10 Oct 2007 11:56:51 -0700:
RT> Vadym,
RT> Thank you. That definitely helps! However, I cannot figure out how
RT> this property is being set in the different projects I've tested as
RT> I've search for the existence of this code and cannot find any
RT> reference to it. Can this be set in a configuration dialog box
RT> somewhere?
RT> Thank you.
RT> Rob
RT> *** Sent via Developersdex
http://www.developersdex.com ***