The reason that I wanted the actual solution path was due to a program that I
have made and use quite a lot but I am regularly updating so it's more
convenient at present to run the app from visual studio.
It has an app.config file that I need to update with any new settings in the
solutions folder when i close my application hence I need the path for the
app.config file and not just for the solution.exe.config file which is all I
would need if i were to be running the exe directly.
Anyway it's the 1st time I've started to use the app.config file and maybe
my approach is wrong, in fact I'd be surprised if it wasn't, any ideas on
this would be good.
Thanks,
Barry.
"Cor Ligthert" wrote:
VBdotnetmania,
Now I see what you mean. It gives you back the startup path. When you are in
developing mode, than your startup exe is in that bin folder you mention,
however in real runtime it will probably be in \program
files\YourCompanynameOrWhatever\
Cor