Cannot create object
hello,
i trying automate work via scripting. first add interop.illustrator.dll assembly vb.net project.
next want start illustrator visible , scripting. scripting code ready , working.
but whenever try create instance of illustrator via:
aiappli = new illustrator.application
or
aiappli = createobject("illustrator.application")
or
aiappli = createobject("illustrator.application.cs5")
or
aiappli = createobject("illustrator.application.cs6")
i randomly errors "cannot create axtivex component" or server timeout/fault/not avilable errors.......
this random above code working, doesn't'!
the installation working on cs6 suit upgraded cs5 suite.
when go hkcr\csid registry search progid found:
so not understand doing wrong here??
any on this?
thanks.
try this
set aiappli = createobject("illustrator.application")
More discussions in Illustrator Scripting
adobe

Comments
Post a Comment