+ Reply to Thread
Results 1 to 3 of 3

VBA - License Code in Registry

  1. #1
    Registered User
    Join Date
    05-22-2011
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    71

    VBA - License Code in Registry

    Hi,

    I have created a vba application in excel and I want to create a license for that and I did that too but I want to register that license file in registry. so guys could you please help me to do that...I dont even know how to start.

    Thanks
    Thiru

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: VBA - License Code in Registry

    Good afternoon sthiru

    All you need is an entry in the register. It doesn't have to be anything other than, say, "1" or "2". Or "Fred" if you prefer.

    All your add-in has to do is look in the registry for that entry and run the add-in if the entry is there, or halt execution if it's not.

    The VBA framework provides a relatively easy way to write and read registry settings. You will need to learn how to use "SaveSetting" (to write) and GetSetting (to read). Beyond that, it's not that hard.

    HTH

    DominicB

  3. #3
    Registered User
    Join Date
    05-22-2011
    Location
    chennai
    MS-Off Ver
    Excel 2003
    Posts
    71

    Re: VBA - License Code in Registry

    Hey Awesome thank you very much....I thought serial number will be stored in registry, but everything is in binary, that's what I confused off and I don't know anything about registry, thank you very much

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. office365 license
    By mrkhchan in forum Office 365
    Replies: 3
    Last Post: 02-17-2015, 05:18 AM
  2. VBA code to get registry from PC
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2015, 11:03 AM
  3. Can I get a Run time license??
    By jerryjaysr in forum Excel General
    Replies: 2
    Last Post: 09-16-2010, 03:16 PM
  4. [SOLVED] license box accept
    By sherrysue11 in forum Excel General
    Replies: 0
    Last Post: 07-20-2006, 09:45 AM
  5. License addin
    By gabch in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2006, 04:55 AM
  6. License question
    By Eric Paschoalick Chaves in forum Excel General
    Replies: 0
    Last Post: 12-09-2005, 10:10 AM
  7. VBA code to change registry value of existing DSN
    By Alan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2005, 04:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1