Welcome to weblogs.com.pk Sign in | Join | Help

App.Path equivalent in .NET

Looking for VB6’s App.Path equivalent in .NET? Here is what you need to do:

 

      static public string ApplicationPath

      {

         get

         {

            //return System.Environment.CurrentDirectory;

            return System.AppDomain.CurrentDomain.BaseDirectory;

         }

      }

 

Published Tuesday, August 31, 2004 3:49 PM by khurram
Filed under: ,

Comments

No Comments

New Comments to this post are disabled