Originally Posted by
aerodoc
Paul,
That method would work too, but that seems to be more code intensive?
I like the approach with 2 files:
File 1 - Two functions. (a) create HD serial number to be sent and (b) store the encrypted key in registry or file.
File 2 - Main workbook that checks if the encrypted key matches the serial HD.
That way you split up the coding, which may be easier to work with (and less chance of breaking).
- As far as VBA protection, I use a method that is pretty secure. It takes the existing project and creates a new file that does not allow access to the VBA. In fact, I cannot even get into it after it is "compiled". It is far more secure than just a VBA password, which can be easily defeated.
- As far as cost benefit goes, I need a method to protect my work. Otherwise, I won't continue the project with VBA. I would be forced to go with another language to take it to the next level. Getting this code to work seems to be the last trick to making Excel VBA a viable solution for me.