Thanks to Rob Crombie.
This project's .bas file includes routines to display a progress bar. The Progress_Initialize subroutine gets things started. This routine uses the form's Controls.Add method to make all the controls it needs on the form.
The AdvanceProgressIndicator routine updates the progress bar as the program does work. This routine automatically removes the progress bar controls if it displays the final progress amount (100% or whatever the measure of completion is). If the program doesn't update the progress indicator to that point, it can call Progress_Finalize itself to remove the controls.