AppDomain.CurrentDomain.BaseDirectory()
public class Test public Shared Sub Main Console.WriteLine(System.AppDomain.CurrentDomain.BaseDirectory()) End Sub End Class