VB.NET - Code Samples - App.path in vb.net
VB.NET Application Path Function
VB.NET does not contain the app.path function found in vb6.
There are several different ways to get the application path for vb.net application. Listed below is code to return the application path of a vb.net project with a UI (as it uses the System.Windows.Forms Library).
Private Function AppPath() as String return System.Windows.Forms.Application.StartupPath End function