Is there a way to determine the directory that a program is being run out of? I want the common dialog box do default to the directory that the program resides in. Is there an API for this (in which case I have posted this to the wrong forum, sorry. ;-) ), or is there a vb command?

Mark