none
how i can to include application file into my project RRS feed

  • Question

  • hi all,

    i have application program , and i want to include this file in my project ,

    so anyone can open this application file through my project ,

    and cannot to open this file without my application

    Saturday, December 8, 2012 11:46 AM

Answers

  • In your project, select "Project", then "Add Existing Item".  Navigate to the exectuable file.  It is now in your project.  Select the file in the solution explorer, and in the properties pane, change "Copy to Output" to be "Copy if newer".  Now when you build your app, the other exe will by copied with your project output.

    --
    Mike
    • Proposed as answer by JMCF125 Saturday, December 8, 2012 3:14 PM
    • Marked as answer by Bob ShenModerator Thursday, December 20, 2012 6:26 AM
    Saturday, December 8, 2012 3:12 PM
  • How to: Embedding an external executable inside a C# program

    BTW: Anyways, you need a source code of this app - min headers...


    Classified SR-2 | 2x Xeon W5580 - 3.20 GHz | 12x 2GB Kingston KHX2000C9D3T1K3/6GX | 2x MARS II/2DIS/3GD5 | SAMSUNG 830 MZ-7PC512D/AM 2.5" 512GB SATA III MLC | 4x Spinpoint F3EG HD503HI 500GB 5400 16MB SATA 3.0Gb/s |

    • Marked as answer by Ahmed_Soft3 Thursday, December 20, 2012 9:29 PM
    Saturday, December 8, 2012 4:24 PM

All replies

  • hi all,

    i have application program , and i want to include this file in my project ,

    so anyone can open this application file through my project ,

    and cannot to open this file without my application

    Which file you want to include ?

    Where is your project ? Nothing is clear in your post .


    One good question is equivalent to ten best answers.

    Saturday, December 8, 2012 11:58 AM
  • >> application file ( exe ) 

    i have exe file i want to open this file through my project but user cannot to open this file without my project

    so i asked to make this exe file include into my project

    Saturday, December 8, 2012 1:02 PM
  • Deleted
    Saturday, December 8, 2012 3:08 PM
  • In your project, select "Project", then "Add Existing Item".  Navigate to the exectuable file.  It is now in your project.  Select the file in the solution explorer, and in the properties pane, change "Copy to Output" to be "Copy if newer".  Now when you build your app, the other exe will by copied with your project output.

    --
    Mike
    • Proposed as answer by JMCF125 Saturday, December 8, 2012 3:14 PM
    • Marked as answer by Bob ShenModerator Thursday, December 20, 2012 6:26 AM
    Saturday, December 8, 2012 3:12 PM
  • How to: Embedding an external executable inside a C# program

    BTW: Anyways, you need a source code of this app - min headers...


    Classified SR-2 | 2x Xeon W5580 - 3.20 GHz | 12x 2GB Kingston KHX2000C9D3T1K3/6GX | 2x MARS II/2DIS/3GD5 | SAMSUNG 830 MZ-7PC512D/AM 2.5" 512GB SATA III MLC | 4x Spinpoint F3EG HD503HI 500GB 5400 16MB SATA 3.0Gb/s |

    • Marked as answer by Ahmed_Soft3 Thursday, December 20, 2012 9:29 PM
    Saturday, December 8, 2012 4:24 PM