|
How to provide a 'retry' when catching exceptions -
How do I chuck code execution back to the try section after i catch an exception.
eg. Try My.Computer.FileSystem.DeleteFile("file.txt") Catch ex as exception select case messagebox.show("retry?") case vbyes 'I want it to go back to the try section case vbno throw ex end select end try there might be some vb6 in there, im still making the change
|