Jump to content
Sign in to follow this  

Writing in an exe

Recommended Posts

You can't write it to the exe itself, and many people don't like when programs meddle in the registry, as it could possibly effect the performance of the machine. You could use an INI file, just store it somewhere where people don't usually look, or make it hidden to prevent people from changing the values.

Infinity is a floorless room without walls or ceiling.Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable subhuman who has learned to wear shoes, bathe, and not make messes in the house.

Share this post

Link to post
Share on other sites

Hmmm... then what's the best way to tell if the program has been registered?

you could write a blank file called test.txt - put it in the folder that has your program in it and test to see if it exist - if not install it - or like suggested before use and INI file for the same purpose

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."



WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes




GDI Basics


GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post

Link to post
Share on other sites

You can do what they said above like making a file.

you can also (if its a Internet only program) check it via a database thats saved in a website and connect to it

everytime you start up your program.

or make a file and write three characters in it, like "Q(-", write other characters between those:

"Qasdsad(asdasd-asdsdas" and encrypt that file with a password. later on, if you start up the program,

DECRYPT with the password and search for the characters "Q(-" if one of those isn't listed or file is edited/not there

show an error. that's to me the best way to make a 'registered-only' program..

oh yeah, i forgot you could also encrypt the computer name, so the file cannot be copy-pasted to another

computer, and requires an 'unique' magical keys.

sort of that :)

- bye

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...