Cannot Open 'CS3 file in CS2' - programmatically handle this dialog
I am running a Visual Basic app that cycles through a collection of InDesign documents performing actions. We are using CS2 and the problem occurs when a CS3 document is encountered, which hangs the app. When opening the file manually the following error dialog is encountered:
Cannot open "xxxx.indd". Please upgrade your plug-ins to their latest versions, or upgrade to the lastest version of Adobe InDesign.
InDesign is launched by:
appInDesign = CreateObject("InDesign.Scripting.CS2")
User interaction is suppressed:
appInDesign.ScriptPreferences.UserInteractionLevel = InDesign.idUserInteractionLevels.idNeverInteract
Documents are opened by:
docInDesign = appInDesign.Open(<FilePath>, False)
How do you handle/identify this dialog/error without user interaction (I would like to skip the file)?
Thanks in advance