Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Same EXE vs Different EXE

Same EXE vs Different EXE

Scheduled Pinned Locked Moved C#
csharpvisual-studio
11 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K KUMAR619

    I am about to do a Project in C#. The project was already developed with Two different form in same EXE (say Verification.EXE) I nee to split these two forms into two different EXE. Both these forms shares a lot including References and datasets. If I split these forms into two different EXE will there be delay in time than the previous one without splitting

    KALYANA KUMAR P

    A Offline
    A Offline
    Akhil Mittal
    wrote on last edited by
    #2

    What "time" are you talking about? Be specific. If you are saying that time to execute the application will be longer after splitting, then when you create two exe's your application will be two, and will be launched separately ? isn't it? And time will hardly matter in this case.

    Thanks Do not forget to comment and rate the article if it helped you by any means.

    1 Reply Last reply
    0
    • K KUMAR619

      I am about to do a Project in C#. The project was already developed with Two different form in same EXE (say Verification.EXE) I nee to split these two forms into two different EXE. Both these forms shares a lot including References and datasets. If I split these forms into two different EXE will there be delay in time than the previous one without splitting

      KALYANA KUMAR P

      B Offline
      B Offline
      Bernhard Hiller
      wrote on last edited by
      #3

      KUMAR619 wrote:

      Both these forms shares a lot including References and datasets.

      Put the shared code into libraries (in Visual Studio: projects) which will be shared by your two executables (in Visual Studio: solutions).

      1 Reply Last reply
      0
      • K KUMAR619

        I am about to do a Project in C#. The project was already developed with Two different form in same EXE (say Verification.EXE) I nee to split these two forms into two different EXE. Both these forms shares a lot including References and datasets. If I split these forms into two different EXE will there be delay in time than the previous one without splitting

        KALYANA KUMAR P

        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #4

        I have got to ask, why do the 2 forms need to be in different projects (exe)?

        Never underestimate the power of human stupidity RAH

        K 1 Reply Last reply
        0
        • M Mycroft Holmes

          I have got to ask, why do the 2 forms need to be in different projects (exe)?

          Never underestimate the power of human stupidity RAH

          K Offline
          K Offline
          KUMAR619
          wrote on last edited by
          #5

          You are right. I asked my seniors they asked me to do so. Then what can I do.

          M 1 Reply Last reply
          0
          • K KUMAR619

            You are right. I asked my seniors they asked me to do so. Then what can I do.

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #6

            Are your 'seniors' developers or managers. If they are developers then ask them to explain the business reason why they need to be in 2 exe's. If they are managers then you need to explain the design is invalid and they should leave the design to the architect or the developer.

            Never underestimate the power of human stupidity RAH

            K 1 Reply Last reply
            0
            • M Mycroft Holmes

              Are your 'seniors' developers or managers. If they are developers then ask them to explain the business reason why they need to be in 2 exe's. If they are managers then you need to explain the design is invalid and they should leave the design to the architect or the developer.

              Never underestimate the power of human stupidity RAH

              K Offline
              K Offline
              KUMAR619
              wrote on last edited by
              #7

              My direct senior is a senior developer. Actually our project deals with hospital patients and their orders. In first form patient will be displayed according to their category. When a particular patient is clicked His/Her order form should be displayed. Its already developed. The clients abroad asked to separate Exe's to make Main EXE free from Order EXE else if any errors happens the main EXE should not be corrupted.

              KALYANA KUMAR P

              M G B 3 Replies Last reply
              0
              • K KUMAR619

                My direct senior is a senior developer. Actually our project deals with hospital patients and their orders. In first form patient will be displayed according to their category. When a particular patient is clicked His/Her order form should be displayed. Its already developed. The clients abroad asked to separate Exe's to make Main EXE free from Order EXE else if any errors happens the main EXE should not be corrupted.

                KALYANA KUMAR P

                M Offline
                M Offline
                Mycroft Holmes
                wrote on last edited by
                #8

                Nope - can't help, your client has been sold a really dumb idea and is trying to get you to conform to it. All I can offer is good luck!

                Never underestimate the power of human stupidity RAH

                1 Reply Last reply
                0
                • K KUMAR619

                  My direct senior is a senior developer. Actually our project deals with hospital patients and their orders. In first form patient will be displayed according to their category. When a particular patient is clicked His/Her order form should be displayed. Its already developed. The clients abroad asked to separate Exe's to make Main EXE free from Order EXE else if any errors happens the main EXE should not be corrupted.

                  KALYANA KUMAR P

                  G Offline
                  G Offline
                  GuyThiebaut
                  wrote on last edited by
                  #9

                  KUMAR619 wrote:

                  if any errors happens the main EXE should not be corrupted

                  When running, an exe is a read only file so it won't get corrupted. Also separating applications purely due to the probability of errors points towards needing a decent QC and sign off process.

                  “That which can be asserted without evidence, can be dismissed without evidence.”

                  ― Christopher Hitchens

                  1 Reply Last reply
                  0
                  • K KUMAR619

                    I am about to do a Project in C#. The project was already developed with Two different form in same EXE (say Verification.EXE) I nee to split these two forms into two different EXE. Both these forms shares a lot including References and datasets. If I split these forms into two different EXE will there be delay in time than the previous one without splitting

                    KALYANA KUMAR P

                    A Offline
                    A Offline
                    Akhil Mittal
                    wrote on last edited by
                    #10

                    I think the problem statement is something else that you can not explain well.Ask your seniors what exactly has to be done and to achieve what?:confused::confused::confused:

                    Thanks Do not forget to comment and rate the article if it helped you by any means.

                    1 Reply Last reply
                    0
                    • K KUMAR619

                      My direct senior is a senior developer. Actually our project deals with hospital patients and their orders. In first form patient will be displayed according to their category. When a particular patient is clicked His/Her order form should be displayed. Its already developed. The clients abroad asked to separate Exe's to make Main EXE free from Order EXE else if any errors happens the main EXE should not be corrupted.

                      KALYANA KUMAR P

                      B Offline
                      B Offline
                      Bernhard Hiller
                      wrote on last edited by
                      #11

                      That's an X-Y-Problem. As usual. There is a problem, someone has an idea of how to tackle it, and experiences a problem on that way - now the question is how to continue that way. Instead of the correct question: what does the customer really need, and - next (nto same!) question - how can that be accomplished. A totally common problem in requirements engineering....

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups