Solved

Creating keyboard filters using Silverlight

Posted on 2011-02-21
5
284 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

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…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 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