Dec 24th, 2013, 02:15 PM
Using VBA to Create & Check License Keys
First of all, English is not my first language but Spanish.
This application already exists in vb6 code, distributed under LGPL 2.1 license.
I've only adapted to excel VBA + Access VBA.
The library code calls KeyCodes.bas, StrFuncs.bas, and MD5_Crypt.bas, are distributed under the same conditions and terms that the author of the original version. Same for the other code that comprise this tool.
Advise: If you make any modification of the code of any of these libraries, do it under the same terms and conditions of the author.
I have not VB installed, but VS2008 + Office 2007. For this reazon I cant not test original VB6 code.
This tool has been successfully tested in Excel and Access 2007.
Windows XP SP3.
Language: Excel and Access VBA.
Tool Name: KeyCode Generator
VB6 versión author, say...
Create and validate secure "License Keys" for your proprietary code and embed up to 16-bits of "configuration data" into the key. This code is flexible and may be used in many different licensing schemes.
As surely you will feel more comfortable reading to him than me, this is the source:
Everyone is familiar with getting license keys to activate software. These keys are normally based on various encryption schemes, and serve to validate that a particular user is authorized to install or run the software. The code presented here provides an easy way to integrate this functionality into your own programs.
This will help you to have an idea about what it is, and how this tool works.
This also should be useful as a template that can continue to evolve, it is up to you.
Note: If this tool works under other operation systems, or different versions of office, I would appreciate it you let me know.
VBA tool Screenshot
Being Keycode.zip file = File VBA Excel 2007 & 2003 based.
And FContacts.zip file = File VBA Access 2007 and 2003 based
Click Here to Expand Forum to Full Width