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

EMULATE THE PRINT SCREEN COPY BUTTON

I would like use the Print Screen Button to copy a part of
page using ASP.
En fact, I use a data access page of a chart (pivot)
created by access.
And I would like copy only the chart.

I think the easiest way is to use a Print Screen Button of
keyboard.

Some body could help me to found a solution to control
this button using ASP.

Thanks for your help.
Regards.

Yervant.

Jul 19 '05 #1
1 5322
this could be done very easily in a vbs script. havent tried it in asp
though. of course, this would only work server side, but you could creaet a
page to asp file to run the vbs script.

<script language="VBScript">
dim shell
set shell = wscript.createobject("wscript.shell")
shell.sendkeys "{PRTSC}"
wscript.sleep 200
wscript.quit()
set shell = nothing
</script>

"YERVANT" <ye************@eurocopter.com.mx> wrote in message
news:20*****************************@phx.gbl...
I would like use the Print Screen Button to copy a part of
page using ASP.
En fact, I use a data access page of a chart (pivot)
created by access.
And I would like copy only the chart.

I think the easiest way is to use a Print Screen Button of
keyboard.

Some body could help me to found a solution to control
this button using ASP.

Thanks for your help.
Regards.

Yervant.

Jul 19 '05 #2

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

Similar topics

1
by: Tomomichi Amano | last post by:
Is there is a way to "print screen" through a program? (to copy the screen like when you press the Prt Sc button, and the Ctrl button)
0
by: melanieab | last post by:
Hi, I have a tabpage with a print button. This button tries to do a print screen, and it works fine the first time, but if I try to press print again, I get error: An unhandled exception of type...
3
by: Brian Bischof | last post by:
I'm have a form with a datagrid showing a checkbox for each row. I want the user to be able to click a checkbox and then click a button that sends an email similar to how the HREF MailTo: works. I...
1
by: fischermx | last post by:
My software should take snapshots from the current screen from an icon in the try area. I need to programmatically emulate what the "print-screen" keyword does. How do I do that ? Thanks in...
0
by: Sin Jeong-hun | last post by:
The term 'system-wide' just means that click is dealt in whole-screen wide level. Just like the real mouse pointer. What I'd like to do is to emulate mouse move and click. For example, the...
2
by: toronto | last post by:
Seasons Greetings Everyone! I want to use JavaScript's event object to detect whether someone has pressed the 'PrintScreen' key to screenshot, via the Windows Clipboard, and to print website...
6
tdw
by: tdw | last post by:
the View Orders form in my Access database has a Print button on it. It has other buttons too, like Edit etc. These buttons used to be at the bottom of the form laid out horizontally, but this was...
0
by: EricJudge06 | last post by:
We are converting some reports from Crystal Reports to Microsoft SQL Reporting Services (SSRS) in an ASP 2.0 VB.Net web app. Crystal had a function called PrintToPrinter which was being used to...
12
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.