Click here to Skip to main content
15,902,939 members
Home / Discussions / C#
   

C#

 
GeneralRe: Referencing a .NET 2 assembly in a .NET1.1 Application Pin
Judah Gabriel Himango3-Jan-07 5:53
sponsorJudah Gabriel Himango3-Jan-07 5:53 
QuestionWMI unable to connect to some machines Pin
Muhammad Nauman Yousuf3-Jan-07 4:42
Muhammad Nauman Yousuf3-Jan-07 4:42 
AnswerRe: WMI unable to connect to some machines Pin
Dave Kreskowiak3-Jan-07 5:33
mveDave Kreskowiak3-Jan-07 5:33 
QuestionRe: WMI unable to connect to some machines Pin
Muhammad Nauman Yousuf3-Jan-07 20:32
Muhammad Nauman Yousuf3-Jan-07 20:32 
AnswerRe: WMI unable to connect to some machines Pin
Dave Kreskowiak4-Jan-07 2:58
mveDave Kreskowiak4-Jan-07 2:58 
QuestionContextMenu in ShockWaveFlash Pin
morteza573-Jan-07 3:50
morteza573-Jan-07 3:50 
QuestionConverting an Image to a Byte[] and visa versa Pin
Gareth H3-Jan-07 3:38
Gareth H3-Jan-07 3:38 
AnswerRe: Converting an Image to a Byte[] and visa versa Pin
Luc Pattyn3-Jan-07 4:32
sitebuilderLuc Pattyn3-Jan-07 4:32 
You would get the very informative message "A generic error occurred in GDI+" for
almost anything that can go wrong in Image.Save().

When saving to a file on disk it could be disk full, network disk disappeared,
file is locked, file is read-only, whatever. I dont know which of these have an
equivalent when saving to a memory stream.

It might also be a basic limitation of the GIF format (e.g. too many colors).
Are you sure you want GIF ?

And it could be a GDI bug (unknown to me).

Take your pick !

I would experiment with another format, say JPEG, at least to see if that works under
identical conditions...

Smile | :)

Luc Pattyn

GeneralRe: Converting an Image to a Byte[] and visa versa Pin
Gareth H3-Jan-07 5:30
Gareth H3-Jan-07 5:30 
GeneralRe: Converting an Image to a Byte[] and visa versa Pin
Luc Pattyn3-Jan-07 9:37
sitebuilderLuc Pattyn3-Jan-07 9:37 
GeneralRe: Converting an Image to a Byte[] and visa versa Pin
Gareth H3-Jan-07 22:38
Gareth H3-Jan-07 22:38 
GeneralRe: Converting an Image to a Byte[] and visa versa [modified] Pin
Gareth H5-Jan-07 0:57
Gareth H5-Jan-07 0:57 
GeneralRe: Converting an Image to a Byte[] and visa versa Pin
Luc Pattyn5-Jan-07 2:40
sitebuilderLuc Pattyn5-Jan-07 2:40 
GeneralRe: Converting an Image to a Byte[] and visa versa Pin
Gareth H5-Jan-07 3:27
Gareth H5-Jan-07 3:27 
AnswerRe: Converting an Image to a Byte[] and visa versa Pin
maysam gamini5-Nov-09 12:49
maysam gamini5-Nov-09 12:49 
QuestionHow to trigger event when user press Enter key in textbox? Pin
TrooperIronMan3-Jan-07 3:24
TrooperIronMan3-Jan-07 3:24 
AnswerRe: How to trigger event when user press Enter key in textbox? Pin
Martin#3-Jan-07 3:31
Martin#3-Jan-07 3:31 
AnswerRe: How to trigger event when user press Enter key in textbox? Pin
Vertyg03-Jan-07 3:34
Vertyg03-Jan-07 3:34 
GeneralRe: How to trigger event when user press Enter key in textbox? Pin
Martin#3-Jan-07 3:35
Martin#3-Jan-07 3:35 
GeneralRe: How to trigger event when user press Enter key in textbox? Pin
Vertyg03-Jan-07 4:48
Vertyg03-Jan-07 4:48 
GeneralRe: How to trigger event when user press Enter key in textbox? Pin
Martin#3-Jan-07 4:54
Martin#3-Jan-07 4:54 
AnswerRe: How to trigger event when user press Enter key in textbox? Pin
V.3-Jan-07 4:34
professionalV.3-Jan-07 4:34 
GeneralRe: How to trigger event when user press Enter key in textbox? Pin
TrooperIronMan3-Jan-07 6:43
TrooperIronMan3-Jan-07 6:43 
AnswerRe: Strange string.Format() error Pin
Dominik Reichl3-Jan-07 2:13
Dominik Reichl3-Jan-07 2:13 
GeneralRe: Strange string.Format() error Pin
Vertyg03-Jan-07 2:20
Vertyg03-Jan-07 2:20 

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.