Results 1 to 6 of 6

Thread: [RESOLVED] Reading assigned data from end of file

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2006
    Posts
    615

    Resolved [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.)
    If ive helped, RATE my post.

    If your thread is solved, and you got your answer, mark this thread Resolved.

    There is no other forum like VBFORUMS.

  2. #2
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2006
    Posts
    615

    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
    If ive helped, RATE my post.

    If your thread is solved, and you got your answer, mark this thread Resolved.

    There is no other forum like VBFORUMS.

  4. #4
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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...

  5. #5
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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...

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2006
    Posts
    615

    Re: Reading assigned data from end of file

    Alright. Thanks! Its exactly what he needed. He says thanks .


    Cya later.
    If ive helped, RATE my post.

    If your thread is solved, and you got your answer, mark this thread Resolved.

    There is no other forum like VBFORUMS.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width