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

C#

 
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 
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 
Hi Gareth,

I did some experiments with Image.Save() to memory stream, nothing went wrong.

Do you have your problem with every image ?
with the image(s) that goes wrong, does it fail on every attempt ?
is anything special about such image ? (size, number of colors, way it was created, ...) ?
what is its size ?
do you have a file containing such image, if so could you mail one failing image to me ?

furthermore, you could try to save GIF format to file instead of to memory stream,
then have a look at the file to see how large it gets (i.e. how far
the save operation succeeds), and (with hex viewer) possibly what is wrong.
If saving to file also fails, I could have a look to that file too...


Greetz

Luc Pattyn

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 
QuestionSet Regional Settings for CE 5.0 Pin
Tyler453-Jan-07 2:02
Tyler453-Jan-07 2:02 
QuestionAccess Network through asp.net 2.0 application Pin
abhinish3-Jan-07 0:53
abhinish3-Jan-07 0:53 

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.