Aug-26-2021, 02:15 PM
(This post was last modified: Aug-26-2021, 02:48 PM by matthewsjc1.)
(Aug-26-2021, 01:47 PM)Larz60+ Wrote: Please show entire, unaltered error traceback . Please use bbcode error tag.
Use tags around code as well.
import win32com.client as win32com illApp = win32com.Dispatch("Illustrator.Application")
Error: Message=(-2147221005, 'Invalid class string', None, None)
Source=C:\Users\jaredm\Desktop\Python COM Test\Python_COM_Test.py
StackTrace:
File "C:\Users\jaredm\Desktop\Python COM Test\Python_COM_Test.py", line 3, in <module>
illApp = win32com.Dispatch("Illustrator.Application")
I hope I did this right. I'm using VS2019 with Python 3.7.8