Click here to Skip to main content
16,006,768 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Threading Problem Pin
pdnet22-Oct-08 1:12
pdnet22-Oct-08 1:12 
AnswerRe: Threading Problem Pin
N a v a n e e t h22-Oct-08 2:26
N a v a n e e t h22-Oct-08 2:26 
Calling Abort is not safe. It generates ThreadAbortException and it is not guaranteed that the thread will stop working. See what MSDN says about this exception


MSDN

When a call is made to the Abort method to destroy a thread, the common language runtime throws a ThreadAbortException. ThreadAbortException is a special exception that can be caught, but it will automatically be raised again at the end of the catch block.


This is the reason why your code is crashing. You should consider some safe methods for aborting your thread. Use a volatile boolean variable and if is set, exit from the thread manually.


GeneralRe: Threading Problem Pin
pdnet22-Oct-08 19:05
pdnet22-Oct-08 19:05 
GeneralRe: Threading Problem Pin
Dave Kreskowiak23-Oct-08 1:57
mveDave Kreskowiak23-Oct-08 1:57 
AnswerRe: Threading Problem Pin
Dave Kreskowiak22-Oct-08 4:55
mveDave Kreskowiak22-Oct-08 4:55 
QuestionProblem With Get More Table Instead of one Table Pin
Saba0221-Oct-08 22:02
Saba0221-Oct-08 22:02 
AnswerRe: Problem With Get More Table Instead of one Table Pin
Guffa21-Oct-08 22:24
Guffa21-Oct-08 22:24 
Questionlinklabel Pin
hitesh.kalra21-Oct-08 20:40
hitesh.kalra21-Oct-08 20:40 
AnswerRe: linklabel Pin
Rupesh Kumar Swami21-Oct-08 21:49
Rupesh Kumar Swami21-Oct-08 21:49 
AnswerRe: linklabel Pin
jzonthemtn22-Oct-08 1:22
jzonthemtn22-Oct-08 1:22 
QuestionUnhandled Exception Pin
Tauseef A21-Oct-08 16:58
Tauseef A21-Oct-08 16:58 
AnswerRe: Unhandled Exception Pin
Colin Angus Mackay21-Oct-08 22:51
Colin Angus Mackay21-Oct-08 22:51 
QuestionText Boxes Print Preview Pin
jagdishg21-Oct-08 9:11
jagdishg21-Oct-08 9:11 
AnswerRe: Text Boxes Print Preview Pin
Dave Kreskowiak21-Oct-08 10:32
mveDave Kreskowiak21-Oct-08 10:32 
GeneralRe: Text Boxes Print Preview Pin
jagdishg21-Oct-08 12:22
jagdishg21-Oct-08 12:22 
GeneralRe: Text Boxes Print Preview Pin
Dave Kreskowiak22-Oct-08 4:49
mveDave Kreskowiak22-Oct-08 4:49 
QuestionNeed advice with WshNetwork PLEASE Pin
Trey549821-Oct-08 8:54
Trey549821-Oct-08 8:54 
AnswerRe: Need advice with WshNetwork PLEASE Pin
Dave Kreskowiak21-Oct-08 10:24
mveDave Kreskowiak21-Oct-08 10:24 
GeneralRe: Need advice with WshNetwork PLEASE Pin
Trey549822-Oct-08 2:04
Trey549822-Oct-08 2:04 
GeneralRe: Need advice with WshNetwork PLEASE Pin
Dave Kreskowiak22-Oct-08 4:34
mveDave Kreskowiak22-Oct-08 4:34 
GeneralRe: Need advice with WshNetwork PLEASE Pin
Trey549822-Oct-08 5:05
Trey549822-Oct-08 5:05 
GeneralRe: Need advice with WshNetwork PLEASE Pin
Dave Kreskowiak22-Oct-08 6:37
mveDave Kreskowiak22-Oct-08 6:37 
QuestionNeed Help on Custom Action Installer Pin
Saseendran Kombath21-Oct-08 8:19
Saseendran Kombath21-Oct-08 8:19 
AnswerRe: Need Help on Custom Action Installer Pin
Dave Kreskowiak21-Oct-08 8:29
mveDave Kreskowiak21-Oct-08 8:29 
GeneralRe: Need Help on Custom Action Installer Pin
Saseendran Kombath21-Oct-08 23:34
Saseendran Kombath21-Oct-08 23:34 

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.