Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing raw data to NT print queue?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00260321
Message ID:
00261580
Views:
25
After returning from .oPrintFile(), the file is no longer in use by the class or by the Print Queue Manager, so it can be deleted. This is why I suggested that it is still been used by the process that created it. You can verify this, by trying to open the file for read/write access, before it is passed to .oPrintFile()

>Well, I verify that the file is finished writing before I queue it. These can be very large plot files - is it possible it is not finished queueing before I try to delete it?
>
>You suggestion about attempting to open it before deleting will work, I'm sure. Would it be worth your while modifying the class to provide a property to indicate whether qeuing is complete?
>
>IAC - thanks for the workaround - and the class!!!!
>

Just an opinion... Not a fact.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform