Thread: software 30 day trial code/name-> sn code

  1. #1
    Registered User
    Join Date
    Feb 2002

    software 30 day trial code/name-> sn code

    does anyone have any advice/code about making a file only usable for 30 days? or 30 opens?
    also, does anyone know of a way to make a serial number from a name someone enters? thanks =)

  2. #2
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    I would give you some ideas . but I dont think they r not perfect

    you can let your file check up for a speciefic file if itsnot found so its the first time your program runs on this machine , so it make it then put speciefic no in it .(e.g. 1) . when the file reopened next time it adds another 1 to the valur (so it ll be 2) ..and so on
    and u make stop working if the value in the file is 30

    or you can control it by date , as you pick up the date in the first run and save it to file....then check it up if its plus 30 day now the program ll not work.(anyone can go over this by changing the real date in the computer)

    theres another way by adding speciefic line in the registry that control the work of your program(i dont know how to work it that way in fact)

    thats all i can tell u........
    oh about the serial can make it depending on the ascii code relative to the name......
    this ll generate difference nos for every name
    Programming is a high logical enjoyable art for both programer and user !!

  3. #3
    Registered User minime6696's Avatar
    Join Date
    Aug 2001

    Arrow tru tru...

    Well I just need to put in that you probably dont have anything that needs protection like that yet if u can't make the protection yet... just a little thinkg to add in.


  4. #4
    Registered User
    Join Date
    Feb 2002
    hah, good point, but it's just for fun. thanks for the above answer though

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM
  2. The long startup.
    By Sentaku senshi in forum A Brief History of
    Replies: 24
    Last Post: 08-10-2002, 11:52 PM
  3. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  4. Code to find the day type of day in the year?
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 04-01-2002, 08:58 PM
  5. Simplified code
    By soonerfan in forum C Programming
    Replies: 2
    Last Post: 12-05-2001, 03:50 PM