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

Error 430 (Class doesn't support Automation)

New Here ,
Nov 11, 2009 Nov 11, 2009

I 've created a script using VisualBasic to open the illustrator cs3. Its working fine with most of the systems.

But in few machines, the script got struck with an "Error 430 (Class doesn't support Automation)". If i

re-install the illustrator and then try, its working fine. Can anyone suggest me a solution for this issue with out

re-install the illustrator again.

Thanks in Advance

TOPICS
Scripting
1.2K
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
Participant ,
Nov 11, 2009 Nov 11, 2009

Good afternoon,

Your problem is produce around the opening of Illustrator. Sometimes Illustrator can be open a certain number of times but it is not visible. Check this aspect via the "task Manager (processus)" how many times you see "illustrator" in the list. Verify that all Illustrator process are unload before using your script.

This address could help you.

http://msdn.microsoft.com/en-us/library/aa264512(VS.60).aspx

Patrice

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
Contributor ,
Nov 11, 2009 Nov 11, 2009

if that's the problem is pretty easy to fix:

add this on Form1_Load sub:

        Dim procs() As Process = Process.GetProcessesByName("Illustrator.exe")
        If procs.Length > 1 Then
            For i as Integer = 1 To procs.Length - 2
                procs(i).Kill()
            Next
        End If

.NET framework 2 is required for the above(or 1.1 can't remember for sure)

hope it helps together with patrice's response.

cheers;

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 11, 2009 Nov 11, 2009
LATEST

Thanks for your response. As per your advise, i checked the taskmanager there is no "illustrator.exe". But if i open the illustrator manually its opened without any problem. After reinstall i can able to open the illustrator via VisualBasic. I think some dll not registered properly. But i dont know which dll. If possible kindly advise me.

Thanks for looking into this.

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