Controls for Windows Media Player
Hey I need some coding help in order to tell my hidden windows media player in my form to stop, pause and play from command buttons, I have no idea on this. And no I cant just unhide it, cos i dont want to.
in other words, send the stop, pause and play commands from command buttons to me wmp. thanks in advance.
Re: Controls for Windows Media Player
replace wmp with the name you have assigned to your media player entity
VB Code:
Private Sub cmdPlay_Click()
wmp.Controls.play
End Sub
Private Sub cmdPause_Click()
wmp.Controls.pause
End Sub
Private Sub cmdStop_Click()
wmp.Controls.stop
End Sub
Re: Controls for Windows Media Player
Re: Controls for Windows Media Player
i sorted it thanks for the great tips