|
-
Apr 28th, 2006, 03:39 PM
#1
Thread Starter
Fanatic Member
Embed files
Is there a way to embed a text file into an exe when it's compiled so everything's in one package, but the text file can be changed, and anyone else using the program would get the effects of the new text.
What I'm making is a messenger program, but all of the messages and user loggons are stored in 2 seperate files, which naturaly the idiot in my class constantly tries to hack and cause problems, life overloading it with text coppied and pasted, or changing his logon to an admin status. I want to put these 2 files into the program so they can be accessed every 1/4 second to check for updates of messages, but be safe from people in anyway accessing it outside of the program. Any ideas? Thanx
p.s. code snippets are appreciated
-
Apr 28th, 2006, 03:46 PM
#2
Re: Embed files
I may be wrong.. but I think if u embed it (like in a res file) its read only
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Apr 28th, 2006, 03:49 PM
#3
Thread Starter
Fanatic Member
Re: Embed files
maybe embed isn't the right word, just include it so it can't be messed with externally
-
Apr 28th, 2006, 03:51 PM
#4
Re: Embed files
embed is the right word... if u "include" it.. it will stay as an external file.
Use an access database with password protection.. that will make it harder to be messed with
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|