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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

App.Path in .NET

Status
Not open for further replies.

tbuch

Programmer
Oct 17, 2000
80
US
Can someone tell me what has replaced App.Path in VB.NET?

tbuch
 
You can use the .Location property of the Assembly object, which should be accessable via the Me keyword (where Me refers to the application as a whole)

Note: This specifies the location of the assembly that contained the manifest. If you are using multi-file assemblies (most people don't) then this value may not be correct.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
You can use the
Application.StartupPath

That is the path where the executable is started from

To search or to post - that is the question.
To search first and to post later. THAT is the answer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top