Restricting changes to parts of the registry?
Hello,
I have a program that makes a registry setting and I need to restrict the user from being able to delete it. Is there any way to do this?
Thank you!
Stilekid007
______________________________________________
:p :thumb: I RATE ALL HELPFULL POSTS! :thumb: :p
Re: Restricting changes to parts of the registry?
Re: Restricting changes to parts of the registry?
Technically, you could have a program running in the background that checks the registry entry, say, every minute or so. If the setting differs from the previous value stored in a variable in that program, then the program could re-write the value in the registry...
If you need help coding it, I can help...
Re: Restricting changes to parts of the registry?
Hey - thats not a bad idea. See the reason I asked was becuase I am making a trial program that will expire in 15 days but the user could delete the registry setting and then restart the trial. So I don't really want to have my program install a program that runs 24/7.
Thank you for the suggestion. I really appreciate it! :thumb:
Stilekid007
Re: Restricting changes to parts of the registry?
You could also make your program check the entry when your program starts and if it isn't there, make your program display a message and unload.
-Sir Loin
Re: Restricting changes to parts of the registry?
well see, the only way to do this is to have an online database so they cant crack it. Or have it save to a really remote part of the registry, so that they cant find it. I think thats your best bet.
Re: Restricting changes to parts of the registry?
Yea 2emix thats exactly what I was thinking.
I am making to different types of trial programs and I will see which one I like best ;)
Stilekid007
Re: Restricting changes to parts of the registry?
Sir Loin thats something I might be able to work on a little and see if I can't come up with something. Thanks for the suggestion!
Stilekid007