hi there, i seem to have a weird problem with my file download
this is the code to download file
If (System.IO.File.Exists(empty)) = True Then
Response.Clear()
Response.ContentType = "application/octet-stream"
Response.AppendHeader("Content-Disposition", "attachment; filename=" & strName)
Response.TransmitFile(empty)
Response.End()
End If
if i were to put try and catch to capture any errors, the error would be caught when reach response.end()
the message would be "Property evaluation failed."
by solving this problem, i think i should be able to fix up several bugs that i've been getting with this page
bug 1: "<script>window.alert('Thread was being aborted.');</script>" would appear at the end of any .txt file... any other file type will work normally
bug 2: when user clicks on do ...
Go to the complete details ...