Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. how to make a trial software

how to make a trial software

Scheduled Pinned Locked Moved Visual Basic
questiontutorial
7 Posts 5 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hello, I need my project to expire after 30 days of use. How can I do this? If you dont have the code just tell me the process to make it a trial one then I'll research a little more. Thanks in advance :) adol

    S N 2 Replies Last reply
    0
    • L Lost User

      Hello, I need my project to expire after 30 days of use. How can I do this? If you dont have the code just tell me the process to make it a trial one then I'll research a little more. Thanks in advance :) adol

      S Offline
      S Offline
      SimonS
      wrote on last edited by
      #2

      Would your app. connect to the internet? Cheers, Simon "Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond

      A 1 Reply Last reply
      0
      • S SimonS

        Would your app. connect to the internet? Cheers, Simon "Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond

        A Offline
        A Offline
        adol
        wrote on last edited by
        #3

        My app would not connect to the internet. adol

        1 Reply Last reply
        0
        • L Lost User

          Hello, I need my project to expire after 30 days of use. How can I do this? If you dont have the code just tell me the process to make it a trial one then I'll research a little more. Thanks in advance :) adol

          N Offline
          N Offline
          Nick Parker
          wrote on last edited by
          #4

          There are several ways to do this, however one of the simpilest ways is to store a value in the registry (i.e. - installation date) and then when the application loads everytime you can grabb that value from the registry and check using DateDiff to see if time has expired. There is a lot of code out there explaining how to use the registry in your application so I won't go into the details, but again this is just a suggestion. HTH Nick Parker

          L S 2 Replies Last reply
          0
          • N Nick Parker

            There are several ways to do this, however one of the simpilest ways is to store a value in the registry (i.e. - installation date) and then when the application loads everytime you can grabb that value from the registry and check using DateDiff to see if time has expired. There is a lot of code out there explaining how to use the registry in your application so I won't go into the details, but again this is just a suggestion. HTH Nick Parker

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Thank you very much for your help Nick!!! Maybe this is the easiest way to do it. Somebody told me I can use the Hard Disk serial number or something like that to control the use of an app, does anybody knows what he was talking about? Best regards, adol

            1 Reply Last reply
            0
            • N Nick Parker

              There are several ways to do this, however one of the simpilest ways is to store a value in the registry (i.e. - installation date) and then when the application loads everytime you can grabb that value from the registry and check using DateDiff to see if time has expired. There is a lot of code out there explaining how to use the registry in your application so I won't go into the details, but again this is just a suggestion. HTH Nick Parker

              S Offline
              S Offline
              SHaroz
              wrote on last edited by
              #6

              I would strongly reccomend encrypting or hiding the date if it is in the registry even if you only do somthing simple like XORing the value. Otherwise, it's realy easy to modify the registry entry to make the program work forever. If you need more explanation, just reply.

              N 1 Reply Last reply
              0
              • S SHaroz

                I would strongly reccomend encrypting or hiding the date if it is in the registry even if you only do somthing simple like XORing the value. Otherwise, it's realy easy to modify the registry entry to make the program work forever. If you need more explanation, just reply.

                N Offline
                N Offline
                Nick Parker
                wrote on last edited by
                #7

                I was only giving an example of a method to limit application life, there are of course other ways (i.e. - including encryption) that are better. Nick Parker

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups