Example Code

Windows Media Player 10 ActiveX Control

Code and Documents

Attachment

This example demonstrates how to use LabVIEW to control Windows Media Player by using Microsoft's Internet Explorer and Document Object Model (DOM) ActiveX interfaces. This example also generates HTML code that shows how to embed a Windows Media Player object in a webpage.

In this example, LabVIEW controls Internet Explorer, which in turn controls Windows Media Player by using Javascript. Note that this application was developed using version 10.0 of Windows Media Player.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors