fyi, if you're using doslib or don't mind using it, since version 7.0, it has a new function that displays an AutoCAD-style file selection dialog box. the syntax is:
(dos_getfilenav title default ext flags) when flags is set to 2048, it allows you to pick a folder.