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 Sergey Alexandrovich Kryukov 225
1 CHill60 210
2 Zoltán Zörgő 175
3 Peter Leow 170
4 Richard Deeming 166
0 Sergey Alexandrovich Kryukov 9,278
1 OriginalGriff 6,806
2 Peter Leow 4,432
3 Zoltán Zörgő 3,944
4 Richard MacCutchan 2,782


Advertise | Privacy | Mobile
Web01 | 2.8.150129.1 | Last Updated 21 Apr 2011
Copyright © CodeProject, 1999-2015
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