PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Returns the list of disks installed on the computer.
Versions 24 and later
Windows This function is now available for the WEBDEV sites in Windows.
New in version 24
Windows This function is now available for the WEBDEV sites in Windows.
Windows This function is now available for the WEBDEV sites in Windows.
Example
sListDisk is string
sListDisk = fListDisk() // Returns "C:" + CR + "D:" + CR + "I:"
ListAdd(COMBO_Disk, sListDisk)
Syntax
<Result> = fListDisk()
<Result>: Character string
List of disks installed on the computer in the following format:
<Name of drive 1> + CR + <Name of drive 2> + CR + ... + CR + <Name of drive N>
Remarks
To display the list of disks in a List Box or Combo Box control, use the following syntax:
ListAdd(<Name of List Box or Combo Box control>, <Result>)
Component : wd240std.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Exemplo fListDisk
Exemplo fListDisk

sLista_discos is string=fListDisk()
ListDeleteAll(COMBO_discos)
ListAdd(COMBO_discos,sLista_discos)

//Blog com Video e Exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/09/curso-windev-arquivos-016-arquivos.html
https://www.youtube.com/watch?v=G6ulmcXwsN0
De matos AMARILDO
09 Sep. 2016