Button1, form1 (CAPTURE)
If CheckBox1.Checked = CheckBox2.Checked = True Then MsgBox("Error") Else If CheckBox1.Checked = True Then Me.Hide() bound = Screen.PrimaryScreen.Bounds screenshot = New System.Drawing.Bitmap(bound.Width, bound.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb) graph = Graphics.FromImage(screenshot) graph.CopyFromScreen(bound.X, bound.Y, 0, 0, bound.Size, CopyPixelOperation.SourceCopy) Form2.PictureBox1.Image = screenshot Form2.Show() Me.Show() Else If TextBox1.Text = "" Then MsgBox("Invalid information") Else If TextBox2.Text = "" Then MsgBox("Invalid information") Else If TextBox1.Text + TextBox2.Text = "" Then MsgBox("Invalid information") Else Me.Hide() Form2.Hide() Form2.PictureBox1.Width = TextBox1.Text Form2.PictureBox1.Height = TextBox2.Text bound = Screen.PrimaryScreen.Bounds screenshot = New System.Drawing.Bitmap(bound.Width, bound.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb) graph = Graphics.FromImage(screenshot) graph.CopyFromScreen(bound.X, bound.Y, 0, 0, bound.Size, CopyPixelOperation.SourceCopy) Form2.PictureBox1.Image = screenshot Form2.Show() Me.Show() End If End If End If End If End If
Button 2, form1 (SAVE)
Try Dim savefiledialog1 As New SaveFileDialog savefiledialog1.Title = "Save File" savefiledialog1.FileName = "*.bmp" savefiledialog1.Filter = "Bitmap |*.bmp" If savefiledialog1.ShowDialog() = DialogResult.OK Then Form2.PictureBox1.Image.Save(savefiledialog1.FileName, System.Drawing.Imaging.ImageFormat.Bmp) End If Catch ex As Exception End Try
Button 3,form3 ( STOP)
REC.Enabled = False REC.Stop() Me.Show() Dim stopframe As New System.IO.StreamWriter("D:\Recorder\Stop\" + "\" + "stoppedframe.txt") stopframe.Write(Filenum.Text) stopframe.Close()
Timer , form3 ( REC)
Filenum.Text = Filenum.Text + 1 Dim screensize As Size = New Size(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height) Dim BMP As New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height) Dim ga As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(BMP) ga.CopyFromScreen(New Point(0.0), New Point(0, 0), screensize) Dim fileDiro As String = Filedir.Text Dim frame As String = Filenum.Text BMP.Save(fileDiro + frame) Dim hotkey As Boolean hotkey = GetAsyncKeyState(Keys.F2) If hotkey = True Then Dim stopframe As New System.IO.StreamWriter("D:\Recorder\Stop\" + "\" + "stoppedframe.txt") stopframe.Write(Filenum.Text) stopframe.Close() Me.Show() Videoscreenwindow.Close() Filenum.Text = 0 Console.Beep() Console.Beep() Console.Beep() REC.Enabled = False REC.Stop() End If
Timer1, form3 ( TIMER1)
Filenum.Text = Filenum.Text + 1 Dim fileDir1 As String = Filedir.Text Dim frame As String = Filenum.Text Dim maximum As String = File.Text Dim max As New System.IO.StreamReader("D:\Recorder\Stop\" + "\" + "stoppedframe.txt") File.Text = max.ReadLine If frame = maximum Then Timer1.Stop() End If Videoscreenwindow.Show() Videoscreenwindow.PictureBox1.Load(fileDir1 + frame)
And that's it for all folks ! ;)
And with those 6 buttons you only need to fill in:
REC.interval = 10
etc. etc....
What screen recorded did you use to make this video? please provide the name or a link. thanks :)
iBallen09 1 year ago
@iBallen09 I used camtasia studio
bamboohatman 1 year ago
i under stand the video and it works very well but first of all you got this off of userisaFBAgent second the resond i commented is becouse i have been looking for how to make an acuall screen recorder for like a year and i have seen a billion of these videos and it just pisses me offf
btw i rated 5 stars
Zelsoft 2 years ago
well it's very kind that you rated 5 stars, only you don't have to react like that :| against me...
bamboohatman 2 years ago
none of the videos on how to make screen recorder work and why the fuck would we need one that takes muliple pictures it's easy to make a screen capture but can any one make a screen recorder?
Zelsoft 2 years ago
hellooo, mine works for me and for some it does, I don't know why it isn't working for you. I think because you don't listen that good to my video. And why do you comment this I don't even post a thing that can take multiple pictures :|. And why are you asking question under my video comments :|
bamboohatman 2 years ago