Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Community Beginner ,
Sep 30, 2019 Sep 30, 2019

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?

3.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
New Here ,
Nov 14, 2019 Nov 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 14, 2019 Nov 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 14, 2019 Nov 14, 2019

Hi cjk,

 

I found this in regedit, Computer\HKEY_CLASSES_ROOT\Illustrator.Application.24\Default - with the value 'Illustrator Application'.  That's what my orig. vbscript has - CreateObject("Illustrator.Application") but it didn't work.

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 14, 2019 Nov 14, 2019

Try CreateObject("Illustrator.Application.24")

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 14, 2019 Nov 14, 2019

OMG, you're a genius. It WORKS  w/ CreateObject("Illustrator.Application.24"). Thank you so much.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 14, 2019 Nov 14, 2019

Yeah, i was pretty pumped when i figured that out.  Adobe REALLY needs to clean this kind of thing up though.

 

Absolutely no documentation about this at all.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 14, 2019 Nov 14, 2019

Right, there is no documentation for Illustrator 2019 and now 2020 is released. They probably short of technical writers 🙂  Thanks again cjk.

https://www.adobe.com/devnet/illustrator/scripting.html

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 20, 2020 Jan 20, 2020

Hi All,

 I'm using Adobe CS6 version. 

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

I have tried  CreateObject("Illustrator.Application.16")/  CreateObject("Illustrator.Application.CS6") as well. Nothing works. 

Has anyone else experienced/ solved this error?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 20, 2020 Jan 20, 2020

Hey,

Go ahead and look in your registry under Computer\HKEY_CLASSES_ROOT\

and look for an entry like Illustrator.Application.##.  

Then use the name of that entry, and your code should run.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 19, 2023 Oct 19, 2023
LATEST

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)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines