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. passing parameters between two application

passing parameters between two application

Scheduled Pinned Locked Moved C#
csharphelpquestion
3 Posts 2 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 Offline
    I Offline
    imannasr88
    wrote on last edited by
    #1

    HI. I have two C# application ("first" and "Second") and i call "first.exe" from the "Second" program with this code :

    System.Reflection.Assembly extAssembly = System.Reflection.Assembly.LoadFrom("c:\\first.exe");
    Form extForm=(Form)extAssembly.CreateInstance("first.Form1",true);
    this.AddOwnedForm(extForm);
    extForm.Show();

    Then I want to pass some parameters from the "second" program to the "first" program . Can anyone help me please?

    D 1 Reply Last reply
    0
    • I imannasr88

      HI. I have two C# application ("first" and "Second") and i call "first.exe" from the "Second" program with this code :

      System.Reflection.Assembly extAssembly = System.Reflection.Assembly.LoadFrom("c:\\first.exe");
      Form extForm=(Form)extAssembly.CreateInstance("first.Form1",true);
      this.AddOwnedForm(extForm);
      extForm.Show();

      Then I want to pass some parameters from the "second" program to the "first" program . Can anyone help me please?

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

      Parameterized constructor?

      जय हिंद

      I 1 Reply Last reply
      0
      • D dan sh

        Parameterized constructor?

        जय हिंद

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

        yes

        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