PowerPoint XP PropertyEffect

  • Thread starter Thread starter Bryan Thrasher
  • Start date Start date
B

Bryan Thrasher

I am writing an app in VB6 to read the Timeline animation properties
from PowerPoint XP. When I read the various PropertyEffect.Points
values, I sometimes get values repeated from earlier Items in the
Behavior collection. It appears to be random. Sometimes it works and
other times it doesn't. I can confirm that the values are incorrect
by saving the presentation as HTML and finding the correct values in
the VML animation tags.

I have tried running the code in VBA and I get the same results. Even
the Locals window in the VBA IDE reports the incorrect values.

I can sometimes get the object model to report the correct values if I
scan it twice. The second pass usually results in correct results,
but that does not always work.

Has anyone experienced this before?

Has anyone done this sort of thing in C++ and had different results?

Thanks,
Bryan
 
Bryan,
Yes, it's a bug. Repeated values appear when you loop thru the behaviour
collection for various properties if you individually query it, it will
return correct values.
 
Back
Top