Results 1 to 6 of 6

Thread: Communication between programs

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2005
    Posts
    181

    Communication between programs

    Is there a way that I can have my programs call methods within each other. For example could I have program 1 tell program 2 to run a certain method when a button is clicked in program 1? How would I do this?

    Thanks
    John

  2. #2
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: Communication between programs

    Google Remoting...
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  3. #3
    Frenzied Member mar_zim's Avatar
    Join Date
    Feb 2004
    Location
    Toledo Cebu City.
    Posts
    1,416

    Re: Communication between programs

    Quote Originally Posted by JohnRChick
    Is there a way that I can have my programs call methods within each other. For example could I have program 1 tell program 2 to run a certain method when a button is clicked in program 1? How would I do this?

    Thanks
    John
    What do you mean by this? Forms bet. Forms? or different applications?

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    May 2005
    Posts
    181

    Re: Communication between programs

    like between different copies of the same .exe..... so like one copy of my program could tell the other to run a certain method, etc

  5. #5
    New Member
    Join Date
    Feb 2006
    Location
    Karachi
    Posts
    5

    Re: Communication between programs

    Yah www.codeproject.com/dotnet/dotnet.asp

    Click on this link i sure you will easy understand this codes.

    Raghib Khesal
    KGCS
    raghib.netfirms.com

  6. #6
    Addicted Member bgard68's Avatar
    Join Date
    Mar 2006
    Location
    Arkansas
    Posts
    164

    Re: Communication between programs

    You might want to check out
    interfaces and reflection.

    With reflection, you can call specific methods from a loaded exe or dll during runtime and this can be done dynamically as well.

    I myself am new to the concept of reflection, but you can do some kewl stuff with it, including creating dynamic code!

    bgard68

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width