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 save any file in registy

How to save any file in registy

Scheduled Pinned Locked Moved Visual Basic
tutorialquestion
3 Posts 3 Posters 0 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.
  • S Offline
    S Offline
    Syed Ali Raza
    wrote on last edited by
    #1

    Thanks to reply Kereskowiak, Actually i want that my project should work like "Trial Versions" does. If project is installed on one machine then it should expire itself after 10 days of installation. if someone try to install it again after changing the system date then it should check that, has project been installed on same machine before or not? if yes then it should stop installation. I want to do such stuff for Piracy point of view of project. Waiting for solution. Regards, Syed Ali Raza Rizvi

    C 1 Reply Last reply
    0
    • S Syed Ali Raza

      Thanks to reply Kereskowiak, Actually i want that my project should work like "Trial Versions" does. If project is installed on one machine then it should expire itself after 10 days of installation. if someone try to install it again after changing the system date then it should check that, has project been installed on same machine before or not? if yes then it should stop installation. I want to do such stuff for Piracy point of view of project. Waiting for solution. Regards, Syed Ali Raza Rizvi

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Syed Ali Raza Rizvi wrote:

      Thanks to reply Kereskowiak,

      His name is Dave, and you should respond on the same thread, so he can see it and so it's in context.

      Syed Ali Raza Rizvi wrote:

      Actually i want that my project should work like "Trial Versions" does.

      Then you need to store some info somewhere that is hard to find, and that shouldn't be the registry IMO. The only way to do this so that there is little chance of a determined user to crack it is to do something user hostile, like hide files in the System32 folder to track the dates.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      H 1 Reply Last reply
      0
      • C Christian Graus

        Syed Ali Raza Rizvi wrote:

        Thanks to reply Kereskowiak,

        His name is Dave, and you should respond on the same thread, so he can see it and so it's in context.

        Syed Ali Raza Rizvi wrote:

        Actually i want that my project should work like "Trial Versions" does.

        Then you need to store some info somewhere that is hard to find, and that shouldn't be the registry IMO. The only way to do this so that there is little chance of a determined user to crack it is to do something user hostile, like hide files in the System32 folder to track the dates.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

        H Offline
        H Offline
        hannesHTG
        wrote on last edited by
        #3

        The Registry is always the first place people look in when trying to "break" your program. To protect your programs, You could have a look at my article here : http://www.codeguru.com/vb/gen/vb_general/ideincludingvisualstudionet/article.php/c11817/[^] In there (the second page) I create a Trial Application ,storing a counter variable in a "system" file. Then, when the counter reaches a certain number, the person cannot continue. Hope that helps! H T G

        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