Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with PRINT2PDF
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01010796
Message ID:
01011220
Views:
14
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform