If there is no user involved, look into whether you can use the Adobe
Acrobat API instead. You will get an error return instead. The API can be
useful for validating a document as well. On the other hand, you may be
able to find a library running around the internet that will validate the
PDF file for you.

Signature
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
>I have an auto-process which called adobe reader to open a pdf, the adobe
> reader will close when process done.
[quoted text clipped - 5 lines]
>
> Thanks.