Click here to Skip to main content
15,922,015 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionBCP in Windows Schedular Pin
indian14315-Jan-09 20:56
indian14315-Jan-09 20:56 
AnswerRe: BCP in Windows Schedular Pin
Dave Kreskowiak16-Jan-09 0:56
mveDave Kreskowiak16-Jan-09 0:56 
GeneralRe: BCP in Windows Schedular Pin
indian14316-Jan-09 3:16
indian14316-Jan-09 3:16 
GeneralRe: BCP in Windows Schedular Pin
Dave Kreskowiak16-Jan-09 3:42
mveDave Kreskowiak16-Jan-09 3:42 
AnswerRe: BCP in Windows Schedular Pin
Wendelius17-Jan-09 5:47
mentorWendelius17-Jan-09 5:47 
Questionvb.net with excel2007 Pin
jetgrageda15-Jan-09 20:31
jetgrageda15-Jan-09 20:31 
AnswerRe: vb.net with excel2007 Pin
Eddy Vluggen18-Jan-09 1:09
professionalEddy Vluggen18-Jan-09 1:09 
QuestionHow can a remoted .NET object access objects/methods in the hosting app? Pin
Dathom15-Jan-09 10:04
Dathom15-Jan-09 10:04 
I have two existing (complex) .NET 3.0 Winform apps A and B that need to exchange information synchronously (using request/response). Both apps are running on the same computer at present, but perhaps over a LAN later.

Since I've used .NET Remoting in the past, I figured that's the way to go...

So I setup app A to host class X for Remoting, and I setup app B to instantiate class X (on A) and then invoke its methods.

Works great, except class X (being hosted on A) can't actually access the hosting app A. For example, it can't invoke A's methods, access its variables, etc.

The functional requirement is to have apps A and B exchange information, not simply to allow B to invoke an "isolated" object that's hosted by A, but which can't really interact with app A.

I've been searching all day, and so far all I've found is a passing reference that it should be possible for app A "to get a proxy to the remote object". But I don't have a clue how to do that, or what it implies.

ANY help would be greatly appreciated!

DT
AnswerRe: How can a remoted .NET object access objects/methods in the hosting app? Pin
Moim Hossain16-Jan-09 10:15
Moim Hossain16-Jan-09 10:15 
RantCannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Brady Kelly15-Jan-09 5:30
Brady Kelly15-Jan-09 5:30 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Luc Pattyn15-Jan-09 5:49
sitebuilderLuc Pattyn15-Jan-09 5:49 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Brady Kelly15-Jan-09 5:54
Brady Kelly15-Jan-09 5:54 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Luc Pattyn15-Jan-09 6:18
sitebuilderLuc Pattyn15-Jan-09 6:18 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Brady Kelly15-Jan-09 6:41
Brady Kelly15-Jan-09 6:41 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Luc Pattyn15-Jan-09 6:46
sitebuilderLuc Pattyn15-Jan-09 6:46 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Brady Kelly15-Jan-09 7:07
Brady Kelly15-Jan-09 7:07 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Luc Pattyn15-Jan-09 7:28
sitebuilderLuc Pattyn15-Jan-09 7:28 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Brady Kelly15-Jan-09 10:38
Brady Kelly15-Jan-09 10:38 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Luc Pattyn15-Jan-09 10:52
sitebuilderLuc Pattyn15-Jan-09 10:52 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Brady Kelly15-Jan-09 11:20
Brady Kelly15-Jan-09 11:20 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Luc Pattyn15-Jan-09 11:54
sitebuilderLuc Pattyn15-Jan-09 11:54 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Brady Kelly15-Jan-09 12:06
Brady Kelly15-Jan-09 12:06 
GeneralRe: Cannot access a disposed object: Object name: ‘System.Net.Sockets.NetworkStream’. Pin
Luc Pattyn15-Jan-09 12:47
sitebuilderLuc Pattyn15-Jan-09 12:47 
GeneralI suspect the problem is solved Pin
Luc Pattyn15-Jan-09 12:07
sitebuilderLuc Pattyn15-Jan-09 12:07 
GeneralRe: I suspect the problem is solved Pin
Brady Kelly15-Jan-09 22:16
Brady Kelly15-Jan-09 22:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.