473,569 Members | 3,063 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Damaged Illustrator Ref Library?

2 New Member
I've been trying to code a fairly uncomplicated program that will read some values from an Excel worksheet into Illustrator variables.

I tried VBA first, being careful to add the Illustrator Reference Library. I could swear that my first attempt (the usual "Hello World" thing from the Illustrator VB Reference Guide) was successful, but maybe I'm delusional. Anyway, I wish now I'd saved that code, because every attempt afterward generated a 403 error message on encountering the first "Set =" statement.

It didn't matter whether I was trying to create a new document, open an old one, or modify one that was already open; as soon as I tried to refer to the document in any way...

Runtime Error 403:
Class does not support Automation or does not support expected interface



I retyped the code eight ways from Sunday, and even tried it in VBExpress. Same result-- though I did get a fuller explanation, if one I'm powerless to decipher:

System.InvalidC astException: Unable to cast COM object of type 'Illustrator.Ap plicationClass' to interface type 'Illustrator._A pplication'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{95CD20AA-AD72-11D3-B086-0010A4F5C335}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE) ).

The odd thing is that a VBScript version of the same code works fine. Unfortunately, I can't use VBScript for this project, as it lacks certain functions that I need to format my Excel data.

Any idea what the problem could be? Is it possible my Interop.Illustr ator.dll file got damaged somehow? The Adobe Illustrator scripting forum turns up no one else who's run into this problem, though you'd think by now someone would have if it was a universal issue. (They can't ALL be using JavaScript!)

Any and all suggestions would be greatly appreciated. Thanks.
Oct 30 '06 #1
1 3083
MrWriteLA
2 New Member
UPDATE: It was, indeed, a damaged .dll file. Re-installing Illustrator solved the problem.

As Emily Litella used to say: "Never mind." :-)
Oct 30 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1782
by: adder | last post by:
I would like to create a script that can export ai-files to jpg-files using the export function available in Adobe Illustrator. Can someone tell me how to dispatch the illustrator com-object to make this possible and possibly provide me with some tips on how to accomplish this?! Thanks in advance All
0
3128
by: mgrahm | last post by:
Hi all I would like to create an image map for a website I am working on. A number of years ago I think I think I used a program called Frog-It. I have since upgraded to a new computer a few times. Don't think i have that program any more. In any event I was wondering if I could use Adobe Illustrator or Image Ready to create such an item....
1
443
by: Dagoberto | last post by:
can somebody tell me how can I get old data from a recently damaged table?
6
4223
by: prodsd | last post by:
Here is my challenge . I have a new syatem That when I save a Adobe Illustrator file to my desktop it is ok but when I try to move or delete the file I get a error key that is open ??? I never had the problem when I had XP. When I save as a EPS file no problem and I know not to save in the future as a AI file but to clen up the old files ??
3
1780
by: olle | last post by:
How to deal with a VBA-project that is damaged? Hi everyone. I am BigOlle from sweden and I have been working with Accees for ten years I am now working on a project that started in Access97 and since a few months it continues in Access2000. My plan is to use Access2000 as it is supposed that mdb-files in Access 2000-format can be...
4
2221
by: tussom | last post by:
Hello is anyone familiar with using javascript with adobe illustrator i can't seem to find a way to place an image file into an Adobe illustrator file from within the javascript code i would appreciate any help in this area thank you
2
16160
by: 770ariel | last post by:
i'd be thankfull if someone can help me with this: i get this message when i try to run adobe illustrator CS2 microsoft visual c++ runtime library runtime error! program: ...rator CS2\support files\contents\windows\illustrator.exe
0
990
by: ch612bunn | last post by:
adobe illustrator cs3 crack
0
1652
by: Natis | last post by:
Hello :) I purchased these this icon sets with the intention to modify them, since they had the vector sources. The thing is that the sources are Flash files which I'm not very related to. I tried exporting them to Illustrator but I keep loosing quality. I don't know which version of flash are the files made in, (I have Flash CS3 and...
0
7619
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7930
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3662
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
950
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.