1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Print screen doesnt work on visual basic

Discussion in 'Programming & Webmastering' started by Aleksander, Nov 28, 2012.

  1. Aleksander

    Joined:
    Dec 2, 2009
    Messages:
    3,254 (1.91/day)
    Thanks Received:
    304
    I am having trouble programming with a friend of mine a screenshot program,
    because in some games it doesn't work. Looks like it needs directx.
    Does anyone know how to do that, in C# or visual basic?
  2. de.das.dude

    de.das.dude Pro Indian Modder

    Joined:
    Jun 13, 2010
    Messages:
    7,519 (4.99/day)
    Thanks Received:
    1,948
    tried FRAPS???
  3. Aleksander

    Joined:
    Dec 2, 2009
    Messages:
    3,254 (1.91/day)
    Thanks Received:
    304
    i know fraps, but we are trying to create a program which is like fraps + other interesting stuff.
    We want to capture the screen with our program, so we have to ask a way how to do that
  4. de.das.dude

    de.das.dude Pro Indian Modder

    Joined:
    Jun 13, 2010
    Messages:
    7,519 (4.99/day)
    Thanks Received:
    1,948
    i see. sorry cant help there.
  5. Kreij

    Kreij Senior Monkey Moderator Staff Member

    Joined:
    Feb 6, 2007
    Messages:
    13,881 (5.08/day)
    Thanks Received:
    5,615
    Location:
    Cheeseland (Wisconsin, USA)
    Because the game is running in DirectX you are almost certainly going to have to get the screen from the hardware using hooks into the DirectX APIs.
  6. Aleksander

    Joined:
    Dec 2, 2009
    Messages:
    3,254 (1.91/day)
    Thanks Received:
    304
    Exactly. Unfortunately, that seems very difficult, maybe one of the great programming enigmas.
    Any help would be much appreciated, but for what i see even other people have not success on this one.
  7. Jizzler

    Jizzler

    Joined:
    Aug 10, 2007
    Messages:
    3,395 (1.33/day)
    Thanks Received:
    634
    Location:
    Geneva, FL, USA

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page