+ Reply to Thread
Results 1 to 4 of 4

Prompt for license id and password

  1. #1
    Forum Contributor
    Join Date
    01-29-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    256

    Question Prompt for license id and password

    HI ALL,

    I do not know it is possible or not i have created one tool in excel. I need that after 6 months when any one opens this excel (tool) Prompt a user form type Renewal of license id and password . When user provide the id or password the excel file renewal for next six months more... and prompt every day that 2 months are remaning 15 days remaining for expire license ...


    Thanks
    hammeed
    Last edited by farrukh; 11-21-2011 at 03:28 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Prompt for lincense id and password

    It's possible but easy to break. You'd need to store the renewal date somewhere, maybe a text file or in the registry, maybe even in the workbook itself.

    However, Excel is not a secure environment and it's relatively easy to crack passwords. So, if your client is not technically oriented, you might have a chance.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    01-29-2011
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    256

    Re: Prompt for lincense id and password

    HI TMShucks,

    How to do in a text file ? any example can you please share?

    Thanks
    hammeed

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Prompt for license id and password

    The code listed below will create a text file with the date and time the workbook is first used. It uses MsgBoxes for demonstration purposes; you need to remove them and replace the second one with your checks and action code. That is, is the date more than six months ago and, if so, take some action.

    Considerations ... you need to put the text file somewhere that the client isn't going to "trip over" it, as they could just delete it. And you need to protect your VBA Project so that it isn't obvious what is happening.

    Change the TxtFile location and file name to whatever you want/need.

    It's far from foolproof but it will give a little extra protection.

    Regards, TMS



    Please Login or Register  to view this content.

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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