PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Compilation
  • Required configuration
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
BurnerSelect (Function)
In French: GraveurSélectionne
Allows you to select the default burner. This burner will be used by default by all the burner functions.
Note:
  • By default, the burner used corresponds to the first burner returned by BurnerList.
  • The current compilation is automatically deleted when the default burner is selected.
WEBDEV - Server code The current burner is accessible from the Web server.
Example
// Find out the burners installed
Burner_List is string
Burner_List = BurnerList()
IF Burner_List ~= "" THEN
        Error("No burner was detected on the computer")
        RETURN
END
// Fill the TABLE_Burner table with the list of burners
ABurner, PathOfBurner are strings

FOR EACH STRING ABurner OF Burner_List 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_Burner, PathOfBurner, ABurner)
END
Syntax
<Result> = BurnerSelect(<Burner>)
<Result>: Boolean
  • True if the burner was selected,
  • False otherwise. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Burner>: Integer or character string (with quotes)
Subscript or identifier of burner, returned by BurnerList.
Remarks

Compilation

The burner functions are available for Windows XP and later.
A compilation corresponds to the set of files that must be burned on a CD or DVD. This compilation will be taken into account during the next call to BurnerSave.
A compilation is automatically created during the first call to BurnerAddFile or to BurnerAddDirectory. A single compilation can be created at a time.
A compilation is automatically deleted:
  • when changing the type of CD/DVD to burn (BurnerMediaType).
  • when selecting the default burner (BurnerSelect).
  • after the call to BurnerSave (only if the burn process was started, <Result> is set to True).
  • when canceling the burn process (BurnerCancel).
  • when closing the current WINDEV application or WEBDEV site.

Required configuration

WINDEV Burning CDs is available for Windows XP and later. Burning DVDs is available for Windows Vista and for Windows XP when using the KB932716 update for Windows XP (this update must be downloaded from the Microsoft site and installed manually because it is not taken into account by the Live Update mechanism).
WEBDEV - Server code The CDs and the DVDs will be burned on the Web server. To burn CDs or DVDs, the server must be running Windows XP or later. To burn CDs in Windows 2003 Server, the IMAPI burn service (named "IMAPI CD-burning COM service") must be enabled. To burn DVDs in Windows 2003 Server, you also have to install the KB932716 update.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230grv.dll
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment