Click here to Skip to main content
15,915,764 members
Home / Discussions / C#
   

C#

 
GeneralDisable controls without highliting Pin
fracalifa15-Dec-04 21:21
fracalifa15-Dec-04 21:21 
GeneralRe: Disable controls without highliting Pin
Jay Shankar15-Dec-04 22:16
Jay Shankar15-Dec-04 22:16 
GeneralRe: Disable controls without highliting Pin
fracalifa15-Dec-04 22:48
fracalifa15-Dec-04 22:48 
GeneralRe: Disable controls without highliting Pin
Jay Shankar16-Dec-04 14:17
Jay Shankar16-Dec-04 14:17 
Generalpropagating datagrid changes in multiple tables Pin
Rashid_Mehmood15-Dec-04 20:31
Rashid_Mehmood15-Dec-04 20:31 
GeneralRe: propagating datagrid changes in multiple tables Pin
Heath Stewart15-Dec-04 22:41
protectorHeath Stewart15-Dec-04 22:41 
QuestionHow to disconnect remoting server properly? Pin
kosjanne15-Dec-04 20:28
kosjanne15-Dec-04 20:28 
AnswerRe: How to disconnect remoting server properly? Pin
Heath Stewart15-Dec-04 22:35
protectorHeath Stewart15-Dec-04 22:35 
At first glance, it would seem the problem is that you're not closing the first TcpChannel. When you instantiate a new one, the first TcpChannel remains active until the GC finalizes it - assuming nothing else is referencing it. This will happen when 1) your machine is idle, 2) when memory is or is nearly exhausted, or 3) when you call GC.Collect (not a good idea since this is a synchronous (i.e., blocking) call that may take a while). Be sure to call TcpChannel.StopListening.

You actually shouldn't need to re-allocate the channel, though. IF the remoting object is not listening the channel does nothing. You would have an open port, but a port that goes no where. Just something to consider.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: How to disconnect remoting server properly? Pin
kosjanne15-Dec-04 23:04
kosjanne15-Dec-04 23:04 
GeneralRe: How to disconnect remoting server properly? Pin
Heath Stewart15-Dec-04 23:12
protectorHeath Stewart15-Dec-04 23:12 
QuestionUserControl designer bug ? Pin
Gangren15-Dec-04 19:30
Gangren15-Dec-04 19:30 
AnswerRe: UserControl designer bug ? Pin
Jay Shankar15-Dec-04 19:55
Jay Shankar15-Dec-04 19:55 
GeneralRe: UserControl designer bug ? Pin
Gangren15-Dec-04 20:10
Gangren15-Dec-04 20:10 
GeneralRe: UserControl designer bug ? Pin
Jay Shankar15-Dec-04 20:24
Jay Shankar15-Dec-04 20:24 
GeneralRe: UserControl designer bug ? Pin
Jay Shankar15-Dec-04 20:41
Jay Shankar15-Dec-04 20:41 
GeneralRe: UserControl designer bug ? Pin
Gangren15-Dec-04 20:50
Gangren15-Dec-04 20:50 
AnswerRe: UserControl designer bug ? Pin
Gangren16-Dec-04 1:31
Gangren16-Dec-04 1:31 
GeneralRe: UserControl designer bug ? Pin
Jay Shankar16-Dec-04 14:13
Jay Shankar16-Dec-04 14:13 
GeneralRecording wave file in low level Pin
vhunghl15-Dec-04 19:28
vhunghl15-Dec-04 19:28 
GeneralRe: Recording wave file in low level Pin
Daniel Turini15-Dec-04 22:50
Daniel Turini15-Dec-04 22:50 
GeneralRemoving whitespace Pin
kobezt0815-Dec-04 19:18
kobezt0815-Dec-04 19:18 
GeneralRe: Removing whitespace Pin
Gangren15-Dec-04 19:39
Gangren15-Dec-04 19:39 
GeneralRe: Removing whitespace Pin
kobezt0815-Dec-04 19:42
kobezt0815-Dec-04 19:42 
GeneralRe: Removing whitespace Pin
Jay Shankar15-Dec-04 19:45
Jay Shankar15-Dec-04 19:45 
GeneralRe: Removing whitespace Pin
kobezt0815-Dec-04 20:35
kobezt0815-Dec-04 20:35 

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.