How I get the application directory

  • Thread starter Thread starter William Ryan
  • Start date Start date
W

William Ryan

Dim myAppDirectory As System.IO.DirectoryInfo = New
System.IO.DirectoryInfo(Application.ExecutablePath)
Dim s As String = myAppDirectory.ToString


The string is just for verification.... good luck,

Bill


W.G. Ryan
(e-mail address removed)
www.knowdotnet.com
 
Environment.CurrentDirectory should do it too
-----Original Message-----
Dim myAppDirectory As System.IO.DirectoryInfo = New
System.IO.DirectoryInfo(Application.ExecutablePath)
Dim s As String = myAppDirectory.ToString


The string is just for verification.... good luck,

Bill


W.G. Ryan
(e-mail address removed)
www.knowdotnet.com
.
 
Back
Top