kaisersoze Posted November 3, 2004 Posted November 3, 2004 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... Quote Note: I think as a programmer not as a human, so use my answer at your will
Administrators PlausiblyDamp Posted November 4, 2004 Administrators Posted November 4, 2004 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. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
kaisersoze Posted November 4, 2004 Author Posted November 4, 2004 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... Quote Note: I think as a programmer not as a human, so use my answer at your will
brentnewbury Posted November 4, 2004 Posted November 4, 2004 If you are using Visual Studio; you may havew to add them *** references to your project. Happy Coding :D Brent Newbury Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.