ProgressBar\_SetText
Description
Section titled “Description”Display a progress bar. Useful when running e.g. login scripts.
This function is not supported on Windows Vista and newer versions of Windows OS’s
Syntax
Section titled “Syntax”ProgressBar_SetText(sCaption, sText, iProgressBarPercent, bAlwaysOnTop) As Boolean
Parameters
Section titled “Parameters”sCaption (String)
Caption of the form
sText (String)
Text to display
iProgressBarPercent (Integer)
Amount of percent of the progress bar (0-100)
bAlwaysOnTop (Boolean)
If TRUE, the progressbar will always be topmost
Example
Section titled “Example”VBScript
If bStatus Then bStatus = ProgressBar_SetText("Running loginscript for ACME Inc", "Mapping M: to \\server\share..", 30, True)Related functions
Section titled “Related functions”