In addition, you should not set the Player.URL property from a Player control event handler. From this dialog box, you can modify all available Player control properties. Setting the uiMode property to "none" hides everything in the control except the video or visualization window, allowing you to add your own buttons and write script code using Visual Basic for Applications (VBA) to handle the button clicks and Player control events.įrom the basic Properties dialog box, you can also access the more sophisticated Windows Media Player Control Properties dialog box by double-clicking the "(Custom)" row or by clicking the ellipsis (".") button after selecting that row. Here you can specify basic Player control properties such as the control name, the URL of a digital media file, and the user interface mode. Once you have positioned and formatted the control, you can configure it using the Properties dialog box, which is accessible from the Control Toolbox or from the shortcut menu in design mode for Word and Excel. In Word and Excel, you must be in design mode to do this. You can then select Format Control ( Format Object in Excel) from the shortcut menu for the control to adjust the layout, text wrapping style, and other format options. The Windows Media Player control appears in the document at the current location. In Microsoft Word, Excel, and PowerPoint®, you embed the control by selecting Object from the Insert menu, then choosing Windows Media Player from the list of available object types. This section describes how to embed the Windows Media Player 9 Series or later ActiveX control in various documents created using Microsoft Office XP.
0 Comments
Leave a Reply. |