From: Asian on 21 Apr 2010 21:38 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/community/en-us/default.mspx?query=skip+password&dg=&cat=en-us-office-powerpoint&lang=en&cr=US&pt=b157e6f3-5af9-48cb-a153-895c1aa220f8&catlist=&dglist=&ptlist=&exp=&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
From: Chirag on 22 Apr 2010 01:33 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" <Asian(a)discussions.microsoft.com> wrote in message news:FD3986D3-A1C4-4EB5-B817-F8A59C6195C8(a)microsoft.com... > 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/community/en-us/default.mspx?query=skip+password&dg=&cat=en-us-office-powerpoint&lang=en&cr=US&pt=b157e6f3-5af9-48cb-a153-895c1aa220f8&catlist=&dglist=&ptlist=&exp=&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
|
Pages: 1 Prev: PPTView fails in Windows7 using Office PowerPoint 2007 Next: VBA to VB.Net code Help |