Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First time exe is ran
#1
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!
#2
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.
pi
#3
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.
#4
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# ...
pi
#5
Thanks _pi.... go lern C#


Forum Jump:


Users browsing this thread: 1 Guest(s)