I am looking for the vb.net equivalent to the VB6 function, App.Path.
I have tried Application.ExecutablePath, but that gives me something like:
D:\Dev-Ver6.0\VB.NET\working copy root\CIRCLY60\VB.NET\bin\Debug\CIRCLY.EXE
What I am after is:
D:\Dev-Ver6.0\VB.NET\working copy root\CIRCLY60\VB.NET\bin\Debug
I know I could trim off the "\CIRCLY.EXE" part from the end of the string, but I assume there is something more elegant?