How to get the location?

  • Thread starter Thread starter noricat
  • Start date Start date
N

noricat

Guest
Dear all,

I ave a question~ how to get a directory location which my vb.net application be? I need to open a file in my application, so I coding like this:
system.io.file.open("c:\xxx\xxx\text.txt")

But if I place my application into other directory or drive example "D:", then it will be error :(

Any class or method to get the current location that my application at?

Thanks
 
Back
Top