DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: howto combin .exe file to my project?

  1. #1
    Join Date
    Nov 2010

    howto combin .exe file to my project?

    i have finished My project
    ... But i need other programme .exe In My Project Package

    I need My project only 1 exe file <<< But programme is not vb6 pro or components >>> How i can Marge Thats programme in my project..

    and My project will be 1 exe file (Package)

  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    You can't put one exe inside of another exe so if you need this other program, it would have to be included in your installation and setup package.

  3. #3
    Join Date
    Oct 2010
    If you only want to hide the fact that it is an exe file you could rename the file to something.dat or whatever. Then in code temporarily rename it to something.exe and use ShellExecute function to run the program.

  4. #4
    Join Date
    Oct 2010
    Sorry, almost forgot. You can also break the exe file into 64k chunks, save them as resource inside your program. Then, in code combine the chunks into a byte array, save the byte array to a temp file, use ShellExecute to run the temp file, delete temp file.

    Now everything is in 1 exe file

Similar Threads

  1. How to Create .exe file
    By usr12 in forum VB Classic
    Replies: 13
    Last Post: 07-03-2007, 02:59 AM
  2. File system API for project
    By aanchs in forum Java
    Replies: 0
    Last Post: 03-10-2006, 10:08 AM
  3. Replies: 3
    Last Post: 10-20-2005, 08:38 AM
  4. Replies: 1
    Last Post: 09-05-2005, 01:17 PM
  5. How to use Java to lock a file
    By Cynthia Leslie in forum Java
    Replies: 3
    Last Post: 06-09-2001, 06:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center