03-23-2007, 01:46 PM
If I have gathered it correctly, you need protection for your macro the same way an application is protected (example - 30 days demo/ full...etc) ..
You could probably follow on the footsteps of how QM is registered as a Full version...
You can take the person's computer name and create an encoded string for a registry edit. When the macro runs you can get the current computer name and recreate the encoded string...if it matches , the macro runs else it exits.
This kind of protection is mostly used for exe's and not for macros/functions (which are codes in plain text and can be modified)
You could probably follow on the footsteps of how QM is registered as a Full version...
You can take the person's computer name and create an encoded string for a registry edit. When the macro runs you can get the current computer name and recreate the encoded string...if it matches , the macro runs else it exits.
This kind of protection is mostly used for exe's and not for macros/functions (which are codes in plain text and can be modified)
