Is there a VBA code snipett to aquire the Windows Product ID from the operating system in which VBA code is currently running in?
In licensing my simple distributed application (low security), my plan is as follows:
After trial period expires, user is to email me with their name & company & version of Windows & Windows Product ID that they can visually retrieve from their Conttrol panel. I would give them a license code, which is a mathematically alterred version of their Windows Product ID.
When they enter the license code into a msgbox, the VBA code applies the inverse of the mathematical alterration and checks if it matches the Windows Product ID & if so, allows the user to continue.
This would be a simple but effective low-security licensing that will allow them to install the program license on the current windows software only. They would have to re-aquire a different license for each time it is installed on a different computer, or after a full re-installation of windows.
Extremely simplified example:
Windows Product ID=A2
license code = B3 (each digit +1)
convert back to Windows Product ID using (each digit -1)
THANK VERY MUCH IN ADVANCE!!!
In licensing my simple distributed application (low security), my plan is as follows:
After trial period expires, user is to email me with their name & company & version of Windows & Windows Product ID that they can visually retrieve from their Conttrol panel. I would give them a license code, which is a mathematically alterred version of their Windows Product ID.
When they enter the license code into a msgbox, the VBA code applies the inverse of the mathematical alterration and checks if it matches the Windows Product ID & if so, allows the user to continue.
This would be a simple but effective low-security licensing that will allow them to install the program license on the current windows software only. They would have to re-aquire a different license for each time it is installed on a different computer, or after a full re-installation of windows.
Extremely simplified example:
Windows Product ID=A2
license code = B3 (each digit +1)
convert back to Windows Product ID using (each digit -1)
THANK VERY MUCH IN ADVANCE!!!