Click here to Skip to main content
15,918,404 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Web Access Failure Error When Creating a new ASP.NET Web APP Pin
vister7227-Feb-04 12:30
vister7227-Feb-04 12:30 
GeneralTransferring arrays from C DLL's to VB.Net Pin
mef52627-Feb-04 7:59
mef52627-Feb-04 7:59 
GeneralListing shares and type Pin
davidhog27-Feb-04 5:47
davidhog27-Feb-04 5:47 
GeneralRe: Listing shares and type Pin
apferreira27-Feb-04 6:37
apferreira27-Feb-04 6:37 
GeneralCredtits screen?? VB6.0!!!! Pin
erikkloeze27-Feb-04 4:07
erikkloeze27-Feb-04 4:07 
GeneralRe: Credtits screen?? VB6.0!!!! Pin
Nadroj27-Feb-04 7:57
Nadroj27-Feb-04 7:57 
Generalcatching exceptions thrown from a thread Pin
Moraleitor27-Feb-04 2:14
Moraleitor27-Feb-04 2:14 
GeneralRe: catching exceptions thrown from a thread Pin
Dave Kreskowiak27-Feb-04 3:39
mveDave Kreskowiak27-Feb-04 3:39 
How you have this setup won't work like you want. Your code, as it is now, will only catch exceptions thrown during the Thread setup and start. It won't catch exceptions that happen inside that new thread.

Exceptions caught with Try/Catch blocks won't cross thread boundries. Since the code on your main thread can be anywhere when an exception on a second thread is thrown, there is no way to capture an exception using a Try/Catch block. An alternative method for capturing exceptions on seperate threads is to have your threaded code in a class that can raise events. Then, if an exception does occur, try/catch blocks in your threaded code can raise an error event and send the exception data back to your main code through an event handler. That way, all of your error handling code for your threaded component can he handled in one place.


RageInTheMachine9532
GeneralPLEASE PLEASE PLEASE HELP, Embedding images and icons. Pin
Namboy8227-Feb-04 1:14
Namboy8227-Feb-04 1:14 
GeneralRe: PLEASE PLEASE PLEASE HELP, Embedding images and icons. Pin
Dave Kreskowiak27-Feb-04 3:49
mveDave Kreskowiak27-Feb-04 3:49 
General.NET and EXCEL XP Pin
Raptor Pete27-Feb-04 1:00
Raptor Pete27-Feb-04 1:00 
GeneralRe: .NET and EXCEL XP Pin
John Kuhn27-Feb-04 5:35
John Kuhn27-Feb-04 5:35 
GeneralRe: .NET and EXCEL XP Pin
CSHighCommand13-May-04 5:29
CSHighCommand13-May-04 5:29 
GeneralDataSet Clear() performance problem Pin
Dan Bunea27-Feb-04 0:58
Dan Bunea27-Feb-04 0:58 
GeneralHas anyone deployed Vb.net Application using MDAC then plz help!!! Pin
Het210926-Feb-04 19:27
Het210926-Feb-04 19:27 
Generalobject procedures Pin
jlancaster26-Feb-04 16:00
jlancaster26-Feb-04 16:00 
GeneralRe: object procedures Pin
Dave Kreskowiak26-Feb-04 16:35
mveDave Kreskowiak26-Feb-04 16:35 
QuestionSub Main? Pin
Anonymous26-Feb-04 10:19
Anonymous26-Feb-04 10:19 
AnswerRe: Sub Main? Pin
Charlie Williams26-Feb-04 10:45
Charlie Williams26-Feb-04 10:45 
AnswerRe: Sub Main? Pin
John Kuhn26-Feb-04 16:04
John Kuhn26-Feb-04 16:04 
GeneralRe: Sub Main? Pin
Dave Kreskowiak26-Feb-04 16:26
mveDave Kreskowiak26-Feb-04 16:26 
GeneralRe: Sub Main? Pin
John Kuhn26-Feb-04 17:52
John Kuhn26-Feb-04 17:52 
GeneralRe: Sub Main? Pin
Dave Kreskowiak27-Feb-04 3:22
mveDave Kreskowiak27-Feb-04 3:22 
AnswerRe: Sub Main? Pin
gpa20001-Mar-04 20:37
gpa20001-Mar-04 20:37 
GeneralMultiple Monitors Pin
Robert Gronenthal26-Feb-04 3:18
Robert Gronenthal26-Feb-04 3:18 

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.