Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Creating keyboard filters using Silverlight

Posted on 2011-02-21
5
Medium Priority
?
296 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 16

Assisted Solution

by:Kalpesh Chhatrala
Kalpesh Chhatrala earned 2000 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 2000 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

A new era in Cloud training has arrived.

A day that will go down in Cloud history.. But are you ready for it? Will you accept this Cloud challenge?

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

661 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