Screen2Video SDK ActiveX

Screen2Video SDK ActiveX

Platform : Windows 10, Windows 8, Vista, Windows 7, XP

For Windows Developers who need to Screen recording function to AVI, WMV in C#, C++ , VB.NET , VB, Delphi, VFP, MS Access and compatible with any programming language that supports ActiveX.

Popular Solution Go   Back

VB.NET - How to Record screen activity in vb.net

Step 1: Download Screen2Video ActiveX setup disk and installed it.

Step 2: Create New Visual Basic Project, select Windows Application.

Step 3: Add a buttons into the form.

Step 4: Add following code in buttons click event.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

AxScreen2Video1.FileName="c:\test.wmv"
AxScreen2Video1.OutputWMV=True
AxScreen2Video1.WMVProfile=7
AxScreen2Video1.CaptureLeft =0
AxScreen2Video1.CaptureTop = 0
AxScreen2Video1.CaptureWidth = 1024
AxScreen2Video1.CaptureHeight = 768
AxScreen2Video1.CaptureCursor = True
AxScreen2Video1.AudioDevice = 0
AxScreen2Video1.AudioInputPin = 0
AxScreen2Video1.AudioInputPinVolume = 1
AxScreen2Video1.Start

End
Sub

Step 5: Add a buttons named Btnstop into the form.

Step 6: Add following code in stop buttons click event.

Private Sub Btnstop_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btnstop.Click

AxScreen2Video1.Stop

End
Sub