Solved

Creating keyboard filters using Silverlight

Posted on 2011-02-21
5
277 Views
Last Modified: 2012-05-11
When I run a Silverlight app. out of browser on the Windows platform, I'd like to create a keyboard filter than allows me to test for the PrtScrn key and override it.  Can this be done from Silverlight?

Curious.

newbieweb
0
Comment
Question by:newbieweb
  • 3
  • 2
5 Comments
 
LVL 16

Assisted Solution

by:Kalpesh Chhatrala
Kalpesh Chhatrala earned 500 total points
ID: 34948735
Here is a reasonably good approach to image leeching:

http://www.uberasp.net/getarticle.aspx?id=13
0
 

Author Comment

by:newbieweb
ID: 34948753
Thanks. Any idea if I can create a keyboard filter to capture the PrtScrn key press? Or is there a way to ask Windows to disable that while my web p[age is showing?
0
 
LVL 16

Accepted Solution

by:
Kalpesh Chhatrala earned 500 total points
ID: 34948818
you can add timer on your main page.

check every tick (like 500 ms) if window is active then clean your clipboard
0
 

Author Comment

by:newbieweb
ID: 34952666
Is there no way from Silverlight to inspect the key strokes? Or is it that the browser doesn ot have that capability?

Can't a web page run an ActgiveX control? And can't that filter key strokes?

It doesn't seem like it should be that hard.  The clean the clipboard method also seems like it should work but I would rather not mess with the data the user has in the clipboard if possible.
0
 

Author Closing Comment

by:newbieweb
ID: 34979699
Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need help parsing JSON in my VB.Net application 4 43
how to read json value 2 30
Coding C# in Linux 8 21
When should I use a controller? 3 10
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now