|
-
Sep 30th, 2005, 04:53 PM
#1
Thread Starter
New Member
Stopping Screen Shots from being taken
Is there anyway to stop people from taking a screen shot/print screen of my program in vb?
-
Sep 30th, 2005, 04:56 PM
#2
Lively Member
Re: Stopping Screen Shots from being taken
Pry their Alt and Print Screen keys off? Actually that wouldn't stop people with screen grabbing programs.
-
Sep 30th, 2005, 08:36 PM
#3
Fanatic Member
Re: Stopping Screen Shots from being taken
Make it ugly as hell
-
Oct 1st, 2005, 04:05 AM
#4
Fanatic Member
Re: Stopping Screen Shots from being taken
Don't let folks install your program
-
Oct 1st, 2005, 06:54 AM
#5
Thread Starter
New Member
Re: Stopping Screen Shots from being taken
I was thinking more on the side of coding I have seen programs that stop you from taking screenshots the normal way by pressing prnt screen, that's what I'm looking for.
-
Oct 1st, 2005, 09:21 AM
#6
Re: Stopping Screen Shots from being taken
you can search Allapi.net to check if some API is related to such things...........coz the worst part is that PrntScrn doesnot have any KeyCode so that u can disable this key!!
-
Oct 3rd, 2005, 01:36 AM
#7
Re: Stopping Screen Shots from being taken
You could try installing a global hook to listen for the PrintScreen key press and consume the message so that it is not passed to Windows. I'm not sure whether Windows processes it first however. If it does you'd need a low-level keyboard hook which I'm also not sure if you can do in VB (will have to look that one up).
However, you can't stop screenshots being taken altogether. It is a very simple bit of code to make a small app that takes screenshots of the screen or a particular window, when you press F10, or click a button.
-
Oct 3rd, 2005, 06:28 AM
#8
Re: Stopping Screen Shots from being taken
 Originally Posted by andrewb
Actually that wouldn't stop people with screen grabbing programs.
In addition to what penagate said, there are a ton of screen grabbing programs out there. Some free, some shareware, but very easy to get your hands on.
-
Oct 3rd, 2005, 08:23 AM
#9
Addicted Member
Re: Stopping Screen Shots from being taken
I rememeber reading about some guys trying to disable screenshopcapture-programs. They had alot of ideas, though they probably didn't make it. One guy suggested hooking the api-function used in VB for screenshots, or change the dll a bit. They also talked about disorting the screen somehow, so that screenshots got messed up. Some of the ideas didn't sound toooo farfetched, though I dubt you could do it in VB
-
Oct 3rd, 2005, 08:27 AM
#10
Re: Stopping Screen Shots from being taken
Well to take a screenshot you use BitBlt. If you mess up BitBlt you also mess up a lot of things non-screenshot-related.
-
Oct 3rd, 2005, 08:56 AM
#11
Re: Stopping Screen Shots from being taken
I remember I came along something similar on the web several years ago. It was a component that was able to show images on a website, without the possibility to copy the image. It blocked screenshots as well.
I noticed that when this component was running, bitblt didn't function anymore, so I removed it immediately from my machine.
I never saw the component again, and I forgot the name.
-
Oct 3rd, 2005, 08:58 AM
#12
Re: Stopping Screen Shots from being taken
 Originally Posted by Frans C
I never saw the component again, and I forgot the name.
I would consider both to be good things.
-
Oct 3rd, 2005, 09:12 AM
#13
Fanatic Member
Re: Stopping Screen Shots from being taken
Try using GetAsyncKeystate (I dunno how its spelt)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|