Can somebody advise what can cause this. I have an application that needs to run through all public address books as defined on the server. It only returns the first one, although server’s notes.ini lists multiple. I copied the relevant code into a small test database, and it runs correctly. Code is very basic …
Dim session As NotesSession
Set session= New NotesSession
addBooks =session.addressBooks 'getting addressbooks
Forall addBook In addBooks
If addBook.isPublicAddressBook Then 'Picking PAB
Messagebox addBook.FilePath
End If
End Forall
This steps through and shows the names of all public books. However, in my application, only names.nsf is found. Nothing else changes between the two applications. They are both on the server, and I’m in the same location.