|
-
Sep 21st, 2000, 10:40 PM
#1
Thread Starter
Junior Member
Is there a way in VB or an API which could check the if the file is corrupted?
I have some .pdf files which I need to check through my program if they are corrupted.
I tried ShellExecute it didn't work.
-
Sep 22nd, 2000, 03:50 PM
#2
Lively Member
If the corruption is disk I/O then it should show up when you attempt an open.
But, if the corruption is in a file format error then you
have to be able to open the file as a binary stream and
check the file header which usually contains format info.
This means you have to know what it should look like and be
able to respond when it "looks" wrong.
Check Adobe site on PDF format for this file type's details.
C/C++,Delphi, VB6,Java,PB (blech!),ASP,JSP,SQL...bla bla bla and bla
I love deadlines. I like the whooshing sound they make as they fly by.
—Douglas Adams
-
Sep 24th, 2000, 03:48 AM
#3
Fanatic Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|