No announcements
Found 2917878 threads
-
0 Votes
Don't catch exceptions from a form opened in diferent Thread (VB.Net 2015)
showdialog (a modal form which blocks every interaction), why? If it is a simple second form to show a message then ...Answered | 9 Replies | 656 Views | Created by CM16 - Monday, August 26, 2019 12:19 PM | Last reply by CM16 - Wednesday, August 28, 2019 12:16 PM -
0 Votes
Running a form on a diferent thread
Now can i run my from in a other diferent thread from main Main from running ....after i want do: new myform().Show();but ...Answered | 8 Replies | 3172 Views | Created by knive1 - Sunday, September 28, 2008 12:22 PM | Last reply by knive1 - Sunday, September 28, 2008 10:45 PM -
0 Votes
Catching thread+form exceptions
Just found how to make sure the Catch clause is always called. In the unhandled exception of the form thread, just rethrow the exception, then the Catch ...Answered | 4 Replies | 790 Views | Created by DirectCast - Friday, January 24, 2014 8:56 PM | Last reply by DirectCast - Wednesday, January 29, 2014 3:28 PM -
1 Votes
Try Catch Exceptions
Hi StevenC1976, Catch ex as Exception will catch any possible error that occur in the try block. But if you need to handle the ...Answered | 2 Replies | 2697 Views | Created by StevenC1976 - Wednesday, June 10, 2009 10:57 AM | Last reply by StevenC1976 - Wednesday, June 10, 2009 11:12 AM -
0 Votes
Trap native thread exceptions
What technique is used to catch unhandled native thread exceptions called from managed code? Our managed C# app pinvokes and starts threads ...Answered | 1 Replies | 4272 Views | Created by kweel - Wednesday, June 11, 2008 1:49 PM | Last reply by nobugz - Wednesday, June 11, 2008 4:13 PM -
0 Votes
Catch All Dsl Exceptions
Actually no. What I really wanted is a place or method to override where I can catch all exceptions that can occur at runtime. Just ...Answered | 3 Replies | 3529 Views | Created by BCoelho - Monday, June 4, 2007 4:24 PM | Last reply by DuncanP - Monday, June 11, 2007 8:54 PM -
4 Votes
How to catch exceptions?
is it okay to use a catch all in some cases? Thanks much for your help and insight. Olaf Here is the list of ...Answered | 5 Replies | 1671 Views | Created by Olaf Meding - Monday, December 3, 2012 10:24 PM | Last reply by Pieter Geerkens - Tuesday, December 4, 2012 4:21 PM -
1 Votes
Try/Catch - "Don't catch exceptions that you're not willing to deal with"
A few weeks back in reply to a thread, I said then that it's sometimes worse to use a Try/Catch when there's nothing in the ... -
0 Votes
Exceptions catch?
the code you want, you're in for a world of hurt. I've never known any program that does that, and it sounds like to wrong solution to a problem to me.Answered | 19 Replies | 2418 Views | Created by YakirCohen - Friday, September 2, 2011 10:33 PM | Last reply by Rudedog2 - Saturday, September 17, 2011 9:35 PM -
0 Votes
Catch exception from different thread
is, the exception raised on the GUI is not caught by this try-catch-block. Obviously, that's because the exception is raised on a different thread (the GUI ... -
0 Votes
Can't catch all Exceptions
I tried some and it seems as when you are in debug it will run the UnhandledExceptionEventHandler code and then break on the exception. I don't get it so hide any unhandled ...Unanswered | 3 Replies | 2854 Views | Created by Cepheus77 - Tuesday, April 25, 2006 11:29 AM | Last reply by Andreas Johansson - Tuesday, April 25, 2006 7:11 PM -
0 Votes
try catch throw in thread
Each thread has its own exception chain; you can't catch exceptions thrown in one thread from another. If you want to propagate ...Answered | 7 Replies | 5491 Views | Created by weinerschizel - Wednesday, May 13, 2009 1:28 PM | Last reply by weinerschizel - Thursday, May 21, 2009 8:49 PM -
0 Votes
How to catch exceptions
showing me the current version of the code but was actually running an older version, due to a bug in the IDE. When I used the "rebuild" option I lost the current version ...Answered | 5 Replies | 2774 Views | Created by jal2 - Monday, April 25, 2011 12:55 PM | Last reply by jal2 - Monday, April 25, 2011 1:21 PM -
0 Votes
Catch unhandled exceptions in child processes
Does anyone know of any way to catch unhandled exceptions in a child process created by your application using a System.Diagnostics.Process? My ...Answered | 2 Replies | 6847 Views | Created by danielb - Monday, August 1, 2005 10:58 AM | Last reply by danielb - Tuesday, August 2, 2005 9:11 AM -
0 Votes
catch sql exceptions in orchestration
Mohit's below option worked for me, i did what mohit said and i rethrow the exception from catch block so it will accept by the outer main exception habdler. but ...Answered | 13 Replies | 2390 Views | Created by Amit C More - Tuesday, January 15, 2013 7:15 AM | Last reply by Mohit Kumar Gupta - Tuesday, January 15, 2013 1:47 PM -
0 Votes
Catch unhandled exceptions WPF
I'm trying to catch unhandled exceptions in my WPF App. I tried the following code but it did not work, I don't know why? I'm using Threads and Tasks ...Proposed | 1 Replies | 724 Views | Created by Mrweb - Wednesday, May 23, 2018 11:08 AM | Last reply by Franklin Chen - Thursday, May 24, 2018 1:40 AM -
0 Votes
Catch all Exceptions
Well, the best way to be able to catch every exception in your application is by running it in debug mode via Visual Studio. When it runs into a(n) exception, it ...Answered | 7 Replies | 3086 Views | Created by PublicError - Saturday, July 22, 2006 10:47 AM | Last reply by PublicError - Saturday, July 22, 2006 3:42 PM -
2 Votes
exceptions (throw and catch)
to throw entities of type Class and we instead threw string, but visual studio 2012 and 2015 run this code normally and display the "Caught!" statement located ...Answered | 16 Replies | 848 Views | Created by Mohamed EL Tayr - Monday, July 27, 2015 5:20 PM | Last reply by vcangel - Saturday, August 1, 2015 2:31 PM -
1 Votes
How to Catch All Exceptions?
, not that sure. You cannot trap SEH exceptions that are raised in a thread that was started by unmanaged code. When you catch ...Answered | 4 Replies | 3464 Views | Created by magicalclick - Tuesday, February 17, 2009 7:34 PM | Last reply by magicalclick - Wednesday, February 18, 2009 10:54 PM -
1 Votes
Catch DispatcherUnhandledException from other Thread
-finally in the worker thread. (In general, the catch block should immediately rethrow critical exceptions: OutOfMemoryException, SecurityException, ...Answered | 5 Replies | 18454 Views | Created by Jonas76 - Monday, January 29, 2007 3:09 PM | Last reply by I-DotNET - Tuesday, June 1, 2010 7:34 PM - Items 1 to 20 of 2917878 Next ›
No announcements