Link to home
Start Free TrialLog in
Avatar of dylanharrington
dylanharringtonFlag for United States of America

asked on

Windows Media Player Control Crashes Application

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.
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dylanharrington

ASKER

Thanks!