473,322 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

info reqd: referencing/using object from AppDomin of an other process

hi,

if dotnet exe applications A, B and C are running as separate process each
(separate exe process in windows), i want to reference/use an object from
application A's appdomin in application B and C.

can anyone help in the above scenario? is it possible in dotnet?

TIA

qpro

Nov 22 '05 #1
2 1081
Through remoting, yes. But it takes some work to set up. Otherwise you could
use maybe sockets and serialization directly.
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

"qpro" <sc******@mailandnews.com> wrote in message
news:uv**************@TK2MSFTNGP10.phx.gbl...
hi,

if dotnet exe applications A, B and C are running as separate process each
(separate exe process in windows), i want to reference/use an object from
application A's appdomin in application B and C.

can anyone help in the above scenario? is it possible in dotnet?

TIA

qpro

Nov 22 '05 #2
> if dotnet exe applications A, B and C are running as separate process each
(separate exe process in windows), i want to reference/use an object from
application A's appdomin in application B and C.
can anyone help in the above scenario? is it possible in dotnet?


Sure. Use .NET Remoting.
The 'bible' in this regard is Ingo Rammer's Remoting Book
http://www.amazon.com/exec/obidos/AS...590252/nova-20
Well worth owning a copy of.

A remoting example is beyond the scope of a newsgroup reply, but, take a
look at
http://samples.gotdotnet.com/quickst...uickstart.aspx
and
http://www.codeproject.com/csharp/Do...BasicTutor.asp
http://www.codeproject.com/vb/net/RemotingTech.asp
http://www.codeproject.com/soap/remotingsimpleeng.asp

Cheers
Chris

****Please Reply To The Newsgroup So All Can Benefit From Discussion****
-------------------------------------------
Kognition Consulting Limited - Thought Meets Technology
Chris J.T. Auld - Managing Director
Microsoft MVP (Windows Mobile Devices)
Phone: +64 3 453 0064
Mobile: +64 21 500 239
Email: ch***@kognition.co.nz
Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: qpro | last post by:
hi, if dotnet exe applications A, B and C are running as separate process each (separate exe process in windows), i want to reference/use an object from application A's appdomin in application B...
0
by: Walter G | last post by:
I have a VB.Net application that can be executed with parameters. If parameters are received, the I execute a function that will open a form within the application. On top of that, I'd like to...
3
by: djohannsen | last post by:
i need to programmatically obtain and process constraint key information. the problem with the output from sp_helpconstraint is that it outputs 2, and sometimes 3 resultsets. (the 2nd...
6
by: ian | last post by:
Hi All I have a DLL (nahd.dll) that has been supplied to me will a PBX phone system. According to the documentation it is to allow developers to write there own applications to monitor the...
6
by: Daren Hawes | last post by:
Hi, My web host has a low security setting on the shared .net server I use. I cannot use third party dll's or install assemblies in the GAC. All I need to do is verify that a FTP login is...
6
by: MattC | last post by:
I noticed when storing large amounts of information in the StateServer Service that this does not increase in size, the worker process itself seems to grow. I set up a test case to try and prove...
2
by: HankD | last post by:
Hi, I am having a problem with instantiating two custom objects so they DO NOT point to the same memory location. What is happening is that changes I am making to my object1 are changing object2. I...
5
by: Diwa | last post by:
Does the "value" type (value as in key-value pair )of "std::map" require a default ctor even if it is not used ? If I comment out Line 1 in the code attached later, i.e remove the default ctor...
3
by: altafur | last post by:
hi, i am using java with hibernate . i want to run a hibernate order by query thru java. i have written the query in hibernate.hbm.xml file. the query is as follows: query: SELECT distinct...
24
by: =?Utf-8?B?QnJpYW4gTmljaG9sc29u?= | last post by:
Hello, I'm trying to create an admin page that can run miscellaneous scripts for our IT department. Currently, I'm trying to create a script that can map a network drive for a user (e.g. a form...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.