Hi, I'm having a problem with my program freezing up. In my program I call the URLDownloadToFile function to download a file. The only problem is that the program locks up until the download is finished. The problem is that the function doesn't return until the download is done. Is there a command I can call inside the URLDownloadToFile function so that the program doesn't lock up. I've tried SetFocus but that doesn't seem to do anything.