Hay
I am trying to load a (embedded) image into a wpf application using Uri, but I get an exception anyway.
The code:
new BitmapImage(new Uri("pack://application:,,,,/Icons/m.png"));
(If this is not clear, I try to download the m.png file from the Icons folder, which is marked as an embedded resource).
and exception
NotSupportetException (the URI prefix is not recognized)
Can someone tell me what was supposed to be uri?
c # wpf
tomjen
source share