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

Caption of the form

Text to display

Amount of percent of the progress bar (0-100)

If TRUE, the progressbar will always be topmost

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

Scripting Guidelines

ProgressBar_Unload Constants Package Property Variables