A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I close modal dialog in Power Point 2007 or 2003?



 
 
Thread Tools Display Modes
  #1  
Old April 22nd, 2010, 02:38 AM posted to microsoft.public.powerpoint
Asian
external usenet poster
 
Posts: 5
Default 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  
Old April 22nd, 2010, 06:33 AM posted to microsoft.public.powerpoint
Chirag
external usenet poster
 
Posts: 595
Default 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  
Old May 27th, 2010, 09:47 PM posted to microsoft.public.powerpoint
Asian
external usenet poster
 
Posts: 5
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.