473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

screenshot

can i use asp.net to capture a screen shot of a webpage? something like
this? http://img.nameintel.com/Thumbnails/...domain=cnn.com

Is there a script that does this?

Aaron
Jul 21 '05 #1
4 1942
Rather than the screenshot, what you can do is to save the HTML code of the
remote web page.
Unless you have a built-in HTML renderer in your ASP.NET project, you can't
possibly get
the screenshot saved as image.

"Aaron" <ku*****@yahoo.com> ¦b¶l¥ó news:ON*************@TK2MSFTNGP12.phx.gbl
¤¤¼¶¼g...
can i use asp.net to capture a screen shot of a webpage? something like
this? http://img.nameintel.com/Thumbnails/...domain=cnn.com

Is there a script that does this?

Aaron

Jul 21 '05 #2
Lau Lei Cheung is right, Aaron. The image you showed is of a web page,
which means that you want a picture of a rendered page, as it appears to a
web client.
You would need to download all images from the web server, and the HTML, and
modify the HTML to get the images from your download cache, and then store
all of it together. IE does this when you save a page locally as an MHT.

Perhaps you can ask IE to do this for you, but I don't have any idea of how
to do that.

Good luck,
--- Nick

"Aaron" <ku*****@yahoo.com> wrote in message
news:ON*************@TK2MSFTNGP12.phx.gbl...
can i use asp.net to capture a screen shot of a webpage? something like
this? http://img.nameintel.com/Thumbnails/...domain=cnn.com

Is there a script that does this?

Aaron

Jul 21 '05 #3
Copying the HTML wouldn't get you the images used in the page though, you'd
need to save the referenced image files also.
"Lau Lei Cheong" <le****@yehoo.com.hk> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Rather than the screenshot, what you can do is to save the HTML code of
the
remote web page.
Unless you have a built-in HTML renderer in your ASP.NET project, you
can't
possibly get
the screenshot saved as image.

"Aaron" <ku*****@yahoo.com> ¦b¶l¥ó
news:ON*************@TK2MSFTNGP12.phx.gbl
¤¤¼¶¼g...
can i use asp.net to capture a screen shot of a webpage? something like
this? http://img.nameintel.com/Thumbnails/...domain=cnn.com

Is there a script that does this?

Aaron


Jul 21 '05 #4
Scott M. wrote:
Copying the HTML wouldn't get you the images used in the page though,
you'd need to save the referenced image files also.


See http://www.codeproject.com/vb/net/MhtBuilder.asp.

Scott C.
Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Saqib Ali | last post by:
Hello All, A while back I ran into a site which enabled to the users to get a ScreenShot of a specified webpage as viewed in Mac OS X's web browser (safari). I lost my bookmark in a machine...
1
by: jani | last post by:
Hi all, does anyone know how to take a screenshot of a winform using c#? I have an Add-In program for MS Word in c#, and want to render the WinForm to a gif image, then insert the screenshot into...
4
by: Aaron | last post by:
can i use asp.net to capture a screen shot of a webpage? something like this? http://img.nameintel.com/Thumbnails/tn.html?domain=cnn.com Is there a script that does this? Aaron
6
by: Geert M | last post by:
Hello, I'm busy working on a "small" sms application. I'm able to access all remote pc's (for which I am Local Admin) information using WMI and API calls for some things. But I can't figure out...
3
by: Dean Slindee | last post by:
I would like to capture a picture of the active window on the screen to use in an error routine. Like the following, which captures the entire desktop: Dim objRectangle As Rectangle =...
1
by: Yosh | last post by:
I want to be able to capture a screenshot of a windows form that is hidden. My goal here is to create a form of any particular size (the size could be larger than the screen), get a screenshot, and...
2
by: Java Boy | last post by:
Is it possible to fetch a webpage and take screenshot of it like it displays in browser and then store it in jpg/gif thanks -- Geeks Home www.fahimzahid.com
19
by: mareeus | last post by:
Hi, Are there any ways I could get a screenshot of a web-page at a specific address in jpeg via php script? Regards, Marius.
5
by: sharkbate24 | last post by:
Hello, I need some help please. I already know how to capture the full screen, because the .NET framework simplifies it a lot. Anyway, I was wondering, is it possible to capture a Window /...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.