application directory

  • Thread starter Thread starter Felix González
  • Start date Start date
Hi,

Dim strPath As String
strPath = System.IO.Path.GetDirectoryName(
system.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase)

Ken
--------------------
 
Hi,

private string ApplicationPath()
{
return new System.IO.FileInfo(System.Reflection.
Assembly.GetExecutingAssembly().GetName().CodeBase.ToString()).DirectoryName;
}

Hope this helps,

Regards,
Arun
www.innasite.com
 
Back
Top