how do i make a screen recorder?
Printable View
how do i make a screen recorder?
You will need a timer that will execute something like this every so often.
that didn't help me the code doesn't work
That doesn't tell us anything at all - what didn't work for you?
Be more specific please.
i tried the code there and added picturebox and button and it didint work so i dont know if i can use that
But what exactly did not work for you? :confused:
i dont know what didn't work i tested the program you showed me and it didn't work for me nothing worked
OK, I rest my case - maybe somebody else. At least I tried... Sorry. :ehh:
its ok but thanks for trying!
Hey RhinoBull, the problem is here:
Private Type Rect
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Private Declare Function CreateEnhMetaFile Lib "gdi32" _
Alias "CreateEnhMetaFileA" _
(ByVal hdcRef As Long, _
ByVal lpFileName As String, _
ByRef lpRect As Rect, _
ByVal lpDescription As String) As Long
Where it says End Type and then goes to private declare function, an error comes up saying: Compile Error: Only Comments may appear after End Sub, End Function, or End Property
I'm quite interested in this too, if there's a fix, please tell ;)
Welcome to VBForums :wave:
That error means that you put the code in the wrong place - it needs to go in the "General" -> "Declarations" section, which is at the very top of the code file.
Hey, Where is the General bit? Sorry, quite new to this program, just want to help out some friends i know
ahh i found it, but how does this work? It says create metafile, what does it do lol?
i want to do this for our game project ... i put the timer and i can see it display the changes happening on the desktop
but idunno how to save it for me to view it in a media player
if possible i want it in mp4 format cuz avi uses too much disk space