Results 1 to 14 of 14

Thread: Prevent appkication from taking Screen shot

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    99

    Question Prevent appkication from taking Screen shot

    if there is any way to prevent my application from taking screen shot iam using this method
    Code:
     If Clipboard.ContainsImage = True Then Clipboard.Clear()
    if this is correct?
    and also what about screen capture application they take the screen shot without using clip board what is logic behind it and if there is any way to resolve it?

  2. #2
    Frenzied Member stateofidleness's Avatar
    Join Date
    Jan 2009
    Posts
    1,780

    Re: Prevent appkication from taking Screen shot

    well most won't copy to clipboard as it's extremely slow and assumes you'll be "pasting" it somewhere at a later point.

    most will take the screenshot and write it directly to the hard drive as an image file. you'd have to monitor a folder's contents to see if files are added or something to be able to detect it. and at that, you'd have to know where it's writing them to.

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Prevent appkication from taking Screen shot

    This is a very strange request. It sounds like you're either trying to workaround a malicious program or else circumvent a legitimate security program. Would you mind providing some more details of exactly why you need to do this?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    99

    Re: Prevent appkication from taking Screen shot

    actually i have a request from a photographer he want to show his images to user via internet and i have a proper idea to do so but he want prevent from taking screen shots of his images. but its very tough job please give me any idea

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Prevent appkication from taking Screen shot

    You're correct: it's a very tough job and, I'd imagine, actually impossible. If people want to put images on the web that they don't want others to copy they usually do one of two things:

    1. Use a low res version.
    2. Put a watermark on each image.

    The first option is probably not a good idea as it will make the photos look poor, so the second option should be what you and they work out between you.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Prevent appkication from taking Screen shot

    Even if you could create an app that would prevent people taking screenshots, that's only useful if the app is installed. If these images are on the web then how can you possibly stop everyone from taking screenshots on their own computers?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    99

    Re: Prevent appkication from taking Screen shot

    Quote Originally Posted by jmcilhinney View Post
    You're correct: it's a very tough job and, I'd imagine, actually impossible. If people want to put images on the web that they don't want others to copy they usually do one of two things:

    1. Use a low res version.
    2. Put a watermark on each image.

    The first option is probably not a good idea as it will make the photos look poor, so the second option should be what you and they work out between you.
    yes i also give him (photographer) this idea but he said pictures are very precious and those who want to copy them they can use them with watermark without any hesitation .

    if any way we can found that now any externational application is focusing on my app ?

    then i can minimize my app

  8. #8
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Prevent appkication from taking Screen shot

    I would bet large sums of money that what you're asking for is simply impossible.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  9. #9
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,390

    Re: Prevent appkication from taking Screen shot

    i agree - impossible - there are alot of methods that can be used to take a screenshot - if you make ways to circumvent the common ones this there will always be other ways to do it.

    I would have said (prior to desktop composition (pre vista) and desktop composition emulation (ie. pre windows xp sp3)) you could have made movie clips from your pics shown them instead as very few apps (i don't know of any) that could screen shot them in win xp. - but am sure its impossible now

    Kris

  10. #10
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: Prevent appkication from taking Screen shot

    Have at look at this site which does exactly as said, adds an overlay to push people away from just copying the image. The quality and size are less and the overlay should annoy 95% of normal users enough to stop them printing their own wedding album .

  11. #11
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 2009
    Location
    Canada
    Posts
    2,802

    Re: Prevent appkication from taking Screen shot

    Will your application prevent a person from taking a picture of the computer screen with a camera as well?

  12. #12

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    99

    Re: Prevent appkication from taking Screen shot

    Quote Originally Posted by ForumAccount View Post
    Will your application prevent a person from taking a picture of the computer screen with a camera as well?
    yes what can i do with a camera its not possible to stop camera ok i leave it
    bundle of thanks

  13. #13
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Prevent appkication from taking Screen shot

    Explain to your client that you thought that it might be possible but, having consulted several more experienced developers, you now realise that it's simply not.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  14. #14

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    99

    Re: Prevent appkication from taking Screen shot

    yes of cores

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width