Click here to Skip to main content
15,915,733 members
Home / Discussions / C#
   

C#

 
GeneralRe: how add new voices to the windows menu Pin
Sasuko16-Feb-05 6:29
Sasuko16-Feb-05 6:29 
GeneralRe: how add new voices to the windows menu Pin
Judah Gabriel Himango16-Feb-05 6:44
sponsorJudah Gabriel Himango16-Feb-05 6:44 
GeneralRe: how add new voices to the windows menu Pin
Sasuko16-Feb-05 8:14
Sasuko16-Feb-05 8:14 
GeneralRe: how add new voices to the windows menu Pin
Judah Gabriel Himango16-Feb-05 8:29
sponsorJudah Gabriel Himango16-Feb-05 8:29 
GeneralRe: how add new voices to the windows menu Pin
Sasuko16-Feb-05 10:15
Sasuko16-Feb-05 10:15 
GeneralRe: how add new voices to the windows menu Pin
Judah Gabriel Himango16-Feb-05 10:44
sponsorJudah Gabriel Himango16-Feb-05 10:44 
GeneralRe: how add new voices to the windows menu Pin
Sasuko16-Feb-05 10:51
Sasuko16-Feb-05 10:51 
GeneralProblems in handling shutdown/logoff event in windows forms application Pin
sachin.gera16-Feb-05 1:43
sachin.gera16-Feb-05 1:43 
I am not able to handle the shutdown event in my Windows Form Application. I tried writing an event handler for the shutdown event using session ending event handler provided in .NET. The code snippet for this is as follows. When such an event is fired this function doesn't get called.
private void ShutDown(Object sender, SessionEndingEventArgs e)

{

if (e.Reason == SessionEndReasons.Logoff || e.Reason == SessionEndReasons.SystemShutdown)

{

if (File.Exists(timeSheetFile))

{

if(DialogResult.Yes == MessageBox.Show("My application", "Do you want to do complete some task.", MessageBoxButtons.YesNo))

e.Cancel = true;

else

e.Cancel = false;

}

}

}

Instead a message box appears which displays "The application failed to initialize because the window station is shutting down".


Sachin Gera
GeneralRe: Problems in handling shutdown/logoff event in windows forms application Pin
Stefan Troschuetz16-Feb-05 2:23
Stefan Troschuetz16-Feb-05 2:23 
Generalproblems with installation Pin
16-Feb-05 1:00
suss16-Feb-05 1:00 
GeneralMonitor all key press! Pin
bmk_shepherd16-Feb-05 0:29
bmk_shepherd16-Feb-05 0:29 
GeneralRe: Monitor all key press! Pin
Stefan Troschuetz16-Feb-05 1:21
Stefan Troschuetz16-Feb-05 1:21 
GeneralRe: Monitor all key press! Pin
bmk_shepherd19-Feb-05 15:14
bmk_shepherd19-Feb-05 15:14 
GeneralMuliple Instance warning Pin
Adnan Siddiqi16-Feb-05 0:23
Adnan Siddiqi16-Feb-05 0:23 
GeneralUnable to check INT values with == Pin
Seraphin15-Feb-05 23:04
Seraphin15-Feb-05 23:04 
GeneralRe: Unable to check INT values with == Pin
Stefan Troschuetz15-Feb-05 23:20
Stefan Troschuetz15-Feb-05 23:20 
GeneralRe: Unable to check INT values with == Pin
Kodanda Pani15-Feb-05 23:41
Kodanda Pani15-Feb-05 23:41 
QuestionHow to Customize my DataGrid Pin
innocent7315-Feb-05 21:33
innocent7315-Feb-05 21:33 
QuestionWindows Shell Integration? Pin
Anonymous15-Feb-05 21:03
Anonymous15-Feb-05 21:03 
GeneralC# networking. text sent over network transforms Pin
Member 154579515-Feb-05 20:51
Member 154579515-Feb-05 20:51 
GeneralRe: C# networking. text sent over network transforms Pin
Colin Angus Mackay16-Feb-05 0:05
Colin Angus Mackay16-Feb-05 0:05 
GeneralRe: C# networking. text sent over network transforms Pin
Member 154579516-Feb-05 14:57
Member 154579516-Feb-05 14:57 
QuestionHow to open all the pages in .tif files? Pin
Deepa3015-Feb-05 19:17
Deepa3015-Feb-05 19:17 
AnswerRe: How to open all the pages in .tif files? Pin
Gavin Jeffrey15-Feb-05 20:21
Gavin Jeffrey15-Feb-05 20:21 
GeneralRe: How to open all the pages in .tif files? Pin
Deepa3015-Feb-05 23:44
Deepa3015-Feb-05 23:44 

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.