Updating images in a wpf application
The top result will always be MSDN and if you click on the link, you'll find out all about that control and most pages have code examples as well.
End Init(); // Getting the exception here Image Viewer1.
All preciding identifiers are named parameters in the form of Property=Value. Uri Source = new Uri(@"pack://application:,,,\myserver\folder1\Customer Data\sample.png"); logo.Source = logo; The pack syntax you are using here is for an image that is contained as a Resource within your application, not for a loose file in the file system.(mine was a .gif) Summary: It returns a Bitmap Frame which Image Source "destinations" seem to like. Use: Learnings: From my experiences the pack string is not the issue, check your streams and especially if reading it the first time has set the pointer to the end of the file and you need to re-set it to zero before reading again.