View Single Post
  #3 (permalink)  
Old April 21st, 2004, 09:28 AM
cdukes77@bellsouth.net cdukes77@bellsouth.net is offline
Registered User
 
Join Date: Apr 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you suggesting that...

myInDesign = New InDesign.Application.CS

should replace my ...

myInDesign = CreateObject("InDesign.Application.CS")

I tried this line in the code ... which then returns a new error (at least it is new) ...

System.Runtime.InteropServices.COMException: COM object with CLSID {296CAEB5-C99C-4B3E-9359-6E7D6EAE71FC} is either not valid or not registered.

Is there any way to proceed from here.

Thanks for your help.

Chip

Quote:
quote:Originally posted by planoie
 Normally when you want to use a COM (ActiveX) object in .net you need to use the interop for it. When you instantiate the object, you do so in the same way you do any other .net object:

        myInDesign = New InDesign.Application.CS

I'm not sure if that is the problem but it's worth looking into.

Peter
-------------------------
Work smarter, not harder
Reply With Quote