|
-
Feb 17th, 2006, 11:16 PM
#1
Thread Starter
Junior Member
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.
-
Feb 17th, 2006, 11:38 PM
#2
New Member
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
-
Feb 17th, 2006, 11:48 PM
#3
Thread Starter
Junior Member
Re: Controls for Windows Media Player
-
Apr 11th, 2006, 02:25 PM
#4
New Member
Re: Controls for Windows Media Player
i sorted it thanks for the great tips
Last edited by lisa little; Apr 11th, 2006 at 02:39 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|