Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: RichTextBox has a bug? Pin
Zembaliti6-Feb-04 0:25
Zembaliti6-Feb-04 0:25 
QuestionMulti-platform C#? Pin
Kryal4-Feb-04 12:50
Kryal4-Feb-04 12:50 
AnswerRe: Multi-platform C#? Pin
Dmitriy Kostovetskiy4-Feb-04 13:22
Dmitriy Kostovetskiy4-Feb-04 13:22 
GeneralRe: Multi-platform C#? Pin
Gerald Leslie Jones4-Feb-04 20:00
Gerald Leslie Jones4-Feb-04 20:00 
GeneralRe: Multi-platform C#? Pin
Michael P Butler5-Feb-04 2:01
Michael P Butler5-Feb-04 2:01 
GeneralRe: Multi-platform C#? Pin
Heath Stewart5-Feb-04 4:32
protectorHeath Stewart5-Feb-04 4:32 
GeneralCustom WebControl - Rendering Images Pin
Member 6440164-Feb-04 12:26
Member 6440164-Feb-04 12:26 
GeneralRe: Custom WebControl - Rendering Images Pin
krisp4-Feb-04 12:45
krisp4-Feb-04 12:45 
What I had done is:

set the "img source" to myPic.aspx

then in myPic.aspx.cs in the Page_Load event, write to the output stream:

"MIME=image/jpeg" // or something like that
and then just write your image you draw to the stream as well.

Bitmap bm;
// draw to it
bm.Save( Response ); // the response stream

this works, i have done it before, but this is not exactly correct, can't remeber the exact words/code not sure of the correct form for MIME type, but look on google for MIME types or something.

You can even pass parameters to yout myPic.aspx?lines=1,2,8,9
which could draw a line from 1,2 to 8,9

Or save the bmp in the Session and retreive it from the sesion when the client requests myPic.aspx, but i have not tried this session idea before.

Hope that might help.
GeneralRe: Custom WebControl - Rendering Images Pin
Nick Parker4-Feb-04 14:38
protectorNick Parker4-Feb-04 14:38 
GeneralString Array written to and parsed from hidden web control Pin
krisp4-Feb-04 12:24
krisp4-Feb-04 12:24 
GeneralRe: String Array written to and parsed from hidden web control Pin
Heath Stewart5-Feb-04 4:22
protectorHeath Stewart5-Feb-04 4:22 
GeneralRe: String Array written to and parsed from hidden web control Pin
krisp5-Feb-04 19:22
krisp5-Feb-04 19:22 
GeneralWeb service question Pin
pankajdaga4-Feb-04 10:24
pankajdaga4-Feb-04 10:24 
GeneralRe: Web service question Pin
Heath Stewart4-Feb-04 10:34
protectorHeath Stewart4-Feb-04 10:34 
GeneralIntPtr and Strings Pin
Tristan Rhodes4-Feb-04 10:10
Tristan Rhodes4-Feb-04 10:10 
GeneralRe: IntPtr and Strings Pin
Heath Stewart4-Feb-04 10:29
protectorHeath Stewart4-Feb-04 10:29 
GeneralRe: IntPtr and Strings Pin
Tristan Rhodes4-Feb-04 10:38
Tristan Rhodes4-Feb-04 10:38 
GeneralRe: IntPtr and Strings Pin
Heath Stewart4-Feb-04 10:44
protectorHeath Stewart4-Feb-04 10:44 
GeneralRe: IntPtr and Strings Pin
Tristan Rhodes4-Feb-04 10:46
Tristan Rhodes4-Feb-04 10:46 
QuestionRemoving an EventHandler??? Pin
LongRange.Shooter4-Feb-04 9:21
LongRange.Shooter4-Feb-04 9:21 
AnswerRe: Removing an EventHandler??? Pin
Heath Stewart4-Feb-04 10:27
protectorHeath Stewart4-Feb-04 10:27 
GeneralRe: Removing an EventHandler??? Pin
LongRange.Shooter5-Feb-04 2:22
LongRange.Shooter5-Feb-04 2:22 
GeneralRe: Removing an EventHandler??? Pin
Heath Stewart5-Feb-04 4:18
protectorHeath Stewart5-Feb-04 4:18 
GeneralFileInfo.ValidateFIleName Pin
elena123454-Feb-04 8:07
elena123454-Feb-04 8:07 
GeneralRe: FileInfo.ValidateFIleName Pin
Not Active4-Feb-04 8:38
mentorNot Active4-Feb-04 8:38 

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.