Monitoring for SaveFileDialog in Win2k

Dec 31 2004 9:39 PM
Hello, I am writing an application that posts an HTML form to a php script on the web. Based on the inputs I provide, this script sends me a file to download. The problem I am encountering is that after posting the form, a "FileDownload" box pops up. At this point, I can select Open,Save, Cancel or More Info (because the file is .WMV, the checkbox to "ask before opening files of this type" is unavailable) and am able to rename and relocate the file. This works fine if I am sitting in front of the computer, but I eventually would like this application to run on it's own (renaming the file, changing the default save location and then moving on to the next post/file download). Can anyone recommend the best way to handle this? I was hoping to find some documentation on using the User API in Windows to somehow listen for "FileDownload" dialog boxes and control them from my application but so far I've not found any discussion on this. Thanks in advance, Brian