I have the following code and need to wait until the operation completes before forwarding. I can not use thread.sleep with out Application.DoEvents. Any suggestions? This is now an urgent matter.
Response.ContentType = "application/msword"
(I NEED TO WAIT FOR THE ABOVE FILE TO SAVE BEFORE THE WEBSITE READS THE NEXT LINE, OR THE PAGE DOES NOT FORWARD)