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

C#

 
GeneralRe: Accessing Session data outside webmethod Pin
AndreFratelli13-Sep-09 10:57
AndreFratelli13-Sep-09 10:57 
QuestionC# .NET Best Approaches...Newbie Help... Pin
thiago barbedo12-Sep-09 14:15
thiago barbedo12-Sep-09 14:15 
AnswerRe: C# .NET Best Approaches...Newbie Help... Pin
PIEBALDconsult12-Sep-09 20:19
mvePIEBALDconsult12-Sep-09 20:19 
GeneralRe: C# .NET Best Approaches...Newbie Help... Pin
thiago barbedo13-Sep-09 5:49
thiago barbedo13-Sep-09 5:49 
QuestionTrapping a Windows Dialog Pin
Damian McDonald12-Sep-09 13:03
Damian McDonald12-Sep-09 13:03 
AnswerRe: Trapping a Windows Dialog Pin
Abhishek Sur12-Sep-09 13:37
professionalAbhishek Sur12-Sep-09 13:37 
AnswerRe: Trapping a Windows Dialog Pin
Luc Pattyn12-Sep-09 13:50
sitebuilderLuc Pattyn12-Sep-09 13:50 
GeneralRe: Trapping a Windows Dialog Pin
Damian McDonald12-Sep-09 14:17
Damian McDonald12-Sep-09 14:17 
Hi Thanks for the reply. Smile | :)

I am are targeting both Office 2003 and Office 2007.
I have managed a bit of a workaround.
We are giving the user the option to save changes by default of not.

If Save Changes is set we add the following to the SlideShowEnd Event.

CurrentPresentation.Save();

If not we use
CurrentPresentation.Close();
Application.Quit();

This seems to work well although when PowerPoint closes and the changes have not been saved and the show is being run from an open application as opposed to being run from a folder with (Right Click Show) the Save Changes dialog appears. We have managed to get a handle to this Dialog and pass it a "No" key press. The problem is that the dialog still appears for a second with a system beep. Would be nice to handle this more effectively. i.e trap it and action it to stop it appearing.
AnswerRe: Trapping a Windows Dialog Pin
April Fans22-Sep-09 17:29
April Fans22-Sep-09 17:29 
QuestionImplementing security against AD, user level, group level and roles? Pin
Mats Eurén12-Sep-09 12:02
Mats Eurén12-Sep-09 12:02 
AnswerRe: Implementing security against AD, user level, group level and roles? Pin
Abhishek Sur12-Sep-09 12:49
professionalAbhishek Sur12-Sep-09 12:49 
GeneralRe: Implementing security against AD, user level, group level and roles? Pin
Mats Eurén12-Sep-09 21:46
Mats Eurén12-Sep-09 21:46 
AnswerRe: Implementing security against AD, user level, group level and roles? Pin
April Fans22-Sep-09 17:31
April Fans22-Sep-09 17:31 
Questionfile list Pin
kennyhibs12-Sep-09 11:32
kennyhibs12-Sep-09 11:32 
AnswerRe: file list Pin
Luc Pattyn12-Sep-09 12:35
sitebuilderLuc Pattyn12-Sep-09 12:35 
GeneralRe: file list Pin
kennyhibs12-Sep-09 12:55
kennyhibs12-Sep-09 12:55 
GeneralRe: file list Pin
PIEBALDconsult12-Sep-09 12:58
mvePIEBALDconsult12-Sep-09 12:58 
GeneralRe: file list Pin
kennyhibs12-Sep-09 13:14
kennyhibs12-Sep-09 13:14 
GeneralRe: file list Pin
Dave Kreskowiak12-Sep-09 15:05
mveDave Kreskowiak12-Sep-09 15:05 
GeneralRe: file list Pin
Luc Pattyn12-Sep-09 13:39
sitebuilderLuc Pattyn12-Sep-09 13:39 
AnswerRe: file list Pin
Abhishek Sur12-Sep-09 12:46
professionalAbhishek Sur12-Sep-09 12:46 
GeneralRe: file list Pin
kennyhibs12-Sep-09 13:40
kennyhibs12-Sep-09 13:40 
GeneralRe: file list Pin
Luc Pattyn12-Sep-09 13:49
sitebuilderLuc Pattyn12-Sep-09 13:49 
GeneralRe: file list Pin
kennyhibs12-Sep-09 14:06
kennyhibs12-Sep-09 14:06 
GeneralRe: file list Pin
Luc Pattyn12-Sep-09 15:23
sitebuilderLuc Pattyn12-Sep-09 15:23 

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.