ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / CD and DVD burning functions
BurnerList (Example)
The following example is used to display in a table the list of burners installed on the current computer.
// Find out the burners installed
ListBurner is string
ListBurner = BurnerList()
IF ListBurner ~= "" THEN
Error("No burner was detected on the computer")
RETURN
END
// Fill the table named TABLE_BurnerTable
// with the list of burners
ABurner is string
PathOfBurner is string
 
FOR EACH STRING ABurner OF ListBurner SEPARATED BY CR
// Select the burner
IF BurnerSelect(ExtractString(ABurner, 1)) = False THEN
Error("Failure selecting the burner", ErrorInfo())
RETURN
END
 
// Path of current burner
PathOfBurner = BurnerPath()
 
// Add into the table
TableAddLine(TABLE_BurnerTable, PathOfBurner, ABurner)
END
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help