If System.IO.File.Exists(str_save_file_with_jpg_name) And pgno = 1 Then
Haven't had a chance to test this yet, but I have a bad feeling about it.
I am pretty sure that if the file has to be deleted, the file save is going to fail because
the file I am supposed to be creating will already be in use to be deleted...I will probably run into a permissions problem because there is no delay between the deletion of the file and the
re-creation of the same file.
There is no DoEvents for a web service, so what is the proper way to handle this?
Thanks in advance!