Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing raw data to NT print queue?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00260321
Message ID:
00261580
Vues:
26
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform