Hi everyone,
Assuming that we try to play a video on our WMP VB control
and the video is not available, and then we get these errors
![Name: WMP ERROR 1.png
Views: 14
Size: 7.4 KB]()
![Name: WMP ERROR 2.png
Views: 11
Size: 8.3 KB]()
Is been a long time since I've been asking myself if there is a code to trap
any error coming from the Windows Media Player control on Visual Basic 6.
I asked this question years ago on another forum and the only code that I know is this:
It does work but just to let you know there were errors, but still show the WMP popup
would be nice if I could get a suggestion or any help.
Thanks in advance
Assuming that we try to play a video on our WMP VB control
and the video is not available, and then we get these errors
Is been a long time since I've been asking myself if there is a code to trap
any error coming from the Windows Media Player control on Visual Basic 6.
I asked this question years ago on another forum and the only code that I know is this:
Code:
Private Sub WindowsMediaPlayer1_MediaError(ByVal pMediaObject As Object)
MsgBox "Media error problem"
End Sub
would be nice if I could get a suggestion or any help.
Thanks in advance