Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / November 2006

Tip: Looking for answers? Try searching our database.

Binary tag values  not persisting when opening a saved presentation in Office 2007.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
johnemmatty@gmail.com - 14 Nov 2006 10:35 GMT
Hello,
I added a binary tag in a slide in  Office 2007 presentation using the
Object Model function Tags.AddBinary().The problem is that this value
is not retained in the  slide.
that is,  if we close PowerPoint  and reopened the presentation, the
binary tag we stored earlier is lost.
Why is it happening so?
Shyam Pillai - 15 Nov 2006 12:39 GMT
Could you post the code snipped you are using to do the same? Also, are you
using RTM or Beta version?

Signature

Regards,
Shyam Pillai

Animation Carbon
http://www.animationcarbon.com

> Hello,
> I added a binary tag in a slide in  Office 2007 presentation using the
[quoted text clipped - 3 lines]
> binary tag we stored earlier is lost.
> Why is it happening so?
johnemmatty@gmail.com - 16 Nov 2006 05:27 GMT
Thanks for your attention.

// The binary value adding part.

    // szTmpFile is a character array which contains the name of resource
file .

    theTags.AddBinary("BinaryData",szTmpFile);

// The binary value reading part.

    LPBYTE pData = (LPBYTE) theTags.BinaryValue("BinaryData");

    //returns the stored tag;The above code will return the correct value
    // if it is taken before the presentation is closed,
       // the same code will return 'null' if the value is read after
the presentation
       // is opened after saving and closing it.

The problem is happening in presentations if we save presentations in
the .pptx extension in Office 2007. The problem is not occuring in
presentations saved in .ppt format in Office 2007.

> Could you post the code snipped you are using to do the same? Also, are you
> using RTM or Beta version?
[quoted text clipped - 13 lines]
> > binary tag we stored earlier is lost.
> > Why is it happening so?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.