office comments, determining correct view, cursor location

A

Alex Bendig

Hi all,

I am using C# to automate PowerPoint and have a couple questions:

1. When the user clicks on an object on the slide and the object is really
on the title master, I would like to automatically switch to title master
view, so the object can be properly selected and then edited by the user.
What's a good way to find out if the user clicked on an object that cannot
be selected in current view?
2. I am accessing office comments that are embedded within PowerPoint
presentations. The reading of the text is not a problem. What's the best way
to change the text of the comment programmatically? Trying to assign a new
value to Comments.Item(commentIndex).Text does not work, as the property
appears to
be read only. Deleting of the old and simply adding of a new comment at the
same position is not working out very well, since MS' autonumbering systems
interferes...
3. Assuming normal view is active, what is a good way to determine if the
cursor is currently in the notes section or in a textbox on the slide?

Any ideas/assistance would/will be greatly appreciated.

Best Regards,

Alex Bendig
 
C

Cindy Meister -WordMVP-

Hi Alex
I am using C# to automate PowerPoint and have a couple questions:
I think you'll have better luck getting help in the POWERPOINT
newsgroup. Odd advice, I know, but that's where you're most likely
to find people who understand the Powerpoint object model.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jan 24
2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top