Screen recording of a region around the mouse ready-to-use code sample:

This sample code demonstrates how to display built-in screen recording options dialog in Screen Capturing SDK

Visual Basic 6 and VBScript (VBS) code sample:

' create video capturer activex object
Set capturer = CreateObject("BytescoutScreenCapturing.Capturer")

' set output video file name
capturer.OutputFileName = "CapturedOutput.avi"

' show capturing properties dialog
capturer.ShowCaptureFilterPropertiesDialog (0)

' destroy Capturer object so the video will be saved into the disk
Set capturer = Nothing