Path and Path Names

johnadonaldson

Well-known member
Joined
Nov 9, 2005
Messages
48
Programming Experience
10+
Under VB.NET how do I access the current path. Do I use

Newpath = "..\<Current Directory>"

or do I use a funciton that access current path like I used to under VB 6.0

Newpath = Path + "<Current Directory"

I tried using "..\<Current Directory>", it did not seem to work. It compiled
but always returned an error.
 
Look at the Application namespace.... there's a property in there that rurns the Apl;lication exe path.... can't remember off the top of my head.

-tg
 
Back
Top