Results 1 to 3 of 3

Thread: Persistent file change within an executable

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2009
    Posts
    43

    Persistent file change within an executable

    I was wondering if it is possible to have persistent changes to resources in an executable. I am using VB 2010. I don't know how to be much clearer than that but I will try.

    > User opens program and picks 'File A'
    > 'File A' is now copied into the executable, thus storing it forever (or until deletion of .exe
    > .exe is now slightly larger because 'File A' is inside the program
    > User can extract or delete 'File A'
    Does this make any sense? if so can anybody help me.
    I realize that this can be done with a zip file but I was wondering if it could be done inside of a program.

  2. #2
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: Persistent file change within an executable

    Yes, it can obviously be done via programming, but unfortunately, I've never seen an example of it being done via .NET programming. I'm fairly certain it either can't be done using .NET or can be done, but would require a herculean effort to get to work properly; beyond the capabilities of even a seasoned pro.

    I do hope someone else posts an example or something to prove me wrong on this because I would really like to see such .NET code.
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2009
    Posts
    43

    Re: Persistent file change within an executable

    Thanks for your post, and that is something that I had feared.

Tags for this Thread

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