Click here to Skip to main content
16,010,114 members
Home / Discussions / C#
   

C#

 
GeneralProblem with DataTable Pin
draco_iii25-Feb-04 14:15
draco_iii25-Feb-04 14:15 
GeneralRe: Problem with DataTable Pin
Meysam Mahfouzi25-Feb-04 17:21
Meysam Mahfouzi25-Feb-04 17:21 
Questionhow can I delete memory allocated by legacy C++ DLL Pin
JWT25-Feb-04 13:17
JWT25-Feb-04 13:17 
GeneralTransparent Image Pin
Verdant12325-Feb-04 12:28
Verdant12325-Feb-04 12:28 
GeneralRe: Transparent Image Pin
ian mariano25-Feb-04 12:35
ian mariano25-Feb-04 12:35 
GeneralRe: Transparent Image Pin
Verdant12325-Feb-04 12:43
Verdant12325-Feb-04 12:43 
GeneralRe: Transparent Image Pin
Dave Kreskowiak25-Feb-04 13:04
mveDave Kreskowiak25-Feb-04 13:04 
GeneralRe: Transparent Image Pin
Kentamanos25-Feb-04 13:24
Kentamanos25-Feb-04 13:24 
Not sure if you were getting the same "general error" I was (I got something equally informative), but I ran into a problem writing an HTTPHandler to convert TIF's to PNG's on the fly.

I was trying to save the image to the ResponseStream directly, but I kept getting that error. I then created a MemoryStream, and I was then able to write the contents of the MemoryStream to the HTTP Response.

I'm GUESSING here, but I think the stream it wants needs to be seekable, so in my case the HTTP ResponseStream didn't work.

You might make sure that the stream you're trying to write the PNG is a MemoryStream and see if it fixes some of your problems.



I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.

-David St. Hubbins
GeneralRe: Transparent Image Pin
Verdant12325-Feb-04 14:31
Verdant12325-Feb-04 14:31 
GeneralRe: Transparent Image Pin
Verdant12325-Feb-04 14:54
Verdant12325-Feb-04 14:54 
GeneralRe: Transparent Image Pin
Verdant12325-Feb-04 15:06
Verdant12325-Feb-04 15:06 
GeneralRe: Transparent Image Pin
Kentamanos26-Feb-04 6:25
Kentamanos26-Feb-04 6:25 
GeneralRe: Transparent Image Pin
Matthew Hazlett25-Feb-04 14:01
Matthew Hazlett25-Feb-04 14:01 
GeneralRe: Transparent Image Pin
Verdant12325-Feb-04 16:18
Verdant12325-Feb-04 16:18 
GeneralRe: Transparent Image Pin
Kentamanos26-Feb-04 9:00
Kentamanos26-Feb-04 9:00 
GeneralRe: Transparent Image Pin
Verdant12326-Feb-04 12:22
Verdant12326-Feb-04 12:22 
GeneralGetWindow Pin
yyf25-Feb-04 10:21
yyf25-Feb-04 10:21 
GeneralRe: GetWindow Pin
Judah Gabriel Himango25-Feb-04 10:40
sponsorJudah Gabriel Himango25-Feb-04 10:40 
GeneralRe: GetWindow Pin
Heath Stewart25-Feb-04 11:52
protectorHeath Stewart25-Feb-04 11:52 
GeneralRe: GetWindow Pin
Heath Stewart25-Feb-04 11:58
protectorHeath Stewart25-Feb-04 11:58 
GeneralRe: GetWindow Pin
yyf26-Feb-04 3:21
yyf26-Feb-04 3:21 
QuestionGet the width of a (formatted) string? Pin
Verdant12325-Feb-04 9:56
Verdant12325-Feb-04 9:56 
AnswerRe: Get the width of a (formatted) string? Pin
Judah Gabriel Himango25-Feb-04 10:42
sponsorJudah Gabriel Himango25-Feb-04 10:42 
GeneralRe: Get the width of a (formatted) string? Pin
Verdant12325-Feb-04 12:26
Verdant12325-Feb-04 12:26 
GeneralException thrown from within Application.Run(Form); Pin
jerrycainjr25-Feb-04 9:25
jerrycainjr25-Feb-04 9:25 

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.