The Notes COM Toolkit comes with a sample VB app called ReadMail. In the app's initialization, the database "NAMES.NSF" is opened and the view "Locations" retrieved. From this view, the call GetAllDocumentsByKey is made and a NotesDocumentCollection returned.
In this sample, only the first document is used. Is there ever more than one document in this collection?
From this document, the item values for "MailServer", "MailFile", and "MailType" are retrieved. Is there corresponding values for Contacts, ToDo items, Calendar items and Journal items?