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
CD/DVD functions
The following functions are used to manage the CD/DVD players:
CDEjectOpens or closes the door of the CD/DVD player selected on the current computer.
CDListReturns the list of CD/DVD players installed on the current computer.
See also
Minimum required version
  • Version 11
This page is also available for…
Comments
Abrir Cd e Listar
Abrir Cd e Listar

// Displays the list of CD/DVD players

ListAdd(LIST_ListPlayers,CDList())

// Opens the door of drive F:

b_resultado_abrir is boolean=CDEject("F:")
IF b_resultado_abrir=False THEN
Error(ErrorInfo(errMessage))
ELSE
Info("Insira o CD ")
END

//Blog com Video e Exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/10/aula-950-windev-dicas-3-cdeject-cdlist.html

https://www.youtube.com/watch?v=bFSO3Emd0Mg
De matos
Oct. 24 2016