Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to find the run application directory path in VB.NET

Status
Not open for further replies.

vukhanhnguyen

Programmer
Jan 14, 2003
2
US
Hi,

How to find the run application directory path in VB.NET (like VB funtion "App.Path") ?

Thanks

Brian Nguyen
 
Because my program is a \BIN subdirectory, I get the parent directory of the StartupPath with
strAppPath = System.IO.Directory.GetParent(Application.StartupPath).FullName
Forms/Controls Resizing/Tabbing Control
Compare Code (Text)
Generate Sort Class in VB or VBScript
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top