Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
QuestionSyntax Pin
Md. Marufuzzaman7-Oct-09 3:53
professionalMd. Marufuzzaman7-Oct-09 3:53 
AnswerRe: Syntax [modified] Pin
EliottA7-Oct-09 3:58
EliottA7-Oct-09 3:58 
GeneralRe: Syntax Pin
Md. Marufuzzaman7-Oct-09 4:51
professionalMd. Marufuzzaman7-Oct-09 4:51 
AnswerRe: Syntax Pin
Henry Minute7-Oct-09 4:04
Henry Minute7-Oct-09 4:04 
GeneralRe: Syntax Pin
Md. Marufuzzaman7-Oct-09 8:11
professionalMd. Marufuzzaman7-Oct-09 8:11 
Question[Message Deleted] Pin
arkiboys7-Oct-09 3:42
arkiboys7-Oct-09 3:42 
AnswerRe: execute ssis from asp.net Pin
EliottA7-Oct-09 3:43
EliottA7-Oct-09 3:43 
QuestionIs it safe to use Process.GetCurrentProcess().Kill() ? Pin
ramz_g7-Oct-09 3:33
ramz_g7-Oct-09 3:33 
Hi,
I have developed an application in C# .Net... My requirement is that the application should clean up all the resources that it used and exit when I click on the "Exit" option that I have provided.. But sometimes, when I try to exit the application using "Application.Exit()", the application fails to exit and continues to be listed on the Windows processes in the task manager. I would like to know if I can use Process.GetCurrentProcess().Kill() instead of Application.Exit(). If not, please suggest on what I can do to have the application exit when I want it to...

Thanks,
ramz_g
AnswerRe: Is it safe to use Process.GetCurrentProcess().Kill() ? [modified] Pin
Nagy Vilmos7-Oct-09 3:48
professionalNagy Vilmos7-Oct-09 3:48 
JokeRe: Is it safe to use Process.GetCurrentProcess().Kill() ? Pin
Luc Pattyn7-Oct-09 5:00
sitebuilderLuc Pattyn7-Oct-09 5:00 
AnswerRe: Is it safe to use Process.GetCurrentProcess().Kill() ? Pin
EliottA7-Oct-09 3:59
EliottA7-Oct-09 3:59 
AnswerRe: Is it safe to use Process.GetCurrentProcess().Kill() ? Pin
Saksida Bojan7-Oct-09 4:18
Saksida Bojan7-Oct-09 4:18 
AnswerRe: Is it safe to use Process.GetCurrentProcess().Kill() ? Pin
PIEBALDconsult7-Oct-09 4:32
mvePIEBALDconsult7-Oct-09 4:32 
AnswerRe: Is it safe to use Process.GetCurrentProcess().Kill() ? Pin
ramz_g7-Oct-09 5:28
ramz_g7-Oct-09 5:28 
QuestionAscertain table bound to textBox Pin
kanchoette7-Oct-09 3:28
kanchoette7-Oct-09 3:28 
AnswerRe: Ascertain table bound to textBox Pin
Henry Minute7-Oct-09 4:13
Henry Minute7-Oct-09 4:13 
GeneralRe: Ascertain table bound to textBox Pin
kanchoette7-Oct-09 10:12
kanchoette7-Oct-09 10:12 
GeneralRe: Ascertain table bound to textBox Pin
Henry Minute7-Oct-09 10:52
Henry Minute7-Oct-09 10:52 
QuestionGetting text from a document Pin
Nagy Vilmos7-Oct-09 3:12
professionalNagy Vilmos7-Oct-09 3:12 
AnswerRe: Getting text from a document Pin
Giorgi Dalakishvili7-Oct-09 3:31
mentorGiorgi Dalakishvili7-Oct-09 3:31 
GeneralRe: Getting text from a document Pin
Nagy Vilmos7-Oct-09 3:45
professionalNagy Vilmos7-Oct-09 3:45 
GeneralRe: Getting text from a document Pin
Giorgi Dalakishvili7-Oct-09 4:02
mentorGiorgi Dalakishvili7-Oct-09 4:02 
AnswerRe: Getting text from a document Pin
EliottA7-Oct-09 3:33
EliottA7-Oct-09 3:33 
Questionform 1 to form 2 Pin
ghelhei7-Oct-09 3:08
ghelhei7-Oct-09 3:08 
AnswerRe: form 1 to form 2 Pin
J4amieC7-Oct-09 3:14
J4amieC7-Oct-09 3:14 

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.