If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How do I close modal dialog in Power Point 2007 or 2003?
Hello Experts,
I have very similar question with the following one. "Subject: Help: opening password protected powerpoint without user interaction" http://www.microsoft.com/office/comm...xp=&sloc=en-us As John answered in the threads, I tried to resolve it with using timer and sendkeys. But I cannot resolve it perfectly. It sometimes failed because of the dialog seems not always be active (foreground). I used SetForeground and SetWindowPos to make PowerPoint window move Foreground and TOPMOST. But sendkeys doesnot always send the password dialog. I also skip the IRM protected dialog. So I'd like to use same way for both IRM related dialog and Password dialog. And my application will run not only on English UI version of PPPT but also Japanese UI version. Is there any way to close those modal dialog that opened by PowerPoint in the code? My environment: Development env: VS2008 C# with Office PIA (Office2007/2003) Run env: Office2007/2003 on Vista / Win7 My program overview: Console application. Launch PPT, open a ppt file, run slideshow, close the file and Quit PPT. If file is protected, I'd like to skip them. If there is no way to close the dialog, I'd like to quit/Kill PPT even when the modal dialog is opened. Please do help me with any possible ideas, in this regard. Hopefully I could tell you my intention correctly with my poor English. Thanks in advance, Asian |
#2
|
|||
|
|||
How do I close modal dialog in Power Point 2007 or 2003?
You can perhaps use the NoPassword utility from
http://officeone.mvps.org/nopassword/ - it suppresses the password dialog box when password-protected presentations are opened. Effectively, you cannot open password-protected presentations when this utility is running. - Chirag PowerShow - View multiple PowerPoint slide shows simultaneously http://officeone.mvps.org/powershow/powershow.html "Asian" wrote in message ... Hello Experts, I have very similar question with the following one. "Subject: Help: opening password protected powerpoint without user interaction" http://www.microsoft.com/office/comm...xp=&sloc=en-us As John answered in the threads, I tried to resolve it with using timer and sendkeys. But I cannot resolve it perfectly. It sometimes failed because of the dialog seems not always be active (foreground). I used SetForeground and SetWindowPos to make PowerPoint window move Foreground and TOPMOST. But sendkeys doesnot always send the password dialog. I also skip the IRM protected dialog. So I'd like to use same way for both IRM related dialog and Password dialog. And my application will run not only on English UI version of PPPT but also Japanese UI version. Is there any way to close those modal dialog that opened by PowerPoint in the code? My environment: Development env: VS2008 C# with Office PIA (Office2007/2003) Run env: Office2007/2003 on Vista / Win7 My program overview: Console application. Launch PPT, open a ppt file, run slideshow, close the file and Quit PPT. If file is protected, I'd like to skip them. If there is no way to close the dialog, I'd like to quit/Kill PPT even when the modal dialog is opened. Please do help me with any possible ideas, in this regard. Hopefully I could tell you my intention correctly with my poor English. Thanks in advance, Asian |
#3
|
|||
|
|||
How do I close modal dialog in Power Point 2007 or 2003?
Sorry for late reply since I was on long vacation. Thanks a lot for your
answer. I got it. "Chirag" wrote: You can perhaps use the NoPassword utility from http://officeone.mvps.org/nopassword/ - it suppresses the password dialog box when password-protected presentations are opened. Effectively, you cannot open password-protected presentations when this utility is running. - Chirag PowerShow - View multiple PowerPoint slide shows simultaneously http://officeone.mvps.org/powershow/powershow.html "Asian" wrote in message ... Hello Experts, I have very similar question with the following one. "Subject: Help: opening password protected powerpoint without user interaction" http://www.microsoft.com/office/comm...xp=&sloc=en-us As John answered in the threads, I tried to resolve it with using timer and sendkeys. But I cannot resolve it perfectly. It sometimes failed because of the dialog seems not always be active (foreground). I used SetForeground and SetWindowPos to make PowerPoint window move Foreground and TOPMOST. But sendkeys doesnot always send the password dialog. I also skip the IRM protected dialog. So I'd like to use same way for both IRM related dialog and Password dialog. And my application will run not only on English UI version of PPPT but also Japanese UI version. Is there any way to close those modal dialog that opened by PowerPoint in the code? My environment: Development env: VS2008 C# with Office PIA (Office2007/2003) Run env: Office2007/2003 on Vista / Win7 My program overview: Console application. Launch PPT, open a ppt file, run slideshow, close the file and Quit PPT. If file is protected, I'd like to skip them. If there is no way to close the dialog, I'd like to quit/Kill PPT even when the modal dialog is opened. Please do help me with any possible ideas, in this regard. Hopefully I could tell you my intention correctly with my poor English. Thanks in advance, Asian . |
Thread Tools | |
Display Modes | |
|
|