Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
QuestionDetermining if string user input is file path, URL, or network path. [modified] Pin
llamaindustries23-Jun-06 12:43
llamaindustries23-Jun-06 12:43 
QuestionBytes Array to Bitmap Pin
Jailan23-Jun-06 12:02
Jailan23-Jun-06 12:02 
JokeRe: Bytes Array to Bitmap Pin
Jun Du23-Jun-06 12:21
Jun Du23-Jun-06 12:21 
AnswerRe: Bytes Array to Bitmap Pin
Corinna John23-Jun-06 12:38
Corinna John23-Jun-06 12:38 
What does the byte array contain?

a) The full bitmap with headers and pixel data: Write in into a MemoryStream and create an Image with Image.FromStream().

b) Only the pixel data: Copy the array into unmanaged memory, create new Bitmap with the expected width, height and PixelFormat, lock all bits and set Scan0 to the first element of the unmanaged array. Go on, just copy the code from this FAQ^.

_____________________________________________________________________________
I don't expect too much, all I want is your vote for Halbsichtigkeit.

QuestionSending byte arrays using sockets Pin
Steven M Hunt23-Jun-06 11:31
Steven M Hunt23-Jun-06 11:31 
AnswerRe: Sending byte arrays using sockets Pin
Jun Du23-Jun-06 12:26
Jun Du23-Jun-06 12:26 
AnswerRe: Sending byte arrays using sockets Pin
Nader Elshehabi24-Jun-06 3:07
Nader Elshehabi24-Jun-06 3:07 
QuestionError while running CLR Stored Procedure. Pin
AJAIN123-Jun-06 9:57
AJAIN123-Jun-06 9:57 
Questiondata grid - how to do copy/paste Pin
dineshdineshdinesh23-Jun-06 9:32
dineshdineshdinesh23-Jun-06 9:32 
QuestionAdvice Troubleshooting Memory Leaks Using PInvoke Pin
redfish3423-Jun-06 9:20
redfish3423-Jun-06 9:20 
AnswerRe: Advice Troubleshooting Memory Leaks Using PInvoke Pin
Dan Neely23-Jun-06 9:42
Dan Neely23-Jun-06 9:42 
Question2D in D3D Pin
_Comet_Keeper_23-Jun-06 9:15
_Comet_Keeper_23-Jun-06 9:15 
Questionsend a file Pin
waheed awan23-Jun-06 7:47
waheed awan23-Jun-06 7:47 
AnswerRe: send a file Pin
Jun Du23-Jun-06 7:58
Jun Du23-Jun-06 7:58 
GeneralRe: send a file Pin
waheed awan23-Jun-06 8:05
waheed awan23-Jun-06 8:05 
GeneralRe: send a file Pin
Jun Du23-Jun-06 8:31
Jun Du23-Jun-06 8:31 
Questionservice on window Pin
waheed awan23-Jun-06 7:40
waheed awan23-Jun-06 7:40 
AnswerRe: service on window Pin
Jun Du23-Jun-06 8:03
Jun Du23-Jun-06 8:03 
AnswerRe: service on window Pin
Dave Kreskowiak23-Jun-06 8:07
mveDave Kreskowiak23-Jun-06 8:07 
QuestionEmbedded Resources Pin
Atlantaazfinest23-Jun-06 7:30
Atlantaazfinest23-Jun-06 7:30 
AnswerRe: Embedded Resources Pin
Josh Smith23-Jun-06 8:18
Josh Smith23-Jun-06 8:18 
GeneralRe: Embedded Resources Pin
Atlantaazfinest23-Jun-06 8:30
Atlantaazfinest23-Jun-06 8:30 
QuestionForm Focus Pin
Cubzfan23-Jun-06 7:27
Cubzfan23-Jun-06 7:27 
QuestionRe: Form Focus Pin
Jun Du23-Jun-06 7:53
Jun Du23-Jun-06 7:53 
AnswerRe: Form Focus Pin
Cubzfan23-Jun-06 8:07
Cubzfan23-Jun-06 8:07 

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.