ProgressBar_SetText
Description
Display a progress bar. Useful when running e.g. login scripts.
Note:
This function is not supported on Windows Vista and newer versions of Windows OS's
Syntax
ProgressBar_SetText(sCaption, sText, iProgressBarPercent, bAlwaysOnTop) As Boolean
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
VBScript
If bStatus Then bStatus = ProgressBar_SetText("Running loginscript for ACME Inc", "Mapping M: to \\server\share..", 30, True)