Protecting Excel VBA app with a COM AddIn
Posted on 2011-02-21
I want to protect my VBA code from piracy (so that I can safely give a demo to a prospective client).
I thought about putting some of the code in a COM AddIn, so that it can expire on a date, or even check for Activation online. I can do both these in VBA but would like an example (tut or a book ref) for
(1) converting my VBA to a COM AddIn.
(2) procedure for my client installing the Addin - is there a wizard I can create like when you install a tool for Excel that times out after 7 days, say.
Please point me in a suitable direction.
(I have VB6 if that helps but not an avid VB6 programmer. VBA yes)
If this is easier with .NET any pointers on that would be useful too. Got VS2010 (novice).