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. Controlling an application from another.

Controlling an application from another.

Scheduled Pinned Locked Moved C#
csharphelptutorialquestion
2 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.
  • C Offline
    C Offline
    coder87c
    wrote on last edited by
    #1

    Hello sirs, I have exhausted my resources and have come seeking help. I have a windows .net application A written in C# and I have another windows .net application written in C# called B. B is a simple Form with a button and a listbox. It contains an arrayList that when the button is pressed spits out all the strings in it. A is ment to Run B and be able to change its arraylist to add strings to it and possible call functions in B. Example: I run A which Loads B B's form shows up and I click the button which displays Hello World. I goto the A form which has some input to add strings to Bs arrayList. I reclick Bs button and the new strings show up. Any ideas?

    D 1 Reply Last reply
    0
    • C coder87c

      Hello sirs, I have exhausted my resources and have come seeking help. I have a windows .net application A written in C# and I have another windows .net application written in C# called B. B is a simple Form with a button and a listbox. It contains an arrayList that when the button is pressed spits out all the strings in it. A is ment to Run B and be able to change its arraylist to add strings to it and possible call functions in B. Example: I run A which Loads B B's form shows up and I click the button which displays Hello World. I goto the A form which has some input to add strings to Bs arrayList. I reclick Bs button and the new strings show up. Any ideas?

      D Offline
      D Offline
      Diana Fernandez
      wrote on last edited by
      #2

      Hi, A and B are two processes. To get hold of objects in B you have to attach a dll into B. See the link below. http://www.codeproject.com/dotnet/objectspy.asp

      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