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

Activator.CreateInstance fail with photoshop 2025

New Here ,
May 16, 2025 May 16, 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

TOPICS
Windows
114
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
New Here ,
May 16, 2025 May 16, 2025
LATEST

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
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