Project: VB6Camera
Version: 3.0.0
Report Date: 08/06/2023 12:06:07
By: Yaron Goali (WISERBIT DOT COM) for Microncode.com
User Control: cCam
Functions
Capture - Public (Return Datatype: Boolean)
Description: Start to capture from the camera device to a video file (avi).
Return: True if success, false if an error apears.
Optional | ByVal/ByRef | Variable | Datatype |
Optional |
|
lFps |
Long(15) |
Optional |
|
bLimitSec |
Boolean(False) |
Optional |
|
lLimitSec |
Long(30) |
Optional |
|
bCaptureAudio |
Boolean(True) |
Optional |
|
bUserHitOKToCapture |
Boolean(True) |
Optional |
|
bAbortLeftMouse |
Boolean(True) |
Optional |
|
bAbortRightMouse |
Boolean(True) |
Optional |
|
bAVStreamMaster |
Boolean(True) |
Optional |
|
lIndexSize |
Long(-1) |
ConnectDriver - Public (Return Datatype: Boolean)
Description: Connect to the lDriverIndex driver.
Return: True if success, false if an error apears.
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
lDriverIndex |
Long |
DeInit - Public (Return Datatype: Long)
Description: DeInit the control, must be call before closing the program.
Return: 0 if success, otherwise a number describe the error.
GetDrivers - Public (Return Datatype: Collection)
Description: Get the installed drivers to a collection.
Return: collection of installed driver.
GetDriversX - Public (Return Datatype: Long)
Description: Get the installed drivers without using the VB6 collection.
Return: The number of the installed drivers.
GetDriverXVal - Public (Return Datatype: String)
Description: Get the installed driver acording to the lIndex.
Return: A string with the driver name.
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
lIndex |
Long |
Init - Public (Return Datatype: Long)
Description: Init the control, must be call before using any functionality of the control.
Return: 0 if success, otherwise a number describe the error.
Optional | ByVal/ByRef | Variable | Datatype |
Optional |
ByVal |
sKey |
String |
PaletteLoad - Public (Return Datatype: Boolean)
Description: Load Palette.
Return: True if success, false if an error apears.
PaletteSave - Public (Return Datatype: Boolean)
Description: Save Palette.
Return: True if success, false if an error apears.
SaveSingleFrame - Public (Return Datatype: Boolean)
Description: Save a single frame to bmp file..
Return: True if success, false if an error apears.
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
sFileName |
String |
SetAudioFormatDlg - Public (Return Datatype: Boolean)
Description: Set the audio compression..
Return: True if success, false if an error apears.
SetCapFile - Public (Return Datatype: Boolean)
Description: Set the path and the name of the capture video file.
Return: True if success, false if an error apears.
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
sFileName |
String |
SetCompression - Public (Return Datatype: Boolean)
Description: Set the capture compression.
Return: True if success, false if an error apears.
SetDisplay - Public (Return Datatype: Boolean)
Description: Set the camera display.
Return: True if success, false if an error apears.
SetFormat - Public (Return Datatype: Boolean)
Description: Set the camera format.
Return: True if success, false if an error apears.
SetSource - Public (Return Datatype: Boolean)
Description: Set the camera source.
Return: True if success, false if an error apears.
SetVidFileAs - Public (Return Datatype: Boolean)
Description: Set the path and the name of the capture video file with dialog box.
Return: True if success, false if an error apears.
Event Declares
Error - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
|
lErrNumber |
Long |
|
|
sErrMessage |
String |