❓ [Help] Screenshot in game

Posts 1–14 of 14 · Page 1 of 1
❓ [Help] Screenshot in game
Hi Evryone.
i can't use api for screenshot in game

pls give me source code in vb6
thx and im sory for my bad english
I wrote a tutorial on taking a screenshot with NO API, it should be in the tuts section (stickies) it is for vb.net.

Why are you still using VB6? Time to upgrade..... Vb.net 2010 Express (and 2008) is free you know...?
Just press the printscreen and use my.computer.clipboard.getimage...

(Programatically ofc...)
Quote Originally Posted by Blubb1337 View Post
Just press the printscreen and use my.computer.clipboard.getimage...

(Programatically ofc...)
don't work
Screenshot Black

Quote Originally Posted by Blubb1337 View Post
Just press the printscreen and use my.computer.clipboard.getimage...

(Programatically ofc...)
don't work
Screenshot Black

Quote Originally Posted by Blubb1337 View Post
Just press the printscreen and use my.computer.clipboard.getimage...

(Programatically ofc...)
don't work
Screenshot Black
In vb.net try

Imports Microsoft.DirectX3D

Dim backbuffer As Surface = device.GetBackBuffer(0, 0, BackBufferType.Mono)
SurfaceLoader.Save("Screenshot.bmp", ImageFileFormat.Bmp, backbuffer)
backbuffer.Dispose()

The issue is your not drilling down into the direct X game (this happens with some videos as well)
new qustion
for resize pic to 400*400 and cheang format to jpg
let me guess, you're trying to do this with AVA, right? if not i can help you. (if yes, i can help you too /)

Thanks!
Quote Originally Posted by /b/oss View Post
let me guess, you're trying to do this with AVA, right? if not i can help you. (if yes, i can help you too /)

Thanks!
Hi again /
no MW2 /
Quote Originally Posted by sima_6600 View Post
Hi again /
no MW2 /
wow, then i have no idea. when you press Print screen and paste it into paint you see black screen shoot? maybye.. u running FS (full screen mode)? if yes; press ALT + enter (hope i'm not wrong about key combination) and try aggain in windowed mode. if you're running windowed mode try in fullscreen mode.

However, hi

Thanks
Public Class Form1
Dim backbuffer As Surface = device.GetBackBuffer(0, 0, BackBufferType.Mono)

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

SurfaceLoader.Save("Screenshot.bmp", Imaging.ImageFormat.Bmp, backbuffer)
backbuffer.Dispose()
End Sub
End Class

don't work
DO you have directX SDK

Did you import Direct3D?
yes im import
project>add Reference..>microsoft.DirctX
pls give me all source for save pic and resize thx
resize pic: make picturebox 400x400 big (example) then click on properites of pb (pic box) and put image location (srry im on phone and i don' remeber) on center. ex picbox1.image is(don't have the two lined) and then file location or clipboar or w/e. hope i helped, thanks for reading
umm hit alt print up near f12 button ====> and <======= of scroll lock key ;D
Posts 1–14 of 14 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us