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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. How do two c# .Net programs communicate to each other? ...please help

How do two c# .Net programs communicate to each other? ...please help

Scheduled Pinned Locked Moved C#
csharphelpquestion
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.
  • I imannasr88

    hello every body. i want creat a program in c# that can run other C# program (exe) and show one of the form in it. please help. thanks.

    modified on Monday, May 4, 2009 2:42 AM

    1 Offline
    1 Offline
    12Code
    wrote on last edited by
    #2

    use System.Diagnostics.Process

    ;)*12Code

    I 1 Reply Last reply
    0
    • I imannasr88

      hello every body. i want creat a program in c# that can run other C# program (exe) and show one of the form in it. please help. thanks.

      modified on Monday, May 4, 2009 2:42 AM

      S Offline
      S Offline
      saanj
      wrote on last edited by
      #3

      Either you can sue System.Diagnostic.Process.Start or just create an object of the other C#.net class and execute it.

      Either you love IT or leave IT...

      M I 2 Replies Last reply
      0
      • S saanj

        Either you can sue System.Diagnostic.Process.Start or just create an object of the other C#.net class and execute it.

        Either you love IT or leave IT...

        M Offline
        M Offline
        MumbleB
        wrote on last edited by
        #4

        saanj wrote:

        Either you can sue System.Diagnostic.Process.Start

        Sue it on what grounds? :laugh: :laugh: :laugh:

        Excellence is doing ordinary things extraordinarily well.

        D I 2 Replies Last reply
        0
        • M MumbleB

          saanj wrote:

          Either you can sue System.Diagnostic.Process.Start

          Sue it on what grounds? :laugh: :laugh: :laugh:

          Excellence is doing ordinary things extraordinarily well.

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #5

          For invading privacy of other program?

          जय हिंद

          M I 2 Replies Last reply
          0
          • D dan sh

            For invading privacy of other program?

            जय हिंद

            M Offline
            M Offline
            MumbleB
            wrote on last edited by
            #6

            Possible!! I am giving up programming now!!!..... :laugh:

            Excellence is doing ordinary things extraordinarily well.

            1 Reply Last reply
            0
            • 1 12Code

              use System.Diagnostics.Process

              ;)*12Code

              I Offline
              I Offline
              imannasr88
              wrote on last edited by
              #7

              thanks. but how to call a form (with handle) that is not main form in destination program.

              1 Reply Last reply
              0
              • M MumbleB

                saanj wrote:

                Either you can sue System.Diagnostic.Process.Start

                Sue it on what grounds? :laugh: :laugh: :laugh:

                Excellence is doing ordinary things extraordinarily well.

                I Offline
                I Offline
                imannasr88
                wrote on last edited by
                #8

                in a company two programs have some relations with each other i want it for this reason thanks

                1 Reply Last reply
                0
                • D dan sh

                  For invading privacy of other program?

                  जय हिंद

                  I Offline
                  I Offline
                  imannasr88
                  wrote on last edited by
                  #9

                  no it is because my programs have some relations with each other in some cases and I need it

                  1 Reply Last reply
                  0
                  • S saanj

                    Either you can sue System.Diagnostic.Process.Start or just create an object of the other C#.net class and execute it.

                    Either you love IT or leave IT...

                    I Offline
                    I Offline
                    imannasr88
                    wrote on last edited by
                    #10

                    can you help me how and with which namespace i can do it.thanks

                    M 1 Reply Last reply
                    0
                    • I imannasr88

                      can you help me how and with which namespace i can do it.thanks

                      M Offline
                      M Offline
                      MumbleB
                      wrote on last edited by
                      #11

                      As both 12Code and saanj mentioned, look at **System.Diagnostics**.

                      Excellence is doing ordinary things extraordinarily well.

                      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