Using the AXFFileDownload ActiveX control in VB6. When adding file with an invalid Target (URL) an error is generated and properly trapped. The second time through however, the following message is displayed (when a reset is attempted in the code):
Run-time error '-2147352567 (800020009)':
Download is not complete, can't reset
Can't find any information in the documentation regarding this error.
Thanks for the response Joy. I'm not sure what page you're referring to regarding the refresh. In my scenario, I have a VB client app attempting to download a file from a (asp page) URL that's invalid. My only workaraound has been to restart the client app.
Sorry, I missed the part in your original message where you said this was VB6. Restarting the client app is obviously not ideal. Perhaps you can create your own "reset" method that recreates the object by setting the variable to nothing, resestting it to a new instance of XFile, and resetting all the properties?