Hi all!
I'm relatively new to VB and I've just started my first major application but I've run into a problem. Is there a way to find out the working directory, ie. the directory containing the application? I've tried using CurDir() but if the program isn't in the current directory then it doesn't work properly.

Thanks in advance for any help,

Greg Nolle.