0 Members and 1 Guest are viewing this topic.
Dim myAssembly As System.Reflection.Assembly = System.Reflection.Assembly.GetExecutingAssembly()Dim myStream As Stream = myAssembly.GetManifestResourceStream("FreezeOn.png")Dim image As New Bitmap(myStream)
<Button Name="ScanFile"> <StackPanel> <Image Name="myExitImage" Source="pack://siteoforigin:,,,/Resources/FreezeOn.png"/> </StackPanel> </Button>
Is the persistence setting of your image set to: Embedded in .resx? I`m guessing everything is fine on your side of thing (you can see the image)? If you copy your app to another directory, do you still see the resource image ?
I`m guessing everything is fine on your side of thing (you can see the image)? If you copy your app to another directory, do you still see the resource image ?