Easiest way to get the equivalent of vb6 app.path in vs2005 Vb.net

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

Been looking for that trick for a long time I need the path in which the
executable is running but not including the exe filename.

I'm looking under my.application but nothing there as far as I can see

Any help appreciated.

Bob
 
or


System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly.Location)

:)

-tom

ronchese (a) ha scritto:
 
Which needs an import and cost more processing time (invisible of course).

Cor
 
Back
Top