Click here to Skip to main content
15,887,988 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sending an object through TCP/IP Pin
Alex Manolescu7-Jan-10 22:34
Alex Manolescu7-Jan-10 22:34 
AnswerRe: Sending an object through TCP/IP Pin
N a v a n e e t h7-Jan-10 17:59
N a v a n e e t h7-Jan-10 17:59 
GeneralRe: Sending an object through TCP/IP Pin
Alex Manolescu7-Jan-10 22:39
Alex Manolescu7-Jan-10 22:39 
QuestionCaptureFromScreen and Image Saving Pin
therealrustyspork7-Jan-10 9:51
therealrustyspork7-Jan-10 9:51 
AnswerRe: CaptureFromScreen and Image Saving Pin
Paladin20007-Jan-10 10:02
Paladin20007-Jan-10 10:02 
GeneralRe: CaptureFromScreen and Image Saving Pin
therealrustyspork7-Jan-10 10:04
therealrustyspork7-Jan-10 10:04 
AnswerRe: CaptureFromScreen and Image Saving Pin
Luc Pattyn7-Jan-10 10:23
sitebuilderLuc Pattyn7-Jan-10 10:23 
AnswerRe: CaptureFromScreen and Image Saving Pin
OriginalGriff7-Jan-10 10:28
mveOriginalGriff7-Jan-10 10:28 
According to MSDN[^] upperLeftDestination is the point at which you want to start copying into the graphics object - which makes sense. If it wasn't provided, then the copy would always take place at the top left corner of the graphics output - with it you can offset it by (say) 100 pixcels down, by 200 pixcels in.

To copy, display and save it:
Bitmap b = new Bitmap(picBig.Width, picBig.Height);
Graphics g = Graphics.FromImage(b);
g.CopyFromScreen(new Point(0, 0), new Point(0, 0), b.Size);
picBig.Image = b;
b.Save(@"C:\Screendump.bmp");


All those who believe in psycho kinesis, raise my hand.

GeneralRe: CaptureFromScreen and Image Saving Pin
therealrustyspork7-Jan-10 10:57
therealrustyspork7-Jan-10 10:57 
GeneralRe: CaptureFromScreen and Image Saving Pin
Ian Shlasko7-Jan-10 11:15
Ian Shlasko7-Jan-10 11:15 
GeneralRe: CaptureFromScreen and Image Saving Pin
OriginalGriff7-Jan-10 21:57
mveOriginalGriff7-Jan-10 21:57 
QuestionHow To Create My Own File Encryption Algorithm Pin
Sokka937-Jan-10 8:51
Sokka937-Jan-10 8:51 
AnswerRe: How To Create My Own File Encryption Algorithm Pin
Manas Bhardwaj7-Jan-10 9:02
professionalManas Bhardwaj7-Jan-10 9:02 
AnswerRe: How To Create My Own File Encryption Algorithm Pin
Paladin20007-Jan-10 9:11
Paladin20007-Jan-10 9:11 
AnswerRe: How To Create My Own File Encryption Algorithm Pin
harold aptroot7-Jan-10 9:20
harold aptroot7-Jan-10 9:20 
GeneralRe: How To Create My Own File Encryption Algorithm Pin
Sokka937-Jan-10 18:47
Sokka937-Jan-10 18:47 
GeneralRe: How To Create My Own File Encryption Algorithm Pin
harold aptroot8-Jan-10 1:26
harold aptroot8-Jan-10 1:26 
GeneralRe: How To Create My Own File Encryption Algorithm Pin
Sokka938-Jan-10 5:42
Sokka938-Jan-10 5:42 
GeneralRe: How To Create My Own File Encryption Algorithm Pin
harold aptroot8-Jan-10 7:11
harold aptroot8-Jan-10 7:11 
QuestionGridview1_rowdatabound event Pin
Andrew Woodward7-Jan-10 6:47
Andrew Woodward7-Jan-10 6:47 
AnswerRe: Gridview1_rowdatabound event Pin
Saksida Bojan7-Jan-10 8:25
Saksida Bojan7-Jan-10 8:25 
AnswerRe: Gridview1_rowdatabound event Pin
OriginalGriff7-Jan-10 8:25
mveOriginalGriff7-Jan-10 8:25 
GeneralRe: Gridview1_rowdatabound event Pin
Andrew Woodward7-Jan-10 9:26
Andrew Woodward7-Jan-10 9:26 
GeneralRe: Gridview1_rowdatabound event Pin
OriginalGriff7-Jan-10 9:47
mveOriginalGriff7-Jan-10 9:47 
GeneralRe: Gridview1_rowdatabound event Pin
Andrew Woodward7-Jan-10 9:57
Andrew Woodward7-Jan-10 9:57 

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.