Click here to Skip to main content
15,909,953 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How to add text to the GridView in wpf? Pin
ABitSmart7-Sep-09 21:25
ABitSmart7-Sep-09 21:25 
GeneralRe: How to add text to the GridView in wpf? Pin
Krishna Aditya7-Sep-09 21:36
Krishna Aditya7-Sep-09 21:36 
GeneralRe: How to add text to the GridView in wpf? Pin
ABitSmart7-Sep-09 21:52
ABitSmart7-Sep-09 21:52 
GeneralRe: How to add text to the GridView in wpf? Pin
Krishna Aditya7-Sep-09 22:44
Krishna Aditya7-Sep-09 22:44 
QuestionHow to handle Refresh and Reset in WPF application in MVP application [modified] Pin
Krishna Aditya7-Sep-09 6:03
Krishna Aditya7-Sep-09 6:03 
QuestionChanging text from white to black for printing Pin
DavidRen236-Sep-09 23:10
DavidRen236-Sep-09 23:10 
AnswerRe: Changing text from white to black for printing Pin
Richard MacCutchan7-Sep-09 0:43
mveRichard MacCutchan7-Sep-09 0:43 
GeneralRe: Changing text from white to black for printing Pin
DavidRen237-Sep-09 0:59
DavidRen237-Sep-09 0:59 
GeneralRe: Changing text from white to black for printing Pin
Richard MacCutchan7-Sep-09 1:36
mveRichard MacCutchan7-Sep-09 1:36 
GeneralRe: Changing text from white to black for printing Pin
DavidRen237-Sep-09 3:30
DavidRen237-Sep-09 3:30 
GeneralRe: Changing text from white to black for printing Pin
Richard MacCutchan7-Sep-09 5:01
mveRichard MacCutchan7-Sep-09 5:01 
QuestionWPF Unit Test Problem Pin
Hauke Wittern6-Sep-09 22:59
Hauke Wittern6-Sep-09 22:59 
QuestionImages upload to SQL database Pin
Nekkantidivya6-Sep-09 22:06
Nekkantidivya6-Sep-09 22:06 
AnswerRe: Images upload to SQL database Pin
Arun Jacob6-Sep-09 22:19
Arun Jacob6-Sep-09 22:19 
AnswerRe: Images upload to SQL database Pin
Elayaraja Sambasivam7-Sep-09 2:28
Elayaraja Sambasivam7-Sep-09 2:28 
QuestionCatastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) Pin
Nekkantidivya6-Sep-09 21:57
Nekkantidivya6-Sep-09 21:57 
Hi,

I am working on silver light application. In this I converted an image into byte format and saved it in the database. Then I retrieved them from the server and tried to convert it to bitmap and display it in a image control. But during convertion process from byte[] to Bitmap I am getting this exception.

"Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))"


List<AdImages> ImgList = new List<AdImages>();
ImgList = e.Result;
int i = 0;
foreach (AdImages img in ImgList)
{
try
{
BitmapImage image = new BitmapImage();
using (MemoryStream stream = new MemoryStream(img.ImgData))
{
image.SetSource(stream); // exception raised at this line
ImgSQL.Source = image;
}
Image img2 = new Image();
img2.Source = image;
LayoutRoot.Children.Add(img2);
posImage(img2, i, ImgList.Count);
_images.Add(img2);
i++;
}
catch (Exception ee)
{
}
}


If anyone any idea to solve this please reply me.


Thanks in advance.
AnswerRe: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) Pin
Elayaraja Sambasivam7-Sep-09 2:38
Elayaraja Sambasivam7-Sep-09 2:38 
GeneralRe: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) Pin
almog.ori27-Jul-10 22:47
almog.ori27-Jul-10 22:47 
AnswerRe: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) Pin
Vimalsoft(Pty) Ltd26-May-11 0:30
professionalVimalsoft(Pty) Ltd26-May-11 0:30 
Questionbeginsavechanges help Pin
LT9996-Sep-09 21:06
LT9996-Sep-09 21:06 
QuestionStyling an AdornerLayer Pin
Etienne_1235-Sep-09 2:39
Etienne_1235-Sep-09 2:39 
AnswerRe: Styling an AdornerLayer Pin
Pete O'Hanlon5-Sep-09 3:15
mvePete O'Hanlon5-Sep-09 3:15 
Question3D model as Splash Pin
Etienne_1235-Sep-09 2:27
Etienne_1235-Sep-09 2:27 
AnswerRe: 3D model as Splash Pin
Pete O'Hanlon5-Sep-09 3:11
mvePete O'Hanlon5-Sep-09 3:11 
QuestionListView Expands Height But Doesn't Contract It Pin
AspDotNetDev4-Sep-09 13:37
protectorAspDotNetDev4-Sep-09 13:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.