>>Naomi,
>>
>>>What are your results with them?
>>
>>Oh, I did not run it, so I can not tell. One thing I would try though, is to create the WMI object just after you start your printing process, before all the "waiting to finish the print" code, that way the time used creating the WMI object will appear to be reduced.
>
>Thanks, I'll try that. Still I'm interested if anyone here can try both versions and let me know the times.
First version
function PrintPDF - 60Second version - very, very bad and sloooowwww.
Tested with
Celeron CPU 2.80 GHz 512 MB of RAM
XP PRO SP2
VFP9 SP1
Printer HP Deskjet3900. (2 cents for paper and ink)
PDF file - 10 pages.
Acrobat 7.0
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst