Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Windows Forms screen Web
I downloaded the source file from this tutorial on how to screen capture a webpage in C#:
 
Image Capture Whole Web Page using C#[^]
 
Now, the programs runs fine, but when I screen capture a webpage the image doesn't display. Instead, it just displays a black image?
Posted 21-Apr-11 5:58am
Edited 21-Apr-11 7:07am
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

The article is from 2005, Microsoft have probably changed things it depends on.
 
Can you not use SendKeys to send an Alt+PrntScrn to the browser window?
  Permalink  
Comments
maxg316 at 21-Apr-11 11:57am
   
Im not familiar with SendKeys
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

The thread below suggests saving as an MHT file and then rendering that as an image :
 
http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvb/thread/b4710708-8a9f-4139-9b24-fae8e5093327[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 350
1 Jochen Arndt 190
2 Richard MacCutchan 135
3 Sergey Alexandrovich Kryukov 130
4 DamithSL 105
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,310


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 21 Apr 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100