limit software

Posted on 2006-05-25
Last Modified: 2010-04-30

Please assist how can we limit the number of use to our software. kinda like if it has been run for 100 times it will no run anymore.

Question by:RyanBank
    LVL 6

    Assisted Solution

    The easist way is to record the used times of your application in Registry or an INI file. When your application starts, just increase the number. If the number reaches 100, then show a message and terminate your application.

    But if the users find that key in Registry or the INI file, they can just modify it to break your limit. So, you should also encrypt that number so that users can not understand what it means even if they see it.
    LVL 13

    Assisted Solution

    Hi RyanBank
    I think the following url will help you to reach a solution:
    LVL 2

    Assisted Solution

    If you are happy with an off-the-shelf solution, you could look at  They claim to offer add-in protection which has never been broken.

    Author Comment

    please kindly assist how can we create a dll (place in system file) and update it as the program has been run.

    if the program has been run 100 times dont allow.
    LVL 69

    Accepted Solution

    Hi RyanBank,

    see the free component:  


    Author Comment

    I have downloaded the active X and added to the form.
    Please assist where do I set how many times the applciation can be run?
    LVL 69

    Expert Comment

    by:Éric Moreau
    I don't remember. I have used it 4 or 5 years ago. Read the doc.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
    This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now