[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...)
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
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