[RESOLVED] Reading assigned data from end of file
ive seen people add data to the end of the exe, then when the exe is ran the data is pulled from the end of it by reading the file and finding a pointer and then from that pointer reading to the end of the file and the exe runs as normal.
does anyone here know how i could code this?
(Im posting this for my friend, its not my project. So if anyone has questions, ask them, but it may take me alittle longer because ill have to ask him the questions you asked me.)
Re: Reading assigned data from end of file
I posted an example of exactly this along time ago in the CodeBank.
There is an easier way using property bags that lets you write any kind of data, pictures, text, etc to the end. I can write an example of this if you can give me a bit...until then this is what I posted:
http://www.vbforums.com/showthread.p...ght=exe+writer
Re: Reading assigned data from end of file
Alright, thanks :). Ill message him the link right now. And any other example that you could write would be great. Thanks m8
Re: Reading assigned data from end of file
Quote:
Originally Posted by GRPsuper9
Alright, thanks :). Ill message him the link right now. And any other example that you could write would be great. Thanks m8
No problem, starting on another example...
Re: Reading assigned data from end of file
Actually, I'm pretty sure there are other examples of it on the net...
Take a look here:
http://www.pscode.com/vb/scripts/Sho...48669&lngWId=1
http://www.pscode.com/vb/scripts/Sho...52388&lngWId=1
And there's some more on there that use a property bag...
Re: Reading assigned data from end of file
Alright. Thanks! Its exactly what he needed. He says thanks :).
Cya later.