Hello!
I'm new in c# programming and I need you to help me with this problem:
I've created two programs in C#. The first one called "FM" and is only a program with a lot of functions. The second one called "MCDU" and is the main program.
The problem is that I need to pass some parameters of "MCDU" to "FM" in order that the second program executes with this parameters one of the functions that has in its code. So, how I pass from "MCDU" the parameters to "FM" and also how I return new parameters from "FM" to MCDU?
Thanks in advance and if you need a better explanation please ask for it!
Franky
Loading
asicPosted Sep 13, 2005, 8:45 AM
then in this case u are running a program from the other and pass parameters for it
but in case that the 2 programms run independently so u cannot pass parameters this way
and thanks too much for the example
frankyPosted Sep 13, 2005, 6:25 AM
asicPosted Sep 12, 2005, 10:51 PM
can u give an example of how to use processes to do that ,as it may be an easier solution if u
are right
do u mean that one form is calling the other (run it) using something like Process.Start()
and pass some arguments to the other program ?
thanks
frankyPosted Sep 12, 2005, 6:24 AM
asicPosted Sep 11, 2005, 7:14 PM
i am a beginner too but
i think that if the 2 programs run in separation (independent no form call the other form ),u
need to use remoting or network programming or com+
remoting enables u for example to create an object in a program and to use it in another program
remoting in fact is based on network programming but with specific message formatting between
the 2 programms,and wish support of classes to help in the process of transfering objects
,if u use network programming u will define of course the message format u need
i suggest that u read about remoting.
best wishes