I have the following:
- procedure X, which creates a PDF file daily.
- Procedure Y, which attaches this file to Outlook email and sends it to recipients.
Both of the above are in VBA. They are called from a C # console application.
Once the PDF is created, I need to password protect it. It is quite difficult to do this using VBA without buying third-party software.
What is the simplest solution using C #?
(I suspect there will be a feedback between the amount we spend and the complexity of the answer!)
c #
whytheq
source share