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)
 

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