Solved

Windows Media Player Control Crashes Application

Posted on 2008-10-23
3
297 Views
Last Modified: 2013-11-25
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.
0
Comment
Question by:dylanharrington
3 Comments
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
Comment Utility
Can you show us the code where you make the cast play?  Are you putting a media player control on the form at design time or creating one at run-time?

Some details and/or code would go a long way to help figure out what the problem is...  =)
0
 
LVL 1

Author Closing Comment

by:dylanharrington
Comment Utility
Thanks!
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now