How to get the list of design element names for the given database

Hi all, I need to the list of design elements and their names for the specified database. I know it is possible using $flag and $title keywords. But it will return the design element names and its title of the current database. How can i get them for other databases.

Thanks in advance,

Fraser

Subject: How to get the list of design element names for the given database

See the example and documentation of the NotesNoteCollection class in your Designer Help.