Click here to Skip to main content
15,902,938 members
Home / Discussions / C#
   

C#

 
QuestionGenerics: Is there a Synchronized Hashtable equivalent??? Pin
LongRange.Shooter23-Oct-06 4:08
LongRange.Shooter23-Oct-06 4:08 
AnswerRe: Generics: Is there a Synchronized Hashtable equivalent??? Pin
ednrgc23-Oct-06 4:18
ednrgc23-Oct-06 4:18 
GeneralRe: Generics: Is there a Synchronized Hashtable equivalent??? Pin
LongRange.Shooter23-Oct-06 6:55
LongRange.Shooter23-Oct-06 6:55 
Questionhow to Export DataGridView to excel in c# 2005 ? Pin
hdv21223-Oct-06 3:08
hdv21223-Oct-06 3:08 
QuestionRemoting Question Pin
Inkyskin_UK23-Oct-06 2:28
Inkyskin_UK23-Oct-06 2:28 
AnswerRe: Remoting Question Pin
LongRange.Shooter23-Oct-06 4:05
LongRange.Shooter23-Oct-06 4:05 
GeneralRe: Remoting Question Pin
Inkyskin_UK23-Oct-06 4:14
Inkyskin_UK23-Oct-06 4:14 
GeneralRe: Remoting Question Pin
LongRange.Shooter23-Oct-06 9:49
LongRange.Shooter23-Oct-06 9:49 
First : The code would be MUCH easier to view if you wrap it with <pre> and <\pre> instead of the code parameter.

Secondly : the code, as I read it, does not look good. For example, when you initialize the client you ignore exceptions. Not good. If you get a connection failure, your client is dead.

Finally : Does button3 close the application???? You should rename that to make it self-documenting. If it closes the form, then this.Dispose() will not close your connection for you!!! (Which is part of your problem)

I highly suggest you get get this book:

Advanced .Net Remoting 2nd Ed. Ingo Rammar/Mario Szpuszta (Apress 1590594177)

This is the top of the list for remoting education!!! It looks like you're creating your remote object incorrectly, there should be no reason for InitializeRemoteServer since InitializeClient does that job.

Good luck,

Michael
QuestionWndProc : on windows command ? Pin
vincent3123-Oct-06 2:22
vincent3123-Oct-06 2:22 
AnswerRe: WndProc : on windows command ? Pin
Ed.Poore23-Oct-06 4:04
Ed.Poore23-Oct-06 4:04 
AnswerRe: WndProc : on windows command ? Pin
Dave Kreskowiak23-Oct-06 4:21
mveDave Kreskowiak23-Oct-06 4:21 
QuestionRe: WndProc : on windows command ? Pin
vincent3123-Oct-06 4:37
vincent3123-Oct-06 4:37 
AnswerRe: WndProc : on windows command ? Pin
S. Senthil Kumar23-Oct-06 8:26
S. Senthil Kumar23-Oct-06 8:26 
QuestionRe: WndProc : on windows command ? Pin
vincent3124-Oct-06 3:43
vincent3124-Oct-06 3:43 
AnswerRe: WndProc : on windows command ? Pin
duanvinait25-Jan-21 20:13
duanvinait25-Jan-21 20:13 
Questionasynchrounous web methgod call Pin
Thakur Vikas23-Oct-06 1:54
Thakur Vikas23-Oct-06 1:54 
AnswerRe: asynchrounous web methgod call Pin
Stefan Troschuetz23-Oct-06 3:06
Stefan Troschuetz23-Oct-06 3:06 
QuestionCalling a Method with a Variable as its Name Pin
Gareth H23-Oct-06 1:31
Gareth H23-Oct-06 1:31 
AnswerRe: Calling a Method with a Variable as its Name Pin
Robert Rohde23-Oct-06 1:39
Robert Rohde23-Oct-06 1:39 
GeneralRe: Calling a Method with a Variable as its Name Pin
Gareth H23-Oct-06 2:46
Gareth H23-Oct-06 2:46 
QuestionsplitContainer Pin
alpha_1023-Oct-06 0:48
alpha_1023-Oct-06 0:48 
AnswerRe: splitContainer Pin
Ed.Poore23-Oct-06 4:02
Ed.Poore23-Oct-06 4:02 
QuestionRe: splitContainer Pin
alpha_1023-Oct-06 4:16
alpha_1023-Oct-06 4:16 
AnswerRe: splitContainer Pin
Ed.Poore23-Oct-06 5:13
Ed.Poore23-Oct-06 5:13 
GeneralRe: splitContainer Pin
alpha_1023-Oct-06 5:24
alpha_1023-Oct-06 5:24 

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.