Application directory

  • Thread starter Thread starter Felix González
  • Start date Start date
F

Felix González

Hi,

How can I know the directory of the application?
I need a configuration file, and I´d like have this file in the same
directory of exe.


thanks
 
Dim strAppDir As String = Path.GetDirectoryName([Assembly]
..GetExecutingAssembly().GetModules(0).FullyQualifiedName)
 
Back
Top