Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2005

Tip: Looking for answers? Try searching our database.

Detect corrupted PDF

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael - 29 Jul 2005 11:36 GMT
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.
Nick Malik [Microsoft] - 29 Jul 2005 17:08 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.