PDA

View Full Version : Check if file is corrupt before opening in DBX



matt.worland
2004-08-06, 06:39 PM
Hello All,

Is there a way to determine if a dwg is corrupt before opening it using DBX?

Thanks,
Matt

Ed Jobe
2004-08-06, 07:54 PM
No, but that's a good one to add to the error trapping in my dbx class. Basically, get the error number generated when a file is corrupt, and in a Case Select statement, provide for handling that occurance, e.g. notifying via MsgBox. or silently moving to a corrupt files folder, etc.

matt.worland
2004-08-06, 09:25 PM
Thank you Ed,

I will give that a try.

Thanks
Matt