Application Reference

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Varangian

    #1

    Application Reference

    Hello there...

    I want to run an application reference from another C# application. How
    can I do this... ExecuteAssembly will work ? If yes in what way? If
    not, is there another way?

    Thank

  • Stoitcho Goutsev \(100\)

    #2
    Re: Application Reference

    Varangian,

    What exactly is an "applicatio n reference"?

    If you want to start the application in a new process you can use
    Process.Start method.
    If you want to execute the application in a new application domain in the
    same process you usually create an application domain by calling
    AppDomain.Creat eDomain and then execute an assembly calling the
    ExecuteAssembly method.


    --
    HTH
    Stoitcho Goutsev (100)

    "Varangian" <ofmars@gmail.c om> wrote in message
    news:1138628121 .812370.272290@ g43g2000cwa.goo glegroups.com.. .[color=blue]
    > Hello there...
    >
    > I want to run an application reference from another C# application. How
    > can I do this... ExecuteAssembly will work ? If yes in what way? If
    > not, is there another way?
    >
    > Thank
    >[/color]


    Comment

    • Ignacio Machin \( .NET/ C# MVP \)

      #3
      Re: Application Reference

      Hi,

      what you mean with app reference?

      if you want to create a new process yuo use the Process class



      --
      Ignacio Machin,
      ignacio.machin AT dot.state.fl.us
      Florida Department Of Transportation

      "Varangian" <ofmars@gmail.c om> wrote in message
      news:1138628121 .812370.272290@ g43g2000cwa.goo glegroups.com.. .[color=blue]
      > Hello there...
      >
      > I want to run an application reference from another C# application. How
      > can I do this... ExecuteAssembly will work ? If yes in what way? If
      > not, is there another way?
      >
      > Thank
      >[/color]


      Comment

      • Varangian

        #4
        Re: Application Reference

        Oh sorry, an Application Reference is an application when published
        using the Publish Wizard in Visual Studio 2005

        Comment

        Working...