Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Windows Media Player Control Crashes Application

Posted on 2008-10-23
3
Medium Priority
?
316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 2000 total points
ID: 22818473
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
ID: 31509522
Thanks!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

670 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