Issue creating a new PowerPoint from right-click new

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
jpcv
Junior Member
Junior Member
Posts: 28
Joined: 2003-02-11, 15:35 UTC
Location: Uruguay

Issue creating a new PowerPoint from right-click new

Post by *jpcv »

The issue is about the file .ppt created after right clicking and entering the document name.
The document created has a ReadOnly attribute, and an old format
When doing the same from desktop the file created is different but this file works.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Some more info will be useful ...
What fileversion has your powerpnt.exe file ?
Which OS are you using ?
#5767 Personal license
User avatar
jpcv
Junior Member
Junior Member
Posts: 28
Joined: 2003-02-11, 15:35 UTC
Location: Uruguay

Post by *jpcv »

Version: 11.0.8135.0

These are the two files:
http://rapidshare.com/files/40849429/ppt.rar.html

testOK.ppt created by desktop rightclicking
test.ppt created by TC rightclicking

Thank you
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2jpcv
I can't open either of the two files in my Microsoft Powerpoint Viewer v. 11.0.5703.0
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
jpcv
Junior Member
Junior Member
Posts: 28
Joined: 2003-02-11, 15:35 UTC
Location: Uruguay

Post by *jpcv »

The two files are empty .ppt files, this is the reason why you can't view them with PowerPoint Viewer.
Have you tried with PowerPoint?
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2jpcv
Have you tried with PowerPoint?
I don't have any Micro$oft Office programs on my private computer ;-)


But I can say that the viewer comes up with different messages (here translated from Danish) for not opening the two files:
PowerPoint Viewer can not open the file "test.ppt" because the file is made in a version of PowerPoint which the viewer does not support.

PowerPoint Viewer supports files made in PowerPoint 97 or newer.
PowerPoint Viewer can not open the file "testOK.ppt" because it does not contain any slides.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

he issue is about the file .ppt created after right clicking and entering the document name.
The document created has a ReadOnly attribute, and an old format
TC looks in the registry how to create such files via File-New. I assume that for .ppt, the registry refers to a file under
c:\Documents and Settings\<yourname>\Templates
or
c:\Documents and Settings\All users\Templates

This file is probably outdated and has the read-only attribute. Just replace it with a new ppt file of your choice.
Author of Total Commander
https://www.ghisler.com
User avatar
jpcv
Junior Member
Junior Member
Posts: 28
Joined: 2003-02-11, 15:35 UTC
Location: Uruguay

Post by *jpcv »

You are right. It seems that windows right clik uses c:\WINDOWS\SHELLNEW\ templates to create new office files and TC uses c:\Documents and Settings\<yourname>\Templates.

Please correct me if I am wrong:

TC uses these registry keys:
HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.4\ShellNew
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ppt\PowerPoint.Show.4\ShellNew

and Windows uses these registry keys:
HKEY_CLASSES_ROOT\.ppt\PowerPoint.Show.8\ShellNew
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ppt\PowerPoint.Show.8\ShellNew

The work arround for this problem using version 7.01 of TC was creating a new ppt file on desktop using windows right click, saving it as powerpnt.ppt and replacing the old file in 'Templates' directories under c:\Documents and Settings\
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, TC uses the first key under .ppt which has the ShellNew entry. There is no documentation at all how to choose the right ShellNew key...
Author of Total Commander
https://www.ghisler.com
Post Reply