C# or VB.NET - Disable Windows Media Player Stop Button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shaba99
    New Member
    • Mar 2008
    • 2

    C# or VB.NET - Disable Windows Media Player Stop Button

    Hey everyone,
    New to this forum, but i search for answers here often.

    I have a c# windows application which embeds windows media player on the form. The application (biz rule) requires that the user plays the media file before continuing and saving the file. i would do this by insuring that the currentposition in the file being played is not = 0. However, if the user clicks the stop button in media player, the position goes to 0 (wmpPlayer.Ctlc ontrols.current Position).

    i think i know the answer :-(, but figured i'd ask the question, is it possible to disable ONLY the stop button in the media player control? I know you can disable all controls, but have been unable to figure out how to disable just the one (my guess from my research is that you can't, but I figured I ask anyways)

    My other option is to create my own play/pause button and disable all the controls on th eplayer. would like to avoid this if i could

    Thanks
    - S
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    The only thing I have ever found was to go this route:
    My other option is to create my own play/pause button and disable all the controls on th eplayer. would like to avoid this if i could

    Comment

    Working...