while am trying to call the indeisgn script using vb.net i got the following error
Unable to cast COM object of type 'InDesign.ApplicationClass' 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)).
syntax used:
dim indd as new indeisgn.application
indd=createobject(''InDesign.Application.CS3'')
indd.doscript(''sample.js'',idScriptLanguage.idJavascript)
how to overcome this?
thanks
subha
unable to cast COM object of type...You probably wnat to ask this over inthe SDK forum: http://forums.adobe.com/community/indesign/indesign_sdk
No comments:
Post a Comment