Posts: 576
Threads: 97
Joined: Aug 2007
Hey is there a way to make something only work the first time the exe is ran on a certain computer? I was thinking about using rset and rget but cannot seem to rig something up....
Any help much appreciated!
Thanks!
Posts: 1,271
Threads: 399
Joined: Mar 2003
you could check if a certain file exists.
if not then write it.
it could be an .ini file, where you store any extra settings.
Posts: 576
Threads: 97
Joined: Aug 2007
OK 1 problem, what if my file (password saver) is sent to someone or someone takes it off my computer....how could i make it so it doesnt work there without having to type some kinda verification?
Like make it only "validate" after the first time after it is compiled?
I dont know if this makes any sense but maybe some help!
Thanks.
Posts: 1,271
Threads: 399
Joined: Mar 2003
you can do some wild calculation with values from SystemParametersInfo
and similar plus some encryption and then compile the exe to make
sure that the exe can only run on your system.
http://msdn2.microsoft.com/en-us/library...S.85).aspx
but for this you will have to learn more about these functions.
i don't have the time to write the scripts for you.
i have to learn c# ...
Posts: 576
Threads: 97
Joined: Aug 2007
Thanks _pi.... go lern C#