Click here to Skip to main content
15,881,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: 2D Arrays, something strange Pin
bouli31-Jan-04 0:38
bouli31-Jan-04 0:38 
GeneralRe: 2D Arrays, something strange Pin
Heath Stewart1-Feb-04 14:06
protectorHeath Stewart1-Feb-04 14:06 
GeneralRe: 2D Arrays, something strange Pin
bouli1-Feb-04 19:55
bouli1-Feb-04 19:55 
GeneralRe: 2D Arrays, something strange Pin
Heath Stewart2-Feb-04 2:40
protectorHeath Stewart2-Feb-04 2:40 
GeneralRe: 2D Arrays, something strange Pin
bouli2-Feb-04 4:13
bouli2-Feb-04 4:13 
QuestionRemoting Problem: How to unregister a WellKnownClientType? Pin
occcy30-Jan-04 4:23
occcy30-Jan-04 4:23 
AnswerRe: Remoting Problem: How to unregister a WellKnownClientType? Pin
Heath Stewart30-Jan-04 5:21
protectorHeath Stewart30-Jan-04 5:21 
GeneralRe: Remoting Problem: How to unregister a WellKnownClientType? Pin
occcy1-Feb-04 20:50
occcy1-Feb-04 20:50 
Hi!
Thanks for your effort!
Unfortunately doesn't work it...
I want to explain the situation more detailed:

When the client starts his application, he get's a login-dialog, where he has to type in the servername (and username, password ....) he wants to connect to. When the client types in a servername, that does not exist or the server is not available, he must get a new chance to login, without restarting his application.

When he clicks the Login-Button I do something like this:
<br />
  Dispather MyDispatcher;<br />
  RemotingConfiguration.RegisterWellKnownClient(typeof(Dispatcher),URL);<br />
  MyDispatcher=new Dispatcher();<br />
  MyDispatcher.Login(...);<br />
   ...<br />


If an error occures (severname incorrect or server not available) I have to unregister this Dispather-object first, before I can register it again with another URL. RemotingServices.Disconnect(Dispatcher) does not work, because it's for Serverobjects. And Reregistering (with RegisterWellKnownClient) throws an exception ("System.Runtime.Remoting.RemotingException: Es wurde versucht, die bereits umgeleitete Aktivierung des Typs 'Dispatcher, ccShared' erneut umzuleiten.").D'Oh! | :doh:

What can I do?
Thanks in advance!
GeneralRe: Remoting Problem: How to unregister a WellKnownClientType? Pin
occcy1-Feb-04 22:35
occcy1-Feb-04 22:35 
Generalsend to fuction in Windows Pin
Kenneth_i30-Jan-04 4:07
Kenneth_i30-Jan-04 4:07 
GeneralRe: send to fuction in Windows Pin
Mazdak30-Jan-04 4:40
Mazdak30-Jan-04 4:40 
GeneralRe: send to fuction in Windows Pin
Kenneth_i30-Jan-04 13:54
Kenneth_i30-Jan-04 13:54 
GeneralRe: send to fuction in Windows Pin
Mazdak30-Jan-04 4:57
Mazdak30-Jan-04 4:57 
GeneralSelected text in TreeNodes Pin
Anonymous30-Jan-04 3:50
Anonymous30-Jan-04 3:50 
GeneralRe: Selected text in TreeNodes Pin
Guinness4Strength30-Jan-04 3:56
Guinness4Strength30-Jan-04 3:56 
GeneralRe: Selected text in TreeNodes Pin
Anonymous30-Jan-04 4:00
Anonymous30-Jan-04 4:00 
GeneralRe: Selected text in TreeNodes Pin
Guinness4Strength30-Jan-04 4:12
Guinness4Strength30-Jan-04 4:12 
GeneralRe: Selected text in TreeNodes Pin
Guinness4Strength30-Jan-04 4:40
Guinness4Strength30-Jan-04 4:40 
GeneralRe: Selected text in TreeNodes Pin
Anonymous31-Jan-04 2:37
Anonymous31-Jan-04 2:37 
GeneralRe: Selected text in TreeNodes Pin
Heath Stewart30-Jan-04 5:02
protectorHeath Stewart30-Jan-04 5:02 
GeneralRe: Selected text in TreeNodes Pin
Guinness4Strength30-Jan-04 4:42
Guinness4Strength30-Jan-04 4:42 
GeneralRe: Selected text in TreeNodes Pin
Heath Stewart30-Jan-04 5:14
protectorHeath Stewart30-Jan-04 5:14 
GeneralRe: Selected text in TreeNodes Pin
Guinness4Strength30-Jan-04 5:18
Guinness4Strength30-Jan-04 5:18 
GeneralRe: Selected text in TreeNodes Pin
Anonymous31-Jan-04 2:37
Anonymous31-Jan-04 2:37 
QuestionAnyone Know a better way ? Pin
Guinness4Strength30-Jan-04 3:49
Guinness4Strength30-Jan-04 3:49 

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.