Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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...

Note: I think as a programmer not as a human, so use my answer at your will
  • Administrators
Posted

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.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

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...

Note: I think as a programmer not as a human, so use my answer at your will

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...