I am trying to open an InDesign file which does not have the extension .indd.
I can open the file from InDesign's File-> Open menu item. But if I try to open programmaticaly it says the file format is not supported.
I tried using SDKLayoutHelper::OpenDocument and IDocumentCommands::CreateOpenCommand both gives the same error.
I can, I am using Utils<IDocumentCommands>()->CreateOpenCommand.
Thanks. My file was not proper. I am able to open the file without the extension.