Thanks for your reply Mike!
The route I've adopted thus far consists of three components...
- Hide the database design
- Add a hidden, computed 'flag' field to the Notes form design
- Look for that field in an agent that's triggered 'after documents are created or modified' and remove documents where it's missing
Unfortunately, the agent is basically a scheduled agent and doesn't prevent document creation.
The documents are, however, effectively removed.
That may be all that's required, because that will identify 'dirty data' and let us know who is executing the logic.
I was focussing on access to Notes via COM.
I thought that, if I unregistered 'nlsxbe.dll' from the registry, that would prevent such activity - It has not.
I also tried removing the .TLB files from the Notes executable folder - removal of 'notes32.tlb' and 'domobj.tlb' have no effect at all. Removal of 'ltsci3.tlb' screws everything up (as expected!).
I honestly thought (when first asked about this) that there'd be a simple technical solution that I have overlooked somewhere... I was mistaken.
Thanks again Mike!