Skip to main content
Participant
May 16, 2025 5:35 PM UTC
Question

Activator.CreateInstance fail with photoshop 2025

Hi,

I have a scmall C# script use to execute scripts in photoshop. this program use

Activator.CreateInstance("Photoshop.Application.190")

if photoshop 2025 is not open, it works fine, if photoshop 2025 is already open it fails and return null

also why is it Photoshop.Application.190 instead of Photoshop.Application.26 and where are thoses versions for the COM documented ?

Thanks

1 reply

Participant
May 16, 2025 5:45 PM UTC

more info the bug might be trigger by the fact that Activator.CreateInstance("Photoshop.Application.55") has been called previous to calling Activator.CreateInstance("Photoshop.Application.190")

we are trying the versions from older to newer.

Translate