>I am using a piece of code to manipulate MSProject and print out file using Acrobat Distiller. The Distiller files the result to the local C:\.. drive. I then in the same routine copy file the file onto a network directory for automated email purposes. The trouble I am having is that sometimes the file copied is 0 bytes. The file in the c:\.. directory is fine and this does work some of the time. It's like the copy file part of the code runs before the PDF file is through if that is possible. Maybe a timeing issue. Please help.
You can try to open the file with low-level functions before copying and check the size...
If it's not broken, fix it until it is.
My Blog