Hi All.
In my WPF VB project I have Resources folder where I'm keeping Dictionary.XAML file and some images. How to specify BitmapImage in the Dictionary file to have ability call it in some places in the project? I tried like this:<BitmapImage x:Key="IMG_Logo" UriSource="/Resources/Logo.png" />
And WPF window I try to call it by:
<Image Source="{DynamicResource IMG_Logo}" Width="76" Height="40" Margin="10,10,0,10" />
But unfortunately it doesn't work and got an error:
"Could not find a part of the path 'C:\Resources\Logo.png."
How to fix the problem?
Thanks
