Click here to Skip to main content
11,584,622 members (72,349 online)
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 4:58am
Edited 21-Apr-11 6: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 1,703
1 Sergey Alexandrovich Kryukov 1,267
2 Abhinav S 711
3 Dave Kreskowiak 687
4 Suvendu Shekhar Giri 568


Advertise | Privacy | Mobile
Web03 | 2.8.150707.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