Question: How get current exe dir?

  • Thread starter Thread starter VB Programmer
  • Start date Start date
V

VB Programmer

I have a settings file that is in the same dir as my local VB.NET exe
winform application.

From my winform application how do I reference the "current directory" to
access the file?

NOTE: I don't want to use Environment.CurrentDirectory because this exe is
launched locally from a website and Environment.CurrentDirectory doesn't
return to me the correct dir.

Thanks.
 
Back
Top