Windows Media Player Control Crashes Application
Posted on 2008-10-23
Hello, I have this application I have been developing in Visual Basic 2008. Basically it is a form with the windows media player control and it streams my SHOUTcast radio station. I am not a hardcore developer, I just wanted to make something so that my listeners could have an application installed where they could listen to my radio.
With that out of the way, here is the issue.
When a listener has the application open and the music is streaming. If stream is interrupted (scenario: A dj logs on to the server and the stream to the application is stopped for that brief time when they are connecting.) or disconnected somehow the program just flips out and crashes.
Is there some error control for the windows media player where I could tell it that if the stream is disconnected to do something else besides crash?
Let me know if you need any more information.