Tuesday, December 6, 2011

Photoshop Type Library Error

Hi,



Anyone can tell me the cause of this error ''Additional information: QueryInterface for interface PhotoshopTypeLibrary.IPhotoshopApplication failed.''.



I'm using photoshop cs3 type library in VB.Net. Below is my codes



Imports PhotoshopTypeLibrary



Sub Main()

Dim oPhoto As PhotoshopApplication

Dim gControl As IActionControl

Dim ophotoDoc As IAutoPSDoc



oPhoto = New PhotoshopApplication

gControl = oPhoto.MakeControlObject



End Sub



I'm using this code in CS2 but when I installed the CS3 the code is not working. Please help me to solve this error. Thanks in advance.



Thanks



Regards,

Buddy

No comments:

Post a Comment