0

HI!

I am working with an image tagger system..

Im done reading the file's properties..

then when i go to code for keywords.. an error exist saying that Retrieving the COM class factory for component with CLSID {58968145-CF05-4341-995F-2EE093F6ABA3} failed due to the following error: 80040154.

I Already added the DSO file.dll and the class library Imports System.IO

an error exist in the BOld text below.

Dim oSummProps As DSOFile.SummaryProperties
        Dim strTmp As String = String.Empty
        [B]Dim oDocument As New DSOFile.OleDocumentPropertiesClass()[/B]
        oDocument.Open("c:\BSabellaRabano10151929.jpg", False, DSOFile.dsoFileOpenOptions.dsoOptionUseMBCStringsForNewSets)

        oDocument.SummaryProperties.Title = txtTitle.Text
        oDocument.SummaryProperties.Comments = txtComments.Text()
        oDocument.SummaryProperties.Keywords = txtKeywords.Text
        oDocument.SummaryProperties.Subject = txtSubject.Text
        oDocument.Save()

Help me with this Guys! ^^ thanks in advance..

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by emompong
0

>Help me with this..

If you run this COM component in 64 bit environment, you will get that error message.

0

>Help me with this..

If you run this COM component in 64 bit environment, you will get that error message.

I am running it only in 32 bit...? any suggestion to fix it?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.