Click here to Skip to main content
15,914,160 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Highlight only Searched keywords in a Datagrid Pin
Dave Kreskowiak31-Mar-11 10:06
mveDave Kreskowiak31-Mar-11 10:06 
QuestionDataView.Select Syntax Pin
Defender-NF30-Mar-11 8:43
Defender-NF30-Mar-11 8:43 
AnswerRe: DataView.Select Syntax Pin
Pete O'Hanlon30-Mar-11 9:05
mvePete O'Hanlon30-Mar-11 9:05 
GeneralRe: DataView.Select Syntax Pin
Defender-NF30-Mar-11 10:12
Defender-NF30-Mar-11 10:12 
AnswerRe: DataView.Select Syntax Pin
Prasanta_Prince14-Apr-11 0:15
Prasanta_Prince14-Apr-11 0:15 
QuestionSimilar property in WPF Control.AccessibleRole Pin
Pranit Kothari29-Mar-11 23:42
Pranit Kothari29-Mar-11 23:42 
AnswerRe: Similar property in WPF Control.AccessibleRole Pin
Pete O'Hanlon30-Mar-11 0:08
mvePete O'Hanlon30-Mar-11 0:08 
QuestionNeed to kill thread when application is closed Pin
Amit Sk Sharma29-Mar-11 0:40
Amit Sk Sharma29-Mar-11 0:40 
HI,

My Scenario is:
I have two threads in windows application. one performs action on database and second thread collects updated info and displays it on form in parallel (somewhat like progress bar).
on completion of first thread, I close second thread and flow continues further.

My Issue is:
Whenever I close application in between process(by clicking [X] on top right or Alt+f4 etc.), threads and process both should get terminated but actually my application still remains there in Task Mgr process list and threads continue their execution.

Please let me know how to terminate threads and process explicitly. I made RnD on google and applied some of work-around but in vain.
With Thanks & Regards
Amit Sk Sharma

AnswerRe: Need to kill thread when application is closed Pin
Eddy Vluggen29-Mar-11 0:49
professionalEddy Vluggen29-Mar-11 0:49 
GeneralRe: Need to kill thread when application is closed Pin
Amit Sk Sharma29-Mar-11 2:12
Amit Sk Sharma29-Mar-11 2:12 
GeneralRe: Need to kill thread when application is closed Pin
Eddy Vluggen29-Mar-11 8:54
professionalEddy Vluggen29-Mar-11 8:54 
AnswerRe: Need to kill thread when application is closed Pin
Luc Pattyn29-Mar-11 1:10
sitebuilderLuc Pattyn29-Mar-11 1:10 
GeneralRe: Need to kill thread when application is closed Pin
Amit Sk Sharma29-Mar-11 2:22
Amit Sk Sharma29-Mar-11 2:22 
GeneralRe: Need to kill thread when application is closed Pin
Luc Pattyn29-Mar-11 2:24
sitebuilderLuc Pattyn29-Mar-11 2:24 
QuestionLoad Report Failed is coming if i run Windows application exe in Windows 7 OS but it is working fine in Windows XP [modified] Pin
sr15928-Mar-11 23:17
sr15928-Mar-11 23:17 
AnswerRe: Load Report Failed is coming in Windows application in Windows 7 OS but it is working fine in Windows XP Pin
Dave Kreskowiak29-Mar-11 2:00
mveDave Kreskowiak29-Mar-11 2:00 
GeneralRe: Load Report Failed is coming in Windows application in Windows 7 OS but it is working fine in Windows XP Pin
sr15929-Mar-11 2:47
sr15929-Mar-11 2:47 
GeneralRe: Load Report Failed is coming in Windows application in Windows 7 OS but it is working fine in Windows XP Pin
Dave Kreskowiak29-Mar-11 12:26
mveDave Kreskowiak29-Mar-11 12:26 
AnswerRe: Load Report Failed is coming if i run Windows application exe in Windows 7 OS but it is working fine in Windows XP Pin
Bernhard Hiller31-Mar-11 22:44
Bernhard Hiller31-Mar-11 22:44 
QuestionSlow property initialization and thread safety Pin
Bernhard Hiller27-Mar-11 20:43
Bernhard Hiller27-Mar-11 20:43 
AnswerRe: Slow property initialization and thread safety Pin
Luc Pattyn27-Mar-11 22:48
sitebuilderLuc Pattyn27-Mar-11 22:48 
GeneralRe: Slow property initialization and thread safety Pin
Bernhard Hiller28-Mar-11 20:14
Bernhard Hiller28-Mar-11 20:14 
GeneralRe: Slow property initialization and thread safety Pin
Luc Pattyn28-Mar-11 22:05
sitebuilderLuc Pattyn28-Mar-11 22:05 
AnswerRe: Slow property initialization and thread safety Pin
davidnz28-Mar-11 0:34
davidnz28-Mar-11 0:34 
GeneralRe: Slow property initialization and thread safety [modified] Pin
Not Active28-Mar-11 18:13
mentorNot Active28-Mar-11 18:13 

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.