Solved

Windows Media Player Control Crashes Application

Posted on 2008-10-23
3
314 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 500 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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 video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

622 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