Skip to main content
Participant
May 16, 2025
Question

Activator.CreateInstance fail with photoshop 2025

  • May 16, 2025
  • 1 reply
  • 371 views

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

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.