How to browse for a directory path

Hi

I want to browse for a path and save it to a field. (The idea is to work on all the files in the chosen directory.) But I can’t figure out how to return the path. There’s a SaveFileDialog method and OpenFileDialog in the UIWorkspace class but they don’t do it.

thanks

clem

Subject: windows api code has been posted

Try doing a search on “GetFolderFromUser”. I’ve tried the code and it worked well.

I’ve also used the NotesUIWorkspace.Prompt with the PROMPT_CHOOSEDATABASE option and just chopped off the filename.