Private Declare Function CreateDC Lib "gdi32" Alias "CreateDCA" (ByVal lpDriverName As String, ByVal lpDeviceName As String, ByVal lpOutput As String, ByVal lpInitData As String) As Integer
Private Declare Function CreateCompatibleDC Lib "GDI32" (ByVal hDC As Integer) As Integer
Private Declare Function CreateCompatibleBitmap Lib "GDI32" (ByVal hDC As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer) As Integer
Private Declare Function GetDeviceCaps Lib "gdi32" Alias "GetDeviceCaps" (ByVal hdc As Integer, ByVal nIndex As Integer) As Integer
Private Declare Function SelectObject Lib "GDI32" (ByVal hDC As Integer, ByVal hObject As Integer) As Integer
Private Declare Function BitBlt Lib "GDI32" (ByVal srchDC As Integer, ByVal srcX As Integer, ByVal srcY As Integer, ByVal srcW As Integer, ByVal srcH As Integer, ByVal desthDC As Integer, ByVal destX As Integer, ByVal destY As Integer, ByVal op As Integer) As Integer
Private Declare Function DeleteDC Lib "GDI32" (ByVal hDC As Integer) As Integer
Private Declare Function DeleteObject Lib "GDI32" (ByVal hObj As Integer) As Integer
Const SRCCOPY As Integer = &HCC0020
Private oBackground As Bitmap
Private FW, FH As Integer
Now add this sub anywhere to your project, just make sure it's not in another sub.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
CaptureScreen()
oBackground.save("C:/picture.jpg")
End Sub
Hope it works.I will make many more tutorial on how to learn visual basic!leave a feedback if you have problems!
CREDITS GOES TO ME AND BOOMER!
Thank you very much. It works well on my pc. What I really need is the picture of the VB form I am working on. Could you tell me how to do it, or could you offer a code? Thank you in advance.
Tutorial ~ Screen erstellen 02/09/2011 - WarRock Guides, Tutorials & Modifications - 7 Replies Hallo Elitepvpers,
Hier ein kleines Tutorial wie ihr einen "Screenshot" erstellt & anschauen könnt.
1) Ingame gehen & eine gute stelle suchen wo man einen Screen machen will.
2) PRTSC/Druck Taste betätigen (drücken).
3) WarRock Ordner->Screenshots.
http://www.forums9.ch/webtips/doku/PrintScreen/Pr intScreen003.JPG - Screen
[TUTORIAL] Starter friendly tutorial to searching for Nuke casting time [TUTORIAL] 02/09/2011 - 9Dragons - 12 Replies If you already have Cheat Engine and know how to use it, skip to part 4 of the tutorial.
1. Introduction
This forum has helped me quite a bit, so I decided to give something back :)
Now I've noticed there are quite a few who ask for nuke casting time hacks / address', and I've also noticed, that there are quite a few who are REALLY annoyed with these questions, so I decided to write this so both sides can benefit from it.
2. Getting started
First off, you need to have Cheat Engine...
[Tutorial] how to start WH.dll on XP [screen] 03/16/2010 - CrossFire - 32 Replies you MUST have:
faithDEV injector
WH.dll
a really speed click xD
NOW:
open faithDEV and browse the WH.dll
insert crossfire.exe as process name
Screen Capture oder so 03/23/2008 - Technical Support - 0 Replies Hat jemand von euch ein Programm das alle 10 Sekunden oder mehr oder weniger ein Screen macht und in einen Eingestellten Ordner speichert?
Wäre nett wenn ich einen Link bekommen könnte ;) gegoogelt hab ich schon
ps : Ich will kein Video :p