Need help windows application

kaisersoze

Centurion
Joined
Aug 27, 2003
Messages
152
I need to write an windows application say "app1.exe". app1.exe has few classes, so i create objects of classes. app1.exe calls other applications "app2.exe", "app3.exe", using shell command or shellexecute command. I need to share the class (objects) files in other words I need to pass values between app1.exe (parent) and app2.exe or app3.exe (child).

can and one help...
 
Without knowing any of the details could you not serialize the classes in question to a tempory file and pass that filename as a parameter to the other application and get it to de-serialize the classes from the file?

You might want to put the classes in question into a shared classlibrary that all 3 .exes will use.

Failing that you may need to look at something like remoting as a possible solution.
 
Yes prsently I am using intermediate MS Access to comunicate data.

I am thinking of .net remoting, but i have hurdle here
when I import the below code, I get an error.

Imports System.Runtime.Remoting.Channels.Tcp
Imports System.Runtime.Remoting.Channels.Http

error: it says Imports "System.Runtime.Remoting.Channels.Tcp" cannot be found??

error: it says Imports "System.Runtime.Remoting.Channels.Http" cannot be found??

any idea what i am talking about...
 
Back
Top