Click here to Skip to main content
15,924,507 members
Home / Discussions / C#
   

C#

 
AnswerRe: Combobox in C# : how to add for each Item a Tag ? Pin
Luis Alonso Ramos8-Dec-04 21:24
Luis Alonso Ramos8-Dec-04 21:24 
GeneralDynamicInvoke a remote object Pin
Skynyrd7-Dec-04 12:21
Skynyrd7-Dec-04 12:21 
GeneralRe: DynamicInvoke a remote object Pin
Heath Stewart7-Dec-04 14:48
protectorHeath Stewart7-Dec-04 14:48 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 0:57
Skynyrd8-Dec-04 0:57 
GeneralRe: DynamicInvoke a remote object Pin
Javier Lozano7-Dec-04 15:02
Javier Lozano7-Dec-04 15:02 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 1:08
Skynyrd8-Dec-04 1:08 
GeneralRe: DynamicInvoke a remote object Pin
Javier Lozano8-Dec-04 5:07
Javier Lozano8-Dec-04 5:07 
GeneralRe: DynamicInvoke a remote object Pin
Heath Stewart8-Dec-04 5:58
protectorHeath Stewart8-Dec-04 5:58 
Skynyrd wrote:
The problem is that I want to localize in one piece of code all the exception handling of the SocketException that gets thrown when the server where the remote object lives is not accessible to the client app that calls one if its methods.

Could you elaborate a little more? No offense, but the grammar is getting in the way of the problem, specifically "thrown when the server where the remote object lives". If I'm correct, you're trying to say that you want to localize the exception message that the server throws, and you want to localize it on the client?

If so, just catch that exception type and display a localized error message to the user, or if this is for a library (never lets your users see exceptions - there's simply no excuse for that in an application, but in a library it's common since your library gets used by applications) localize the text and throw a new exception with the original exception as the InnerException.

Sorry if I'm wrong, but like I said I have problems parsing and understanding your sentance. Again, no offense meant. It's usually not a problem but in this case - in order to hopefully help you with the true problem - I need to be sure I understand you correctly.

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: DynamicInvoke a remote object Pin
Javier Lozano8-Dec-04 6:03
Javier Lozano8-Dec-04 6:03 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 11:26
Skynyrd8-Dec-04 11:26 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 11:43
Skynyrd8-Dec-04 11:43 
GeneralRe: DynamicInvoke a remote object Pin
Javier Lozano8-Dec-04 12:06
Javier Lozano8-Dec-04 12:06 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 13:18
Skynyrd8-Dec-04 13:18 
GeneralHTML style RichTextBox control Pin
Beringer7-Dec-04 12:06
Beringer7-Dec-04 12:06 
GeneralRe: HTML style RichTextBox control Pin
Beringer7-Dec-04 12:08
Beringer7-Dec-04 12:08 
GeneralRe: HTML style RichTextBox control Pin
Heath Stewart7-Dec-04 14:44
protectorHeath Stewart7-Dec-04 14:44 
GeneralSockets and Win2k Issues Pin
Tristan Rhodes7-Dec-04 11:34
Tristan Rhodes7-Dec-04 11:34 
GeneralRe: Sockets and Win2k Issues Pin
Heath Stewart7-Dec-04 14:27
protectorHeath Stewart7-Dec-04 14:27 
GeneralRe: Sockets and Win2k Issues Pin
Tristan Rhodes8-Dec-04 0:25
Tristan Rhodes8-Dec-04 0:25 
GeneralRe: Sockets and Win2k Issues Pin
Daniel Turini7-Dec-04 20:12
Daniel Turini7-Dec-04 20:12 
GeneralRe: Sockets and Win2k Issues Pin
Tristan Rhodes8-Dec-04 0:26
Tristan Rhodes8-Dec-04 0:26 
GeneralRe: Sockets and Win2k Issues Pin
Heath Stewart8-Dec-04 6:01
protectorHeath Stewart8-Dec-04 6:01 
GeneralFree Lightweight C# SDE Pin
Tristan Rhodes7-Dec-04 8:30
Tristan Rhodes7-Dec-04 8:30 
GeneralRe: Free Lightweight C# SDE Pin
Stanciu Vlad7-Dec-04 9:48
Stanciu Vlad7-Dec-04 9:48 
GeneralRe: Free Lightweight C# SDE Pin
Heath Stewart7-Dec-04 14:21
protectorHeath Stewart7-Dec-04 14:21 

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.