Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
Questioncombo box Pin
costavo12-Aug-07 23:19
costavo12-Aug-07 23:19 
AnswerRe: combo box Pin
Keith Barrow12-Aug-07 23:35
professionalKeith Barrow12-Aug-07 23:35 
AnswerRe: combo box Pin
Michael Sync12-Aug-07 23:38
Michael Sync12-Aug-07 23:38 
GeneralRe: combo box Pin
Michael Sync12-Aug-07 23:40
Michael Sync12-Aug-07 23:40 
AnswerRe: combo box Pin
Nouman Bhatti12-Aug-07 23:56
Nouman Bhatti12-Aug-07 23:56 
GeneralRe: combo box Pin
costavo13-Aug-07 0:02
costavo13-Aug-07 0:02 
GeneralRe: combo box Pin
Michael Sync13-Aug-07 16:49
Michael Sync13-Aug-07 16:49 
QuestionWPF Top level exception handling problem Pin
Keith Barrow12-Aug-07 23:09
professionalKeith Barrow12-Aug-07 23:09 
I have a WPF problem, namely my GUI top level exception handler doesn't:
<br />
public partial class ApplicationWindow : System.Windows.Window<br />
{<br />
  public ApplicationWindow()<br />
  {<br />
    InitializeComponent();<br />
    AppDomain.CurrentDomain.UnhandledException += <br />
    new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); <br />
 }<br />
<br />
  void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)<br />
  {<br />
    // Some stuff here that writes to event log*<br />
  }<br />
}<br />

* The code that I've removed from here works when CurrentDomain_UnhandledException is called sucessfully. Also I have try catches round all my top level execution blocks.

The problem I get is intermittant, and has only happened on the live machines Frown | :( . When I look at the event log, the CurrentDomain_UnhandledException isn't called (there is no event log entry), but I get a .net 2 runtime error:

EventType clr20r3, P1 gui.exe, P2 1.0.2768.23782, P3 46af354c, P4 system.servicemodel, P5 3.0.0.0, P6 4545a17d, P7 109, P8 b0, P9 2ekkxphpp1te4kvupcgmdwsnjepb3jzg, P10 NIL.

I know the error must be from WCF which is referenced by the GUI and have put pretty decent exception trapping in my client code. I really need to know how to capture the execption at the top level in the GUI (have I missed anything?).

Thanks.
QuestionC# directX how to getit up? Pin
mercenary0112-Aug-07 22:58
mercenary0112-Aug-07 22:58 
AnswerRe: C# directX how to getit up? Pin
stancrm12-Aug-07 23:09
stancrm12-Aug-07 23:09 
AnswerRe: C# directX how to getit up? Pin
Talal Sultan12-Aug-07 23:11
Talal Sultan12-Aug-07 23:11 
QuestionUPnP AV Client in C# Pin
N-O-R-B-E-R-T12-Aug-07 22:37
N-O-R-B-E-R-T12-Aug-07 22:37 
AnswerRe: UPnP AV Client in C# Pin
leppie12-Aug-07 23:39
leppie12-Aug-07 23:39 
AnswerRe: UPnP AV Client in C# Pin
leppie12-Aug-07 23:40
leppie12-Aug-07 23:40 
Questionhow to setup C# TCPClient timeout Pin
George_George12-Aug-07 22:36
George_George12-Aug-07 22:36 
QuestionConnection to SQL ! Pin
mrkeivan12-Aug-07 21:59
mrkeivan12-Aug-07 21:59 
AnswerRe: Connection to SQL ! Pin
Giorgi Dalakishvili12-Aug-07 22:09
mentorGiorgi Dalakishvili12-Aug-07 22:09 
Questionvertical align in richtextbox Pin
Cuciu12-Aug-07 21:38
Cuciu12-Aug-07 21:38 
Questionc# - Painting problem Pin
T.D.Prasad12-Aug-07 21:27
T.D.Prasad12-Aug-07 21:27 
AnswerRe: c# - Painting problem Pin
Albu Marius12-Aug-07 22:31
Albu Marius12-Aug-07 22:31 
AnswerRe: c# - Painting problem Pin
Cuciu12-Aug-07 22:42
Cuciu12-Aug-07 22:42 
QuestionRe: c# - Painting problem Pin
T.D.Prasad12-Aug-07 23:51
T.D.Prasad12-Aug-07 23:51 
AnswerRe: c# - Painting problem Pin
Christian Graus13-Aug-07 0:31
protectorChristian Graus13-Aug-07 0:31 
AnswerRe: c# - Painting problem Pin
Christian Graus12-Aug-07 23:52
protectorChristian Graus12-Aug-07 23:52 
QuestionReading Numeric and AlphaNumeric Values from Excel Pin
meeram39512-Aug-07 20:10
meeram39512-Aug-07 20:10 

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.