Early in the code behind a button, I prompt the user that this is going to take a while. I use the workspace.prompt method, so they just click on OK, and everything proceeds from there. However, during the “while” that they are waiting, the prompt window is still there. How can I get this to go away. The hourglass they get is enough.
Thanks,
Subject: explain your flow
If you do the ws.prompt at the beginning, before any of your logic, then it will close. Here’s a proof - the prompt closes and then the loop starts.
Dim ws As New NotesUIWorkspace
Call ws.Prompt(1,"here we are","")
For i=1 To 100
Print i
Sleep 1
Next
If you’re interested, I have a good progress bar (public code) that gives the user a better experience than the hourglass.
Subject: prompt stops script
are you aware that the prompt stops the script already? you don’t need to place it in a loop like in other prog-languages.
Subject: that was exactly my point 
the prompt pops up, waits for your answer, clears off the screen, then goes into the loop - so what’s your issue?
Subject: it sounds like a repaint issue…
Try doing something else that requires a screen update, like uidoc.reload or a Print statement.