software 30 day trial code/name-> sn code

This is a discussion on software 30 day trial code/name-> sn code within the C++ Programming forums, part of the General Programming Boards category; does anyone have any advice/code about making a file only usable for 30 days? or 30 opens? also, does anyone ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    33

    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
    Location
    Egypt
    Posts
    161
    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 no........you 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
    Posts
    267

    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.

    SPH

  4. #4
    Registered User
    Join Date
    Feb 2002
    Posts
    33
    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, 11:39 AM
  2. The long startup.
    By Sentaku senshi in forum A Brief History of Cprogramming.com
    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, 07:58 PM
  5. Simplified code
    By soonerfan in forum C Programming
    Replies: 2
    Last Post: 12-05-2001, 02:50 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21