I need help playing and looping an embedded windows media player file
when the document is opened. Can someone please help me out?
Just to play it, supposing it is the first inlineshape in the document:
ActiveDocument.InlineShapes(1).Activate
For more on this, see Jay Freedman's code in this thread:
http://groups.google.com/group/micr...dia+player++group:microsoft.public.word.vba.*
As for looping and other controls, you will have to access the object
through VBA. You will have to set a reference to Windows Media Player in
"References..." under the "Tool" menu of the Word VBA Editor.
Once that is done, you have access to the classes, methods and properties of
the Media player object library.
I have never played with that, you might have to ask in an InterOP group or
a MediaPlayer one fro more details.