Fix Adobe Illustrator CC 2019 Type Library Reference - VB scripts return error
Illustrator CC 2019 Type Library is broken when attempting to Reference from Visual Studio.
VB.Net or C# projects attempt to add the reference from: C:\Program Files\Adobe\Adobe Illustrator CC 2019\Plug-ins\Extensions\Scripting Support.aip, and give the attached error.
My idea, is for Adobe to fix it!
Older versions work fine.
We have the fix available in the latest release. Please update Illustrator using Adobe Creative Cloud application to the latest build for version Illustrator CC 23.0.2
Please refer to our knowledge base FAQ – https://illustrator.uservoice.com/knowledgebase/articles/1844590 if you face difficulty in update.
Or get in touch with us at any of the other support channels – https://helpx.adobe.com/support.html
Warm Regards,
Ashutosh Chaturvedi | Sr. Quality Engineering Manager – Illustrator
Adobe. Make It an Experience.
-
Paul commented
V 25.1 and still no fix.
-
Bernhard Geyer commented
The Problems with the wrong keys in Registry isn't solved.
So lets hope IC CC 24 will fix this :-(
-
c_jk commented
Found a resolution to the vbscript problem.
This is nowhere in the documentation( tx adobe!) , but references must be as follows for vbscript success in CC 2019:Set appRef = CreateObject("Illustrator.Application.CC.2019")
Set appRef = CreateObject("Photoshop.Application.130") -
c_jk commented
This is still broken for VBScript Type Library. Illustrator version 23.0.6.
"ActiveX component cant create object" when creating reference.
Set appRef = CreateObject("Illustrator.Application") -
BT commented
I presume you have no Illustrator installed at all now then? If so when it says Install it should just give you the latest one, whatever that is.
Check you've allowed Creative Cloud panel to update itself also.
Not really sure though, I didn't try the beta version. Just updated it as normal when it was offered.
-
Ram commented
@BT, have uninstalled beta version and restarted the PC, still it is not listing 23.0.2 version only in CC. and i'm using Windows 10 OS, will it be problem with OS for not listing ?
-
BT commented
@Ram I would try uninstalling the beta version if I was you. It may not be offering you the full 23.0.2 version as it may think you already have it.
-
Ram commented
we have tested with Beta version, its working fine.
But, Illustrator CC 23.0.2 formal release is not listing in creative cloud.
please guide me. -
BT commented
@William. This problem was beyond that. It was preventing us from adding the Illustrator Type Library as a reference at all!
-
William Garner commented
Every time Adobe does an update we have to recompile our C# applications. To really fix this problem Adobe should leave the support directory in the same directory path. The file did not change just the path changed!
-
BT commented
Thank-you, this is now working successfully on the latest live release.
-
Kevin A. commented
Also experiencing this problem after updating to Illustrator 2019 (23.0.1 64-bit) on my Windows 10 (build 17763) machine. Any VBScript simply fails to execute, returning an "Internal Script Execution Error" message. Makes no difference if I try to run the script via the File > Scripts menu, or via native execution from the OS file browser.
The problem doesn't seem to affect the other creative cloud apps (for example, the snippet below works fine in PS, but not in AI):
Illustrator --
Set appRef = CreateObject("Illustrator.Application")
appRef.Documents.Add()
MsgBox("Document Created!")Photoshop --
Set appRef = CreateObject("Photoshop.Application")
appRef.Documents.Add()
MsgBox("Document Created!") -
TomVbk commented
same here, 2019 version doesn't work with vbscript unless you open the script directly on your os and not in the scripts menu...
-
Anonymous commented
I can testify to this. I had to revert to version CC 22.1 to get this working again. Please fix!
-
Chanhee Jeong commented
All of the CoClass Guids in the type library are invalid.
For example, ApplicationClass is registered in the Windows registry as D19BF46D-D108-4617-8D8B-0A94E64B348E, but the type library is defined as 0DC1BAC6-5A43-480A-84C3-301582B1EB02.
All CoClasses are incorrectly registered.Even GrayColorClass has a wrong GUID format in the registry.
4CFFB1E9-47A8-4C40-AB1E-D0BA1EDA0DBDC
^^^^^^^^^^^^^^^^
The end is registered as 13 digits instead of 12 digits. -
BT commented
Further details here: https://forums.adobe.com/message/10749136
-
Andrew Hembree commented
I am using Windows 10 64bit.
-
Andrew Hembree commented
I have a script from CraftEdge for their program called Sure Cuts A Lot. I have the Pro v4 version and When I try to click "Send to SCALPro4" I get an "Internal Script Execution Error". It worked fine on 2018, but then suddenly stopped working and gave me another error "ActiveX component can't create object: 'Illustrator.Application' ". I did not update anything or change anything on my machine. But it suddenly just stopped working. Now I cannot use the script. I do not know how to create another script or change it to a Java Script either.
-
Andrew Hembree commented
I am having the same issue with SCAL Pro 4, but now its not working in 2018 either. Im getting an error "ActiveX component can't create object: 'Illustrator.Application' "
-
Steve Duffy commented
Not able to post VBS script to scripts folder and run without 'Internal script execution error'
Windows 7
The script - Send to SCAL5Pro should send the drawing to the cutter plotter, but instead gives the error message. It worked in Illustrator CC 2018