PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
System functions
Versions 16 and later
Universal Windows 10 App Most of these functions are now available in Windows Phone.
New in version 16
Universal Windows 10 App Most of these functions are now available in Windows Phone.
Universal Windows 10 App Most of these functions are now available in Windows Phone.
Versions 18 and later
iPhone/iPad Some functions are now available for the iPhone/iPad applications.
New in version 18
iPhone/iPad Some functions are now available for the iPhone/iPad applications.
iPhone/iPad Some functions are now available for the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App Most of these functions are now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App Most of these functions are now available in Universal Windows 10 App mode.
Universal Windows 10 App Most of these functions are now available in Universal Windows 10 App mode.
The system functions are as follows:
SysAndroidVersionReturns information about the Android version used by the application.
SysCacheExternalStorageReturns the path of directory that will be used to store the data in cache on the external storage space of application.
SysChangeEnvironmentModifies the environment variables of the operating system found on the current computer.
SysChangeScreenResolutionModifies the resolution of a screen.
SysColorIdentifies or modifies the color of a Windows element.
SysColorResReturns the resolution of the screen in number of colors.
SysDetectLockedSessionDetects the change of lock for the Windows session.
Versions 23 and later
SysDeviceInfo
New in version 23
SysDeviceInfo
SysDeviceInfo
Retrieves information from the mobile device where the application is run
SysDirReturns the path of a system directory.
SysDirExternalStorageReturns the path of directory that will be used to store files in the external storage space of Android device.
SysDirStorageCardReturns:
  • Windows Mobile the list of storage cards found in the current Mobile device.
  • AndroidAndroid Widget the path of the root directory of the primary external storage area.
SysEnvironmentReturns the environment variables of the operating system for the current computer.
SysErrorModeModifies the display mode of errors.
SysGetDCRetrieves the DC (Device Context) of a window, control or screen.
SysGetExtLinkReturns the command linked to an extension.
SysIconAddAdds an icon into the taskbar (bottom right corner of screen).
SysIconAddImageAdds an icon that is superimposed over the icon of the application in the taskbar.
SysIconBadgeReturns or modifies the value displayed in the badge associated with the icon of an iOS or Universal Windows 10 App application.
SysIconDeleteDeletes an icon from the taskbar (next to the clock).
SysIconDeleteImageDeletes the icon that is superimposed over the icon of the application in the taskbar.
SysIconDisplayTooltipDisplays a tooltip for an icon found in the taskbar.
SysIconizeUsed to find out whether a window is minimized.
SysIconModifyModifies the icon file and/or the rollover message of an icon in the taskbar (bottom right corner of the screen).
SysIdentifierReturns the unique identifier of the current mobile device.
SysIMEIReturns the IMEI number of a Smartphone.
SysInstanceReturns the instance of a module.
SysIOSVersionReturns information about the iOS version used by the application.
SysLinkExtensionAssociates an extension (.txt, .avi, etc.) to a default execution program.
SysListScreenReturns the list of screens connected to one or more video cards.
SysListScreenOrientationUsed to find out the possible orientations of a screen on a Mobile Device (Pocket PC).
SysListScreenResolutionReturns the possible resolutions for a screen.
SysListVideoCardReturns the name of the video cards connected to the current computer.
SysMemoryExternalStorageReturns the amount of available memory on the external storage area of the device.
SysMetricReturns the resolution of a specific element.
SysNameExeReturns the name and full path of an application.
SysNameMainScreenReturns the name of the main screen for the computer.
SysNationReturns the nation currently used by the system.
SysNbExternalStorageReturns the number of external storage spaces found on an Android device.
SysNumberScreenReturns the number of screens currently connected to the current computer.
SysRecentDocAddAdds a file into the list of recently opened documents.
SysRecentDocListReturns the list of recently opened documents.
SysReleaseDCFrees the current DC (Device Context) retrieved by SysGetDC.
SysRemovableExternalStorageUsed to find out whether the external storage space corresponds to the moveable memory (SD Card).
SysScreenOrientationUsed to:
  • find out the orientation of the screen on the device (Pocket PC, Android, iOS or Universal Windows 10 App phone).
  • modify the orientation of the screen on the device (Pocket PC or Android phone).
SysScreenRectangleReturns the coordinates of the display rectangle corresponding to all the screens.
SysScreenResolutionReturns the resolution of a screen.
SysSerialNumReturns the serial number of the current Mobile Device (Pocket PC).
SysSetFocusGives focus to a window or to a control.
SysShutdownStops the system or closes the current Windows session.
SysSpaceReturns the physical memory space for the current computer.
SysStandbyUsed to:
  • find out and modify the amount of idle time before standby.
  • enable and disable the standby mode.
