We help IT Professionals succeed at work.

Current directory of application

Paurths
Paurths asked
on
hi,

how can i retrieve the directory in which my application that is running, is in?
I use CurDir but that will return 'c:\program files\microsoft office\office'.

Since my application is located in c:\my docs\vb\fbs', the returned path is obviously not correct.

cheers
Ricky
Comment
Watch Question

Commented:
Hi Paurths
   Use  App.Path
   x=App.Path
   ' X well be = "c:\my docs\vb\fbs"

Author

Commented:
hi hatem72,

thanx, excellent

cheers
Ricky

Explore More ContentExplore courses, solutions, and other research materials related to this topic.