PC Review


Reply
Thread Tools Rate Thread

Detect corrupted PDF

 
 
=?Utf-8?B?TWljaGFlbA==?=
Guest
Posts: n/a
 
      29th Jul 2005
I have an auto-process which called adobe reader to open a pdf, the adobe
reader will close when process done.
However, if the pdf is corrupted, the adobe reader will be hanged by an
alert box.
I want to know how I can detect whether the pdf is corrupted or not before I
called up the adobe reader?

Thanks.
 
Reply With Quote
 
 
 
 
Nick Malik [Microsoft]
Guest
Posts: n/a
 
      29th Jul 2005
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.

--
--- 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.
--
"Michael" <(E-Mail Removed)> wrote in message
news:2FD9C322-B6A8-4708-817D-(E-Mail Removed)...
>I have an auto-process which called adobe reader to open a pdf, the adobe
> reader will close when process done.
> However, if the pdf is corrupted, the adobe reader will be hanged by an
> alert box.
> I want to know how I can detect whether the pdf is corrupted or not before
> I
> called up the adobe reader?
>
> Thanks.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Is it possible to detect... Terry Farrell Microsoft Word New Users 1 24th Jan 2010 10:12 AM
DVD/CD-Rom will not detect CD HailFyrePaws Windows Vista Installation 2 12th Jun 2008 04:08 PM
Can sumif detect text strings or detect if a dollar sign $ is in a cell? MollyDavis Microsoft Excel Misc 4 17th Apr 2004 11:45 PM
Can sumif detect text strings or detect if a dollar sign $ is in a cell? MollyDavis Microsoft Excel Worksheet Functions 4 17th Apr 2004 11:45 PM
USB Gamepads un-detect, or never detect in XP Pro =?Utf-8?B?RkZYSWFkZGljdA==?= Windows XP Games 1 18th Jan 2004 05:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:40 AM.