Retaining design ideas through Domino COM

zhaozj2021-02-16  49

general idea:

Implementation steps: 1. Client registration Notes COM control. (Regsvr32 C: /lotus/notes/domobj.tlb) Regsvr32 C: /Lotus/notes/nlsxbe.dll2, in the official document database, some have customized document templates. It has been used to create a new brief. 3, add VBScript on the form to remove the attachment from the server to the local, then use Word. (Word Macro Safety Setting up) 4, in the official document template, the VBA code is added to the exit event of Word, and the file is uploaded to the server.

Note: To avoid the prompt password input box when you start COM, you can make a DLL via the API to avoid it. (Reference: API example)

Related Code: VBScript code on the form: