hey, i am having some problems making the cancel button. I used the code provided by s-one:
how would i call this with a button? what do you need to declare in the frmmain.vb and webfiledownloader.vb? thanks...Code:Do If Cancel = True Then sChunks.Close() FS.Close() FS = Nothing My.Computer.FileSystem.DeleteFile(Location.ToString) RaiseEvent CancelResetLabelText() Return False End If




Reply With Quote