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
 

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