Opening Photoshop with VB.net
Hey everyone,
I've had a problem I have been trying to figure out for a long time. I am working with a VB project that helps automate some aspects of photoshop for one of the teams my company has. It lets the user click a button and it will load up photoshop with a picture from a folder we have, and then when they click the button again it saves that photo and opens the next one in the folder. This project worked perfectly when the team was using CS5. However, we are trying to upgrade them to PhotoShop Creative Cloud, and when trying to get this program to work with Photoshop CC it no longer works and I cannot for the life of me figure out how to fix it. The problem I am having is with creating an instance of Photoshop that I can then use more functions with. So to show you, the problem I am getting is at this line:
PhotoshopApp = Activator.CreateInstance(Type.GetTypeFromProgID("Photoshop.Application"))
This used to work for the older version of Photoshop, but ever since Adobe upgraded to Creative Cloud my program breaks here and gives me this error:
{"Retrieving the COM class factory for component with CLSID {C4C3E2FB-D66C-44E5-96A0-349F951CB3D4} failed due to the following error: 80080005."}
This error is not a lot to go on so I have been trying everything I can think of to get it to work. Would you have any idea how to fix this? I would so greatly appreciate your help. Thank you so much!
