Click here to Skip to main content
15,906,645 members
Home / Discussions / C#
   

C#

 
GeneralRe: Font to LOGFONT ? Pin
azusakt11-May-04 16:55
azusakt11-May-04 16:55 
GeneralRe: Font to LOGFONT ? Pin
Heath Stewart12-May-04 2:45
protectorHeath Stewart12-May-04 2:45 
GeneralRe: Font to LOGFONT ? Pin
azusakt11-May-04 22:41
azusakt11-May-04 22:41 
GeneralRe: Font to LOGFONT ? Pin
azusakt12-May-04 15:20
azusakt12-May-04 15:20 
GeneralSockets Pin
bouli10-May-04 22:58
bouli10-May-04 22:58 
GeneralRe: Sockets Pin
Heath Stewart11-May-04 3:44
protectorHeath Stewart11-May-04 3:44 
GeneralQuartz.dll Pin
MeterMan10-May-04 22:51
MeterMan10-May-04 22:51 
GeneralRe: Quartz.dll Pin
Heath Stewart11-May-04 3:46
protectorHeath Stewart11-May-04 3:46 
Aborting your thread is not a good idea. You should terminate it gracefully when possible, whether that's through some static field you poll or some other mechanism.

The solution is more simple, though. When you create your thread, set Thread.IsBackground to true before you call Start. This won't prevent the thread from executing like a foreground thread, which instance of the Thread class are by default.

 

Microsoft MVP, Visual C#
My Articles
GeneralString question Pin
pankajdaga10-May-04 22:26
pankajdaga10-May-04 22:26 
GeneralRe: String question Pin
Kannan Kalyanaraman10-May-04 23:07
Kannan Kalyanaraman10-May-04 23:07 
Generalthanks! Pin
pankajdaga10-May-04 23:22
pankajdaga10-May-04 23:22 
GeneralGet The Time When The Program Execute Pin
DucLinh10-May-04 21:27
DucLinh10-May-04 21:27 
GeneralRe: Get The Time When The Program Execute Pin
Mazdak10-May-04 21:41
Mazdak10-May-04 21:41 
GeneralRe: Get The Time When The Program Execute Pin
DucLinh10-May-04 22:09
DucLinh10-May-04 22:09 
GeneralRe: Get The Time When The Program Execute Pin
Heath Stewart11-May-04 3:16
protectorHeath Stewart11-May-04 3:16 
Generalpopup a dialog when change drop down list selection Pin
davidlyy10-May-04 17:29
davidlyy10-May-04 17:29 
GeneralRe: popup a dialog when change drop down list selection Pin
OmegaSupreme11-May-04 0:06
OmegaSupreme11-May-04 0:06 
GeneralRe: popup a dialog when change drop down list selection Pin
Heath Stewart11-May-04 3:51
protectorHeath Stewart11-May-04 3:51 
GeneralRe: popup a dialog when change drop down list selection Pin
davidlyy11-May-04 16:46
davidlyy11-May-04 16:46 
GeneralRe: popup a dialog when change drop down list selection Pin
Heath Stewart12-May-04 2:41
protectorHeath Stewart12-May-04 2:41 
GeneralRe: popup a dialog when change drop down list selection Pin
davidlyy12-May-04 20:09
davidlyy12-May-04 20:09 
GeneralRe: popup a dialog when change drop down list selection Pin
Heath Stewart13-May-04 2:26
protectorHeath Stewart13-May-04 2:26 
Generalsave file dialog box in web application Pin
Marveyles10-May-04 15:48
Marveyles10-May-04 15:48 
GeneralRe: save file dialog box in web application Pin
TigerNinja_10-May-04 18:47
TigerNinja_10-May-04 18:47 
GeneralRe: save file dialog box in web application Pin
Marveyles10-May-04 18:57
Marveyles10-May-04 18:57 

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.