View Full Version : Default directory in VB6

21st November 2002, 12:33
If a different directory is chosen from an open Common Dialog it seems to become the default directory, so subsequent open of setup files/form icons etc. in the program directory fails unless you stick in the full path.

Is there any way of restoring the default directory after an open, or of not changing it in the first place?. Looked in all my ref books and MS help and darned if I can find one.

21st November 2002, 13:11
Try using the InitDir property