LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

windows media player: add to Playlist

I have been trying to write a small labview utility to add songs to the playlist while media player is playing other songs. I want this utility to add the songs to an existing instance of media player. I have tried many things. But nothing works. I cant even close the media player using ActiveX controls. I am very new with ActiveX programming.Can someone please tell me what am I doing wrong. I have attached the VI with this.

Thanks,
Shoaib
0 Kudos
Message 1 of 2
(2,960 Views)
Hi,

I had done a school project to control WMP in LabVIEW few years ago. I also used ActiveX to control the player. The most difficult thing was to find the suitable properties and mothods in the program. I needed to try many time and found documents from Microsoft. About your program, I think you should open the automation reference once only and do the rest then close it. Try to find in Microsoft website that how to use those properties or take a look of their newsgroup.

Bill
0 Kudos
Message 2 of 2
(2,960 Views)