SysStatusExternalStorageReturns the availability status of the external storage space of the device.
SysStatusStorageCardReturns the availability status of the storage card on the device.
SysThemeReturns the visual theme currently displayed on the device running Universal Windows 10 App.
SysThumbnailAddButtonAdds a button into the thumbnail of the application in the taskbar.
SysThumbnailDeleteAllDeletes all the buttons associated with the thumbnail of the application from the taskbar.
SysThumbnailDeleteButtonDeletes one of the buttons found in the thumbnail of the application from the taskbar.
SysThumbnailModifyButtonModifies one of the buttons found on the application thumbnail in the taskbar.
SysUnlinkExtensionDeletes the association between an extension and a command that was created by SysLinkExtension.
SysValidHandleChecks the validity of a window handle.
SysVersionReturns information about the PHP version used on the current server.
SysWinActiveReturns the handle of the active window or activates a window.
SysWindowsVersionReturns information about the Windows version used on the current computer.
SysWinHandleReturns the handle of a window identified by its title.
SysWinShowModifies the display status of a window.
SysWinTitleReturns the title of a window.
SysXResReturns the horizontal screen resolution.
SysYResReturns the vertical screen resolution.
Related Examples:
WD Jump lists Training (WINDEV): WD Jump lists
[ + ] JumpList in Windows 7

A JumpList is a menu accessible from the Start menu or from the application icon in the taskbar.
It is used to display the documents recently or frequently opened by the application. It is also used to display the specific tasks.

This example handles images and some operations are directly accessible from the JumpList.
Managing the Windows session Unit examples (WINDEV): Managing the Windows session
[ + ] Managing the Windows session by programming with the WLanguage functions.
This example explains how to close the Windows session, stop the system and restart the PC, etc.
WD PC Info Training (WINDEV): WD PC Info
[ + ] WD PC Info

From an application, it may be useful to find out the language of the computer on which the application is run, to directly run the application in the proper language, to find out the currency of the computer, to specify in the application the conversion of currencies into the computer currency for example...

The "WD PC Info" example explains how to retrieve the regional and linguistic options from the computer and how to modify them:
- the language,
- the country,
- the format of the dates,
- the currency symbol,
- the thousand separator,
- the 1st day of the week,
- the decimal separator,
...
The Exe functions Unit examples (WINDEV): The Exe functions
[ + ] Using the functions for managing the memory processes of WINDEV (list of processes, consumed memory, list of DLLs used, location).
It can also be used to enable an application and to find out the list of opened windows as well as their handle.
The SysMetric function Unit examples (WINDEV): The SysMetric function
[ + ] Using SysMetric.
This function is used to retrieve a set of dimensions that are configured at system level.
For example, it allows you to find out the height of the menu bar in the applications, ...
The functions specific to Windows 7 Unit examples (WINDEV): The functions specific to Windows 7
[ + ] Using WLanguage functions specific to Windows 7:
- SysIconAddImage
- SysThumbnailAddButton
- SysThumbnailDeleteAll
The system functions (screens) Unit examples (WINDEV): The system functions (screens)
[ + ] Using the SysXxx functions on the screens in order to get various information:
- Retrieve the number of screens installed on the computer
- Retrieve the graphic cards installed on the computer
- Change the resolution of a screen
- ...
WD SystemInfo Sample components (WINDEV): WD SystemInfo
[ + ] WD SystemInfo
This example explains how to use the SystemInfo component.
The following topics are presented in this example:
1/ getting information about the operating system
2/ getting information about the user
3/ the browse of the network neighborhood by programing
Summary of the example supplied with WINDEV:
This example presents the features of the SystemInfo component.
A window containing three tabs is opened when starting the example.
Each tab presents one of the component features.
1/ Getting information about the operating system
The functions supplied in the SystemInfo component (see its documentation for more details) are used to get various information about the operating system and the computer: system version, makes and number of processors, amount of physical memory installed, etc.
2/ Getting information about the user
The SystemInfo component can also be used to find out (on the NT, 2000 and XP systems only) the name of the user in session as well as the list of local groups and the list of domain groups to which he belongs.
3/ The browse of the network neighborhood by programming
The third feature proposed by the component is used to browse the network neighborhood of the computer by programming. The returned information depend on the network client used (Microsoft client or Novell client for example) and it is used to enumerate the resources found on the local network: computers, printers, shared disks, etc.

CAUTION:
The modification of the source code of the example and/or component must be performed by an experienced user only. Indeed, unexpected modifications may cause a loss of data and/or an inconstancy of your system
The System functions Unit examples (WINDEV Mobile): The System functions
[ + ] Using the WLanguage "System" functions available in WINDEV Mobile:
- SysShutdown associated with the sysReboot, sysPoweroff, sysPoweronScreen and sysPoweroffScreen constants.
- SysDirStorageCard that is used to retrieve the path of the storage card
- SysSpace that is used to retrieve the sizes of spaces (storage and program, total and free)
- SysSerialNum that is used to retrieve the serial number of the device
See also
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment