Results 1 to 6 of 6

Thread: Embedding files into a program

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    Chennai , India
    Posts
    44

    Question

    Can someone tell me how to embed one file to the other so that the first file outputs the embedded file.(Like self-extracting exes,setup files etc...)

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    You can include any file with a VB program using a resource file. But your application can't ran on a computer that doesn't have the VB runtime files.

  3. #3
    Guest
    Take a look at this compression utility which was uploaded today on http://www.planet-source-code.com .

  4. #4

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    Chennai , India
    Posts
    44

    Angry

    Matthew,I took allok at the compression util and downloaded it.But it doesnt work on my Win95 box!!.When I try to run the source it says I dont have MSCHART.ocx or something.I dont have time right now to examine the code so......

    Can you briefly explain what it does?

    To Joacim, i want to know how to embed files after the program has been compiled.Can resource files be updated after compilation?

  5. #5
    Guest
    With respects to file embedding, you can use a Byte Array.

  6. #6
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    No, you can't modify resources after compilation. I used to do it all the time in Win 3.1, but the 32bit versions don't allow it.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

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