bitmap loading error with method fromContent

Jun 3, 2012 at 12:13 PM

Hi guys,

I have to load a bitmap from a content of my website. I use wbe.FromContent("data/test.bmp"). I stuck on this error "Exception de HRESULT : 0x8000FFFF (E_UNEXPECTED)".

Please, help me, it's been a week now.

Jun 7, 2012 at 7:47 PM

What version are you using? Silverlight doesn't support the bmp file format. Use png or better jpg.


- rene

Jun 7, 2012 at 7:48 PM

Also make sure the "Build Action" property of the test.jpg is set to "Content".