Unlike in .Net 2.0, the image control have a new type of source class, called Windows.Media.ImageSource. While writing simple WPF application I want to display an image in a Image control. But Windows.Media.ImageSource is abstract class, where I can’t create the object.
After googling I found a solution.
Image1.Source = New BitmapImage(New Uri(FlOpenDlg.Filename)) 'New Uri(Filename or address as string), so I passing the Open File Dialog's Filename property as the argument.