I know (and have the code) to use webclient async to start a file download, then put code in the progress function to watch the status. Works fine, but its more like a background thread while the rest of your app continues to run...
However, I need or would like the abililty to do the same thing only not async. In other words I want to start a download, watch the progress bar and then move on to the next lines of code.
I suppose I could watch for when the download finished and then have my code there, but im downloading a few things. and i dont want to have to put it in a seperate form. I would like to:
1; download file a
2; watch progress
3; process file a
4; download file b
5; process file b
6; finish.
any ideas? anyone else do something similar?
However, I need or would like the abililty to do the same thing only not async. In other words I want to start a download, watch the progress bar and then move on to the next lines of code.
I suppose I could watch for when the download finished and then have my code there, but im downloading a few things. and i dont want to have to put it in a seperate form. I would like to:
1; download file a
2; watch progress
3; process file a
4; download file b
5; process file b
6; finish.
any ideas? anyone else do something similar?