Hi Vince,
It looks more like workaround to me. You didn't find the cause of the problem so it could reappear at any time.
>
>Well I apparently have found the solution. By increasing the amount of time in the FOR LOOP found in the GSCONVERTFILE funtion to 20 seconds, that is, FOR X=1 to 20 instead of 10 and it appears to now have enough time to create the PDF through the SHELLEXECUTE call to GSWIN32C.EXE.
>
>I am still uncertain as to why it didn't have enough time with 10 seconds since it was only creating a 1 page report. Perhaps network traffic played a part in it. But as I said, it seems to be working now.
>
>Again, thanks for your assistance. The next time I am in Wayne, I'll stop by and buy you a cup of coffee.
>
--sb--