rfazendeiro
Centurion
- Joined
- Mar 8, 2004
- Messages
- 110
hi to all,
i'm currently making an web aplication that uploads a directory of images to a database. That is done and now i want to stop the user to cancel the operation while it's running.
My ideia is something like this
Private Sub btnUpload_Click()
Try
put here code that will show the modal window
For Each file In directory
upload and insert in database
Next file
Close the modal window
Catch ex As Exception
response.write("ERROR")
End Try
End Sub
my problem is how do i kill the modal window when the all fotos are uploaded and inserted in the database (this is, when it leaves the for)??
thx to all
i'm currently making an web aplication that uploads a directory of images to a database. That is done and now i want to stop the user to cancel the operation while it's running.
My ideia is something like this
Private Sub btnUpload_Click()
Try
put here code that will show the modal window
For Each file In directory
upload and insert in database
Next file
Close the modal window
Catch ex As Exception
response.write("ERROR")
End Try
End Sub
my problem is how do i kill the modal window when the all fotos are uploaded and inserted in the database (this is, when it leaves the for)??
thx to all