473,385 Members | 1,320 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,385 software developers and data experts.

ScreenShot Capturing

hi,


How we can Capture The screen Shot of the Window?????


Is it possin\ble in web Applications??????
I am Waiting for ur Answer//
Thanks in advance
Sree
Mar 12 '08 #1
1 918
dip_developer
648 Expert 512MB
hi,


How we can Capture The screen Shot of the Window?????


Is it possin\ble in web Applications??????
I am Waiting for ur Answer//
Thanks in advance
Sree
I think you are telling about HTML screen scrapping..

take a Label[Label1] and a Button[Button1] control on your web page......on the click event of Button write the following code.....and tell me whether you want it or not......the code is in vb.net

Expand|Select|Wrap|Line Numbers
  1.  
  2. Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
  3.         Dim webClient As New System.Net.WebClient()
  4.         Const strUrl As String = "http://www.yahoo.com/"
  5.         Dim reqHTML As Byte()
  6.         reqHTML = webClient.DownloadData(strUrl)
  7.         Dim objUTF8 As New UTF8Encoding()
  8.         Label1.Text = objUTF8.GetString(reqHTML)
  9.     End Sub
  10.  
Happy programming !!!!
Mar 12 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Mike Mimic | last post by:
Hi! I would like to know if there is some kind of program which would make a screenshot of a web page without use of X Windows. I have a server without X Windows and I would like to have a...
33
by: Joerg Schuster | last post by:
Hello, Python regular expressions must not have more than 100 capturing groups. The source code responsible for this reads as follows: # XXX: <fl> get rid of this limitation! if...
1
by: Malcolm Lim | last post by:
I'd like to know how to capture a screenshot of the desktop in 256 colors (8 bits) instead of the default 32 bits. If possible, please include some sample source codes as i have tried searching...
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...
14
by: Brent Burkart | last post by:
I am trying to capture the Windows Authenticated username, but I want to be able to capture the login name that exists in IIS, not Windows. In order to enter my company's intranet through the...
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...
15
by: Nayan | last post by:
Hi, Can anyone suggest working sample of capturing a window's picture? I tried a few, but couldn't get the image. I don't know why those functions are not getting the image. Note: I want the...
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.
3
by: Jeremy8675309 | last post by:
Hi all this is my first post. Thanks for any help you can provide. I am writing a monitoring program for a bunch of blades. Each of the blades has one of my client programs running on them. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.