Using VBA to Create & Check License Keys-VBForums
Results 1 to 1 of 1

Thread: Using VBA to Create & Check License Keys

  1. #1

    Thread Starter
    Addicted Member 3com's Avatar
    Join Date
    Jul 2013
    Location
    Spain
    Posts
    251

    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.
    Ram 512

    Language: Excel and Access VBA.
    Tool Name: KeyCode Generator

    VB6 versión author, say...

    Introduction

    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.
    Background

    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.
    As surely you will feel more comfortable reading to him than me, this is the source:

    http://www.codeproject.com/Articles/...k-License-Keys

    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

    Name:  KeyCodeGen.png
Views: 1046
Size:  17.2 KB


    Name:  Key_Validate.png
Views: 984
Size:  15.6 KB


    Being Keycode.zip file = File VBA Excel 2007 & 2003 based.
    And FContacts.zip file = File VBA Access 2007 and 2003 based

    HTH.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.