|  | How can I find "binary tags" in a .PPT file using PPT 2007? |  | |
| | | Dave Jenkins |  |
| Posted: Sat Aug 30, 2008 4:54 pm Post subject: How can I find "binary tags" in a .PPT file using PPT 2007? |  |
| |  | |
I'm running PowerPoint on Windows XP SP3, Office 2007 SP1.
I've opened a .PPT file, and would like to save it as a .PPTX. I get a popup saying the the file contains either a hyperlink OR a binary tag, and that those will be discarded when the file is saved as a .PPTX. I'd like to locate the objects that cause this message to appear, and I seem to have some knowledge gaps to fill.
First of all, I can create a new file, save it as a .PPT, open it, insert a hyperlink and save it as a .PPTX and the message is _not_ triggered. Therfore, it would seem to me that not _all_ hyperlinks are discarded when saving a .PPT file as a .PPTX. If not, then which ones are? Or am I missing something?
However, I _do_ have a file that always causes the message to occur. I have removed all the slides but one blank one, and I'm pretty positive that that slide contains no hyperlinks (using the code shamelessly borrowed from PPTFAQ - thanks, Steve!). There are no tags (that I can find) either - not on the presentation, the single slide, or any shapes that I know about. And yet this message always appears when saving that particular file as a .pptx.
The popup message states that the offending objects will be deleted from the saved .PPTX file. However (follow closely), if I have open the .PPTX file that the .PPT was saved as (remember that PowerPoint has said it is going to delete the offending objects from it), resave it as yet another .PPT, close it, reopen it, and then try to save *that* file as .PPTX, then I get the error message again. So apparently PowerPoint did _not_ remove the offedning objects form the saved file?
So what _really_ triggers that message (go here: LINK to see a screenshot of what I'm talking about) and how can I identify in any given file whether that mesage will be triggered or not? -- Dave Jenkins K5KX |
| |
| | | Glen Millar |  |
| Posted: Sun Aug 31, 2008 10:02 am Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 20 |  |
| |  | |
Hi,
I would image things that do not convert to html or xml. Like charts or anything embedded. If you go to the presentation properties and the the Contents tab. IS there anything listed there?
--
Regards, Glen Millar Microsoft PPT MVP
Please tell us your PowerPoint version
Tutorials and PowerPoint animations at the original LINK glen at pptworkbench dot com ------------------------------------------
"Dave Jenkins" <david.f.jenkins@usa.net.(spam-ugh!)> wrote in message news:61222B63-810C-4DEB-9627-69642EC39064@microsoft.com...
| Quote: | I'm running PowerPoint on Windows XP SP3, Office 2007 SP1.
I've opened a .PPT file, and would like to save it as a .PPTX. I get a popup saying the the file contains either a hyperlink OR a binary tag, and that those will be discarded when the file is saved as a .PPTX. I'd like to locate the objects that cause this message to appear, and I seem to have some knowledge gaps to fill.
First of all, I can create a new file, save it as a .PPT, open it, insert a hyperlink and save it as a .PPTX and the message is _not_ triggered. Therfore, it would seem to me that not _all_ hyperlinks are discarded when saving a .PPT file as a .PPTX. If not, then which ones are? Or am I missing something?
However, I _do_ have a file that always causes the message to occur. I have removed all the slides but one blank one, and I'm pretty positive that that slide contains no hyperlinks (using the code shamelessly borrowed from PPTFAQ - thanks, Steve!). There are no tags (that I can find) either - not on the presentation, the single slide, or any shapes that I know about. And yet this message always appears when saving that particular file as a .pptx.
The popup message states that the offending objects will be deleted from the saved .PPTX file. However (follow closely), if I have open the .PPTX file that the .PPT was saved as (remember that PowerPoint has said it is going to delete the offending objects from it), resave it as yet another .PPT, close it, reopen it, and then try to save *that* file as .PPTX, then I get the error message again. So apparently PowerPoint did _not_ remove the offedning objects form the saved file?
So what _really_ triggers that message (go here: LINK to see a screenshot of what I'm talking about) and how can I identify in any given file whether that mesage will be triggered or not?
-- Dave Jenkins K5KX |
|
| |
| | | Dave Jenkins |  |
| Posted: Sun Aug 31, 2008 11:42 am Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 20 |  |
| |  | |
"Glen Millar" wrote:
| Quote: | Hi,
I would image things that do not convert to html or xml. Like charts or anything embedded. If you go to the presentation properties and the the Contents tab. IS there anything listed there?
--
Regards, Glen Millar Microsoft PPT MVP
|
Hi Glen:
Here's a screenshot of the contents of the Properties -> Contents [tab]:
LINK
If I create a totally new pres file, blank presentation, I don't have this issue. I thought it might be becuase I was using a custom slide master for my test case, so I subsituted a slide master from a plain vanilla defautl blank pres. into my test case file, and deleted the old slide master. The file still yields up the error message when I save as .PPTX. (Actually, as I reread this, could slide master incompatibilities be the cause of all this? I'll do some more tests ...)
I can _see_ no shapes in the lone remaining slide, but I'll cobble together some code or do some debugger work to see if there are any. But I don't think there are.
Any other suggestion? Or do you perhaps see seomthing significant in the referenced screenshot?
Thanks.
| Quote: | "Dave Jenkins" <david.f.jenkins@usa.net.(spam-ugh!)> wrote in message news:61222B63-810C-4DEB-9627-69642EC39064@microsoft.com... I'm running PowerPoint on Windows XP SP3, Office 2007 SP1.
I've opened a .PPT file, and would like to save it as a .PPTX. I get a popup saying the the file contains either a hyperlink OR a binary tag, and that those will be discarded when the file is saved as a .PPTX. I'd like to locate the objects that cause this message to appear, and I seem to have some knowledge gaps to fill.
First of all, I can create a new file, save it as a .PPT, open it, insert a hyperlink and save it as a .PPTX and the message is _not_ triggered. Therfore, it would seem to me that not _all_ hyperlinks are discarded when saving a .PPT file as a .PPTX. If not, then which ones are? Or am I missing something?
However, I _do_ have a file that always causes the message to occur. I have removed all the slides but one blank one, and I'm pretty positive that that slide contains no hyperlinks (using the code shamelessly borrowed from PPTFAQ - thanks, Steve!). There are no tags (that I can find) either - not on the presentation, the single slide, or any shapes that I know about. And yet this message always appears when saving that particular file as a .pptx.
The popup message states that the offending objects will be deleted from the saved .PPTX file. However (follow closely), if I have open the .PPTX file that the .PPT was saved as (remember that PowerPoint has said it is going to delete the offending objects from it), resave it as yet another .PPT, close it, reopen it, and then try to save *that* file as .PPTX, then I get the error message again. So apparently PowerPoint did _not_ remove the offedning objects form the saved file?
So what _really_ triggers that message (go here: LINK to see a screenshot of what I'm talking about) and how can I identify in any given file whether that mesage will be triggered or not?
-- Dave Jenkins K5KX
|
|
| |
| | | Glen Millar |  |
| Posted: Mon Sep 01, 2008 8:15 am Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 20 |  |
| |  | |
Hi,
Curious and curiouser! Could you perhaps send me an example, please?
--
Regards, Glen Millar Microsoft PPT MVP
Please tell us your PowerPoint version
Tutorials and PowerPoint animations at the original LINK glen at pptworkbench dot com ------------------------------------------
"Dave Jenkins" <david.f.jenkins@usa.net.(spam-ugh!)> wrote in message news:0726F9A8-0891-484F-8DFC-6F538508D753@microsoft.com...
| Quote: |
"Glen Millar" wrote:
Hi,
I would image things that do not convert to html or xml. Like charts or anything embedded. If you go to the presentation properties and the the Contents tab. IS there anything listed there?
--
Regards, Glen Millar Microsoft PPT MVP
Hi Glen:
Here's a screenshot of the contents of the Properties -> Contents [tab]:
LINK
If I create a totally new pres file, blank presentation, I don't have this issue. I thought it might be becuase I was using a custom slide master for my test case, so I subsituted a slide master from a plain vanilla defautl blank pres. into my test case file, and deleted the old slide master. The file still yields up the error message when I save as .PPTX. (Actually, as I reread this, could slide master incompatibilities be the cause of all this? I'll do some more tests ...)
I can _see_ no shapes in the lone remaining slide, but I'll cobble together some code or do some debugger work to see if there are any. But I don't think there are.
Any other suggestion? Or do you perhaps see seomthing significant in the referenced screenshot?
Thanks.
"Dave Jenkins" <david.f.jenkins@usa.net.(spam-ugh!)> wrote in message news:61222B63-810C-4DEB-9627-69642EC39064@microsoft.com... I'm running PowerPoint on Windows XP SP3, Office 2007 SP1.
I've opened a .PPT file, and would like to save it as a .PPTX. I get a popup saying the the file contains either a hyperlink OR a binary tag, and that those will be discarded when the file is saved as a .PPTX. I'd like to locate the objects that cause this message to appear, and I seem to have some knowledge gaps to fill.
First of all, I can create a new file, save it as a .PPT, open it, insert a hyperlink and save it as a .PPTX and the message is _not_ triggered. Therfore, it would seem to me that not _all_ hyperlinks are discarded when saving a .PPT file as a .PPTX. If not, then which ones are? Or am I missing something?
However, I _do_ have a file that always causes the message to occur. I have removed all the slides but one blank one, and I'm pretty positive that that slide contains no hyperlinks (using the code shamelessly borrowed from PPTFAQ - thanks, Steve!). There are no tags (that I can find) either - not on the presentation, the single slide, or any shapes that I know about. And yet this message always appears when saving that particular file as a .pptx.
The popup message states that the offending objects will be deleted from the saved .PPTX file. However (follow closely), if I have open the .PPTX file that the .PPT was saved as (remember that PowerPoint has said it is going to delete the offending objects from it), resave it as yet another .PPT, close it, reopen it, and then try to save *that* file as .PPTX, then I get the error message again. So apparently PowerPoint did _not_ remove the offedning objects form the saved file?
So what _really_ triggers that message (go here: LINK to see a screenshot of what I'm talking about) and how can I identify in any given file whether that mesage will be triggered or not?
-- Dave Jenkins K5KX
|
|
| |
| | | Dave Jenkins |  |
| Posted: Mon Sep 01, 2008 10:02 am Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 20 |  |
Take a look at this test file: LINK
-- Dave Jenkins K5KX
"Glen Millar" wrote:
| Quote: | Hi,
Curious and curiouser! Could you perhaps send me an example, please?
--
Regards, Glen Millar Microsoft PPT MVP
|
[snip] |
| |
| | | John Wilson |  |
| Posted: Mon Sep 01, 2008 1:35 pm Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 20 |  |
Hi Dave
Run: MsgBox ActivePresentation.Tags.Count
You will, I guess, find that there are tags.
Binary Tags were supported in 2003 and could be used by third party programs or Add Ins to incorporate data in files. This is no longer supported in 2007 hence the message?
When you save as a pptx open it and resave back as a ppt the offending tags should be stripped and you should see a reduction in the count? --
Amazing PPT Hints, Tips and Tutorials
LINK
email john AT technologytrish.co.uk
"Dave Jenkins" wrote:
| Quote: | Take a look at this test file: LINK
-- Dave Jenkins K5KX
"Glen Millar" wrote:
Hi,
Curious and curiouser! Could you perhaps send me an example, please?
--
Regards, Glen Millar Microsoft PPT MVP
[snip] |
|
| |
| | | Dave Jenkins |  |
| Posted: Mon Sep 01, 2008 2:18 pm Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 20 |  |
| |  | |
Hi John:
Progress! Yes, my sample file contains some presentation tags - 3 of 'em that are automatically inserted in all of our pres. files that are opened under control of our macros. However, following your MsgBox suggestion revealed that were 5 of them! Always before, I had just looked at those tags (using PPT Tools "Tell me about this object [the presentation]" function (a.k.a. "Miss Piggy") and it showed the three that I expected to be there and which always survived the save from .PPT into .PPTX.
However! When I ran a little snippet of code in debug, and examined the *names* of each of the 5 tags - lo and behold! Two of them had a blank string for the tag name (and an empty value). It was these two tags which were causing the conversion error message to appear. And since these two had blank names, they were essentially invisible in PPT Tools without actually cursoring through the tags display, in which case you might be able to sanp to the fact that there were some anamolous tags in the collection.
I have no idea how those two tags got into the file -- its provenance is murky.
Many thanks for your suggestion, John -- made things easy from that point on! -- Dave Jenkins K5KX
"John Wilson" wrote:
| Quote: | Hi Dave
Run: MsgBox ActivePresentation.Tags.Count
You will, I guess, find that there are tags.
Binary Tags were supported in 2003 and could be used by third party programs or Add Ins to incorporate data in files. This is no longer supported in 2007 hence the message?
When you save as a pptx open it and resave back as a ppt the offending tags should be stripped and you should see a reduction in the count? --
Amazing PPT Hints, Tips and Tutorials
LINK
email john AT technologytrish.co.uk
"Dave Jenkins" wrote:
Take a look at this test file: LINK
-- Dave Jenkins K5KX
"Glen Millar" wrote:
Hi,
Curious and curiouser! Could you perhaps send me an example, please?
--
Regards, Glen Millar Microsoft PPT MVP
[snip] |
|
| |
| | | John Wilson |  |
| Posted: Mon Sep 01, 2008 2:41 pm Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 20 |  |
| |  | |
And now that Steve has located the names
Sub zappem() With ActivePresentation.Tags ..Delete ("___PPTMAC11") ..Delete ("___PPT2001") ..Delete ("___PPT12") End With End Sub
The other three tags should be there either so you might want to zap them too! Strangely in PPT2007 code my count was 5 (not 6) and like Steve in 2003 it was 6 --
Amazing PPT Hints, Tips and Tutorials
LINK
email john AT technologytrish.co.uk
"Steve Rindsberg" wrote:
| Quote: | In article <0F528807-9361-4AF4-A1CA-31D65726A978@microsoft.com>, Dave Jenkins wrote: Take a look at this test file: LINK
Worth a thousand words. <g
If you open that and look at the PRESENTATION's .Tags.Count, you'll get 6.
If you write a little code to delete them all, you'll delete YOUR tags but 3 will still be left.
Open the untouched pres in 2003 and look at the pres.xml file in the Script Editor and you'll see this
p:tag name="___PPT2001" type="binary" datasize="68" dataoffset="6"/ p:tag name="___PPTMAC11" type="binary" datasize="1562" dataoffset="7"/ p:tag name="ALREADYOPENEDONCE" type="string" value="-1"/ p:tag name="PREVIOUS_ACTIVE_SLIDE" type="string" value="567"/ p:tag name="RESTARTSLIDENUMBER" type="string" value="1"/ p:tag name="___PPT12" type="binary" datasize="9" dataoffset="8"/
Delete the ones listed as binary, let it update when you close the script editor, save as PPT. NOW when you open in 2007 and save as PPTX, you get no backchat.
So the questions are:
- Where did the mystery tags come from? (something to do with Mac, apparently)
- And how do we squeeze 'em out of the file?
----------------------------------------- Steve Rindsberg, PPT MVP PPT FAQ: LINK PPTools: LINK ================================================ Live and in personable in the Help Center at PowerPoint Live Sept 21-24, San Diego CA, USA LINK
|
|
| |
| | | John Wilson |  |
| Posted: Mon Sep 01, 2008 2:49 pm Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 20 |  |
| |  | |
I missed you reply - obviously don't delete the other three tags!!! --
Amazing PPT Hints, Tips and Tutorials
LINK
email john AT technologytrish.co.uk
"John Wilson" wrote:
| Quote: | And now that Steve has located the names
Sub zappem() With ActivePresentation.Tags .Delete ("___PPTMAC11") .Delete ("___PPT2001") .Delete ("___PPT12") End With End Sub
The other three tags should be there either so you might want to zap them too! Strangely in PPT2007 code my count was 5 (not 6) and like Steve in 2003 it was 6 --
Amazing PPT Hints, Tips and Tutorials
LINK
email john AT technologytrish.co.uk
"Steve Rindsberg" wrote:
In article <0F528807-9361-4AF4-A1CA-31D65726A978@microsoft.com>, Dave Jenkins wrote: Take a look at this test file: LINK
Worth a thousand words. <g
If you open that and look at the PRESENTATION's .Tags.Count, you'll get 6.
If you write a little code to delete them all, you'll delete YOUR tags but 3 will still be left.
Open the untouched pres in 2003 and look at the pres.xml file in the Script Editor and you'll see this
p:tag name="___PPT2001" type="binary" datasize="68" dataoffset="6"/ p:tag name="___PPTMAC11" type="binary" datasize="1562" dataoffset="7"/ p:tag name="ALREADYOPENEDONCE" type="string" value="-1"/ p:tag name="PREVIOUS_ACTIVE_SLIDE" type="string" value="567"/ p:tag name="RESTARTSLIDENUMBER" type="string" value="1"/ p:tag name="___PPT12" type="binary" datasize="9" dataoffset="8"/
Delete the ones listed as binary, let it update when you close the script editor, save as PPT. NOW when you open in 2007 and save as PPTX, you get no backchat.
So the questions are:
- Where did the mystery tags come from? (something to do with Mac, apparently)
- And how do we squeeze 'em out of the file?
----------------------------------------- Steve Rindsberg, PPT MVP PPT FAQ: LINK PPTools: LINK ================================================ Live and in personable in the Help Center at PowerPoint Live Sept 21-24, San Diego CA, USA LINK
|
|
| |
| | | Steve Rindsberg |  |
| Posted: Mon Sep 01, 2008 3:56 pm Post subject: Re: How can I find "binary tags" in a .PPT file using PPT 20 |  |
| |  | |
In article <0F528807-9361-4AF4-A1CA-31D65726A978@microsoft.com>, Dave Jenkins wrote:
| Quote: | Take a look at this test file: LINK
|
Worth a thousand words. <g>
If you open that and look at the PRESENTATION's .Tags.Count, you'll get 6.
If you write a little code to delete them all, you'll delete YOUR tags but 3 will still be left.
Open the untouched pres in 2003 and look at the pres.xml file in the Script Editor and you'll see this
<p:tag name="___PPT2001" type="binary" datasize="68" dataoffset="6"/> <p:tag name="___PPTMAC11" type="binary" datasize="1562" dataoffset="7"/> <p:tag name="ALREADYOPENEDONCE" type="string" value="-1"/> <p:tag name="PREVIOUS_ACTIVE_SLIDE" type="string" value="567"/> <p:tag name="RESTARTSLIDENUMBER" type="string" value="1"/> <p:tag name="___PPT12" type="binary" datasize="9" dataoffset="8"/>
Delete the ones listed as binary, let it update when you close the script editor, save as PPT. NOW when you open in 2007 and save as PPTX, you get no backchat.
So the questions are:
- Where did the mystery tags come from? (something to do with Mac, apparently)
- And how do we squeeze 'em out of the file?
----------------------------------------- Steve Rindsberg, PPT MVP PPT FAQ: LINK PPTools: LINK ================================================ Live and in personable in the Help Center at PowerPoint Live Sept 21-24, San Diego CA, USA LINK |
| |
| Page 1 of 3 .:. Goto page 1, 2, 3 Next | |
|
|