Click here to Skip to main content
15,888,146 members
Home / Discussions / C#
   

C#

 
GeneralRe: Disabling a button on one form from another. Pin
DaveyM6914-Aug-09 1:39
professionalDaveyM6914-Aug-09 1:39 
GeneralRe: Disabling a button on one form from another. Pin
Hristo-Bojilov14-Aug-09 2:01
Hristo-Bojilov14-Aug-09 2:01 
QuestionDelegateSerializationHolder is not permitted to be deserialized at this security level Pin
Nigel Mackay14-Aug-09 0:08
Nigel Mackay14-Aug-09 0:08 
AnswerRe: DelegateSerializationHolder is not permitted to be deserialized at this security level Pin
Hristo-Bojilov14-Aug-09 7:46
Hristo-Bojilov14-Aug-09 7:46 
GeneralRe: DelegateSerializationHolder is not permitted to be deserialized at this security level Pin
Nigel Mackay14-Aug-09 21:27
Nigel Mackay14-Aug-09 21:27 
Question'Mirror' ListView control Pin
kanchoette13-Aug-09 23:48
kanchoette13-Aug-09 23:48 
AnswerRe: 'Mirror' ListView control Pin
musefan14-Aug-09 2:33
musefan14-Aug-09 2:33 
QuestionCatching an Exception Pin
stancrm13-Aug-09 23:47
stancrm13-Aug-09 23:47 
Hello. This is my problem:
try
{
  Application.Run(new Form1());
}
catch(Exception ex)
{
  MessageBox.Show(ex.Message);
}

In Debug-Mode (F5), if exception is thrown, then it goes to catch block.
In Release-Mode (Ctlr-F5), if exception is thrown, then it shows "unexpected exception" from windows. Catch block is not called.

How can I catch unexpected exception in Release-Mode ?

Thanks.
AnswerRe: Catching an Exception Pin
Eddy Vluggen14-Aug-09 0:07
professionalEddy Vluggen14-Aug-09 0:07 
GeneralRe: Catching an Exception Pin
stancrm14-Aug-09 1:15
stancrm14-Aug-09 1:15 
QuestionClose Firefox with C# Pin
nhqlbaislwfiikqraqnm13-Aug-09 22:35
nhqlbaislwfiikqraqnm13-Aug-09 22:35 
AnswerRe: Close Firefox with C# Pin
Eddy Vluggen13-Aug-09 22:39
professionalEddy Vluggen13-Aug-09 22:39 
AnswerRe: Close Firefox with C# Pin
Rajesh R Subramanian13-Aug-09 22:42
professionalRajesh R Subramanian13-Aug-09 22:42 
GeneralRe: Close Firefox with C# Pin
nhqlbaislwfiikqraqnm13-Aug-09 22:51
nhqlbaislwfiikqraqnm13-Aug-09 22:51 
GeneralRe: Close Firefox with C# Pin
0x3c013-Aug-09 22:54
0x3c013-Aug-09 22:54 
GeneralRe: Close Firefox with C# Pin
nhqlbaislwfiikqraqnm13-Aug-09 22:59
nhqlbaislwfiikqraqnm13-Aug-09 22:59 
GeneralRe: Close Firefox with C# Pin
Eddy Vluggen13-Aug-09 23:14
professionalEddy Vluggen13-Aug-09 23:14 
GeneralRe: Close Firefox with C# Pin
nhqlbaislwfiikqraqnm13-Aug-09 23:41
nhqlbaislwfiikqraqnm13-Aug-09 23:41 
GeneralRe: Close Firefox with C# Pin
Eddy Vluggen13-Aug-09 23:55
professionalEddy Vluggen13-Aug-09 23:55 
GeneralRe: Close Firefox with C# Pin
Pete O'Hanlon14-Aug-09 1:10
mvePete O'Hanlon14-Aug-09 1:10 
GeneralRe: Close Firefox with C# Pin
0x3c014-Aug-09 1:31
0x3c014-Aug-09 1:31 
GeneralRe: Close Firefox with C# Pin
Pete O'Hanlon14-Aug-09 1:47
mvePete O'Hanlon14-Aug-09 1:47 
GeneralRe: Close Firefox with C# Pin
0x3c014-Aug-09 2:01
0x3c014-Aug-09 2:01 
GeneralRe: Close Firefox with C# Pin
Pete O'Hanlon14-Aug-09 2:28
mvePete O'Hanlon14-Aug-09 2:28 
GeneralRe: Close Firefox with C# Pin
PRMan!!!16-Oct-09 12:12
PRMan!!!16-Oct-09 12:12 

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.