PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview of the Web Camera control
  • Page control
  • Creating the control
  • Required configuration
  • Retrieving an image broadcasted by a "Web camera"
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview of the Web Camera control

Page control

The Web Camera control is used to view a file that is refreshed at regular time intervals. This file can correspond to an image broadcasted by a "web camera" for example.

Creating the control

To create a Web Camera control:
  1. In the page editor, click (or select "Insert .. Control .. Web Camera control").On the "Creation" pane, in the "Usual controls" group, expand "Image" and click "Web Camera".
  2. Click the position where the control will be created in the page. The control appears in creation mode.
To display the control characteristics, select "Description" from the popup menu of control.
Required configuration

Retrieving an image broadcasted by a "Web camera"

To retrieve an image broadcasted by a "Web camera" control:
  1. On the computer linked to the "web camera": configure the recording of the image broadcasted by a "web camera" (name of the file, rate of refresh, "web camera" used, ...). This setting can be performed:
    • by the software supplied with the "web camera".
    • by the "WD WebCam.exe" application available from the PC SOFT site (download page, "Other software" paragraph).
      The image file must be accessible from any computer that is using the WEBDEV site.
  2. On the development computer: specify the image file linked to the Web Camera control ("General" tab in the description window of the control).
Minimum required version
  • Version 9
Comments
WD webcam.exe
Hi. Where can I download WD webcam.exe? the pcsoft's download page doesn't have the "other software" link.

Thanks
MIGUEL
May 22 2019
Example Use Webcam
PROCEDURE WebCam()

IF fDirectoryExist("C:\Temp\") = False THEN
fMakeDir("C:\Temp\")
END

IF fFileExist("C:\Temp\FOTO_BENEFICIARIO.JPG") = True THEN
fDelete("C:\Temp\FOTO_BENEFICIARIO.JPG")
END

WEBCAM.Capture("C:\Temp\FOTO_BENEFICIARIO.JPG",viPictureCapture)
IMG_FOTO_BENEFICIARIO = "C:\Temp\FOTO_BENEFICIARIO.JPG"
IMG_FOTO_BENEFICIARIO..Visible = True
WEBCAM..Visible = False
BOLLER
Apr. 02 2019
Init Driver Webcam
//Open Window

WEBCAM.SetDriver("Microsoft WDM Image Capture (Win32) - (Version: 10.0.17134.1)")
BOLLER
Apr. 02 2019