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
 
It should be in My Documents > Visual Studio projects > then the project name.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top