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  

Open PPTX at full screen from shellexecute



 
 
Thread Tools Display Modes
  #1  
Old November 17th, 2009, 06:08 PM posted to microsoft.public.powerpoint
alverman
external usenet poster
 
Posts: 2
Default Open PPTX at full screen from shellexecute

I want open a pptx presentation from my VB6 app.
The older version of presentation (ppt) opened with:
x = ShellExecute(hWnd, "Show", C:\pres1.ppt, vbNullString, vbNullString,
SW_SHOWMAXIMIZED)
and appare at full screen.
I have try with pptx file and presentation open in designtime (not a full)

Why ?

What is the correct system to open a pptx with shellexecute in full screen ?

Thanks, Alberto

P.S. Sorry for my english !!
  #2  
Old November 17th, 2009, 07:16 PM posted to microsoft.public.powerpoint
Shyam Pillai
external usenet poster
 
Posts: 622
Default Open PPTX at full screen from shellexecute

What happens if PowerPoint is already running when you execute this command?
Does it work then?

Regards,
Shyam Pillai

Image Importer Wizard
http://skp.mvps.org/iiw.htm


"alverman" wrote in message
...
I want open a pptx presentation from my VB6 app.
The older version of presentation (ppt) opened with:
x = ShellExecute(hWnd, "Show", C:\pres1.ppt, vbNullString, vbNullString,
SW_SHOWMAXIMIZED)
and appare at full screen.
I have try with pptx file and presentation open in designtime (not a full)

Why ?

What is the correct system to open a pptx with shellexecute in full screen
?

Thanks, Alberto

P.S. Sorry for my english !!


  #3  
Old November 17th, 2009, 09:01 PM posted to microsoft.public.powerpoint
alverman
external usenet poster
 
Posts: 2
Default Open PPTX at full screen from shellexecute

What happens if PowerPoint is already running when you execute this command?
Does it work then?


Not know, is not my purpose.
I am using that command I open the executable associated with the ppt
extension but does not work the same way with pptx files.
If I rename the pptx files in ppt everything works fine but I would not have
to rename the file each time ppt
  #4  
Old November 17th, 2009, 11:04 PM posted to microsoft.public.powerpoint
Matti Vuori
external usenet poster
 
Posts: 69
Default Open PPTX at full screen from shellexecute

=?Utf-8?B?YWx2ZXJtYW4=?= wrote in
:
I am using that command I open the executable associated with the ppt
extension but does not work the same way with pptx files.
If I rename the pptx files in ppt everything works fine but I would
not have to rename the file each time ppt


I think that you mean "slide show" mode by "full screen". The only reason
for the problem that I can think of is that there is PPT Viewer in the
computer and .ppt files open in that. But you can make .pptx files open in
slide show mode by using command line option /s. Use that as the
ShellExecute parameter after the filename.

For other options, see http://www.pptfaq.com/FAQ00528.htm
 




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 07:07 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.