3 Replies Latest reply on Jul 14, 2011 7:28 AM by JohnDevlon

    InDesign CS4 type library Com reference is missing in visual studio 2008 in windows 7

    RajGaikwad Level 1



      i am trying to create InDesign CS4 COM object using vb.net as




      i checked in the visual studio 2008 ,and tried to add indesign reference but the reference is not available in the VS references Com section

      i tried it by adding the Indesign CS4 DLL by from local drive but still it is not working

      i have two systems one having OS windows XP and another is having Windows 7

      the problem is in the system having windows XP my program is running fine but same program is giving an exception in the windows 7

      i m getting the exception message as:



      Unable to cast COM object of type 'System.__ComObject' to interface type 'InDesign.Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{ABD4CBB2-0CFE-11D1-801D-0060B03C02E4}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).



      please help me