Results 1 to 4 of 4

Thread: Controls for Windows Media Player

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    23

    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.
    He he he ... me ...

  2. #2
    New Member
    Join Date
    Feb 2006
    Posts
    9

    Re: Controls for Windows Media Player

    replace wmp with the name you have assigned to your media player entity
    VB Code:
    1. Private Sub cmdPlay_Click()
    2.  wmp.Controls.play
    3. End Sub
    4. Private Sub cmdPause_Click()
    5.  wmp.Controls.pause
    6. End Sub
    7. Private Sub cmdStop_Click()
    8.  wmp.Controls.stop
    9. End Sub

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    23

    Re: Controls for Windows Media Player

    i love you
    He he he ... me ...

  4. #4
    New Member
    Join Date
    Apr 2006
    Posts
    15

    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
  •  



Click Here to Expand Forum to Full Width