|
-
Mar 7th, 2006, 04:44 PM
#1
Thread Starter
Addicted Member
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
-
Mar 7th, 2006, 04:46 PM
#2
Frenzied Member
Re: Communication between programs
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.
-
Mar 7th, 2006, 08:30 PM
#3
Re: Communication between programs
 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?
-
Mar 7th, 2006, 10:55 PM
#4
Thread Starter
Addicted Member
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
-
Mar 8th, 2006, 04:27 AM
#5
New Member
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
-
Mar 8th, 2006, 02:46 PM
#6
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|