Thanks Herfried
Indeed i should better use a alternative method
however in my situation this will not happen so soon ,,,, just looked in
the code where i currently use it
they are web projects , and Dll`s ( but it is a potential big )
in my executables i use application.startuppath
however i found that this will not work in a Dll
i wonder if this will work in both executables as dll`s
System.AppDomain.CurrentDomain.BaseDirectory()
cause it sounds to me as a better generic alternative ( if this works
ofcourse in both )
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eh**************@TK2MSFTNGP12.phx.gbl...
"M. Posseth" <mi*****@nohausystems.nl> schrieb: i use this
System.Environment.CurrentDirectory
Note that the current directory can be changed while the application is
running, for example, when using a 'FileDialog'.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>