I will give it a try, unluckily not immediately, due to other urgent tasks. Anyway this is more o less what I was thinking. Nevertheless, to be sincere, my long task, which is the dxf reading, is in a resumable sub. Inside it I have a ProgressDialogShow/hide, both followed by Sleep(100) (without Sleep, the progress dialogs don't remain active. This said, using a WaitFor to call the DxfRead function, I obtain a behaviour exactly like a normal call to a non-resumable sub. The App waits until the DxfRead ends, I would like that it doesn't wait while the DxfRead is executing. I am forced to have a resumable sub for the DxfRead ONLY because of the presence of the Sleep, which seem to be mandatory to use the ProgressDialogShow. I mean that ProgressDialogShow doesn't work without a following Sleep. Perhaps I didn't understand these facts well, but this is how I did. Now, if you speak about the use of Resumable Sub, much probably I can easily adapt the actual code to your suggestion. Thanks