Hi all,
I have a AxWindowsMediaPlayer controls called "MyPlayer" and it works like a charm when it comes to loading a video and playing it. Even going to fullscreen automatically is working 100%.
But! There's always a but.
Whenever I click on one of the "Pause" or "Stop" buttons, it gives me an "unhandled exception has occured in your application" error and I can choose to continue or quit. If I select continue, it pauses or stops perfectly afterwards so I am wondering how I can just ignore this exception error.
Here is the detail of the error message:
"Unable to cast object of type 'System.EventArgs' to type 'System.ComponentModel.CancelEventArgs'."
Can somebody help ignore this error ?
I have a AxWindowsMediaPlayer controls called "MyPlayer" and it works like a charm when it comes to loading a video and playing it. Even going to fullscreen automatically is working 100%.
But! There's always a but.
Whenever I click on one of the "Pause" or "Stop" buttons, it gives me an "unhandled exception has occured in your application" error and I can choose to continue or quit. If I select continue, it pauses or stops perfectly afterwards so I am wondering how I can just ignore this exception error.
Here is the detail of the error message:
"Unable to cast object of type 'System.EventArgs' to type 'System.ComponentModel.CancelEventArgs'."
Can somebody help ignore this error ?