Skip to content

ProgressBar\_SetText

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

ProgressBar_SetText(sCaption, sText, iProgressBarPercent, bAlwaysOnTop) As Boolean

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

VBScript

If bStatus Then bStatus = ProgressBar_SetText("Running loginscript for ACME Inc", "Mapping M: to \\server\share..", 30, True)

Scripting Guidelines

ProgressBar_Unload