Here is another of Mike Snow’s tips of the day. Mike will explain you how to handle image AG_E_NETWORK_ERROR errors.
If you have ever worked with images while developing and running Silverlight app you have more than likely come across the AG_E_NETWORK_ERROR exception. This exception is thrown if an image was not able to load for whatever reason (I.e. it couldn’t be found, corrupt, etc.). In order to prevent your users from seeing this error it’s important to monitor for the ImageFailed event for each image your try to load.
Mike Snow has a tip in which he describes how to use string resources.
In this Tip I will be showing you how to place hard coded strings into a resource area. This is a common best practice for software development that makes it much easier to manage the strings in your application.