Mike Eghtebas
asked on
How to use keystrok to Play/Pause video running on a ActiveX component on a VB 6 form...
When user makes a selection on the vb form, a lable becomes visible stating:
"Hit S to start video." 'that is if there is a video avaiable for the particular selection
-------
Via S keypress, video starts (the lable changes to "Hit Q to quit video.").
This works nicely. "S" keystrok starts the video with "PlayPause" button in "Pause" mode.
-------------
On WindowsMediaPlayer1, we also have "Play/ Pause" and "Stop" Buttons
Q3. Using keystrok "P" What is the code to "Pause" (code will go in to Keypress event of the form).
Q4. Using a second keystrok, what is the code to "Play" (after it has been paused).
Mike
"Hit S to start video." 'that is if there is a video avaiable for the particular selection
-------
Via S keypress, video starts (the lable changes to "Hit Q to quit video.").
This works nicely. "S" keystrok starts the video with "PlayPause" button in "Pause" mode.
-------------
On WindowsMediaPlayer1, we also have "Play/ Pause" and "Stop" Buttons
Q3. Using keystrok "P" What is the code to "Pause" (code will go in to Keypress event of the form).
Q4. Using a second keystrok, what is the code to "Play" (after it has been paused).
Mike
ASKER
MediaPlayer1.Pause doesn't work.
unlike .close, .pause is not avaialble (can I add it to intelesense?).
unlike .close, .pause is not avaialble (can I add it to intelesense?).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Man, you have got to let me know which version of Windows Media Player you are using:) Lost out again:(
Bob
Bob
ASKER
I wonder if you could help me with a followup question at: https://www.experts-exchange.com/questions/21087449/How-to-intercept-OnClick-event-of-Paus-Play-and-stop-buttons-on-Windows-Media-Player-ActiveX-control.html
Bob