Skip to main content
Curtis Keiderling
Participating Frequently
September 30, 2019
Question

ActiveX component can't creata object: 'Illustrator.Application' Illustrator CC 2019 23.0.6

  • September 30, 2019
  • 1 reply
  • 3112 views

We recently upgraded to CC 2019, and now vbscript is unable to access illustrator.

 

Scripts fail with the following error:  ActiveX component can't creata object: 'Illustrator.Application'

on first line.. Set appRef = CreateObject("Illustrator.Application")

This automation ability is an important part of our workflow, so it is important to us to get this fixed.

 

Has anyone else experienced/ solved this error?

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    November 14, 2019

    I recently upgraded to CC 2020, and now vbscript is unable to access illustrator.

    Error message: ActiveX component can't create object 'Illustrator.Application''.

     

    I did try this:  Set appRef = CreateObject("Illustrator.Application.CC.2020"),  but this also crashed.

    Error message:  ActiveX component can't create object 'Illustrator.Application.CC.2020''.

     

    Does anyone has a workaround for this? Thanks in advance.

    Curtis Keiderling
    Participating Frequently
    November 14, 2019

    Hey, juno88,

     

    The way i solved the same problem in 2019 was as follows:

    Open regedit.exe on your computer, and find the reference to the illustrator type library, just by scrolling through all the classes under HKEY_CLASSES_ROOT.  You are looking for something similar to Illustrator.Application.[someothertext].

     

    Then in your vba, refer to that name instead of 'illustrator.application.cc.2020'.

     

    For example, photoshop 2019 type library is listed in the registry as 'Photoshop.Application.130'.

    When i createobject with that text, everything works fine.

     

    Hopefully that helps...

     

    cjk

    Participant
    October 19, 2023

    great, thank you, you solve my problem

     

    The question now is? why there are .number after sometime, or not, depending on the computer (on 3 computers, jute one have this issue with terminal number in HKEY_CLASSES_ROOT)