How to automatically modify the DetailedProperties for the .jpeg files with a vba procedure ?

Alain Le Put 40 Reputation points
2023-04-22T10:32:08.2+00:00

How to automatically modify the DetailedProperties for the .jpeg files with a vba procedure ? I want to automatically read or write DetailProperties of my .jpeg files like Title, Object, KyWords, Comments ... I can only read DetailProperties with an Object("Shell.Application") than using getDetailsOf, I also have tried with DSOFile.OleDocumentProperties but I did not success in modifying the properties for my .jpeg files

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,523 questions
0 comments No comments
{count} votes

Accepted answer
  1. Xiaopo Yang - MSFT 12,231 Reputation points Microsoft Vendor
    2023-04-24T01:52:45.15+00:00

    Hello,

    Welcome to Microsoft Q&A!

    As the answer said, Use IPropertyStore interface to set property values. See Microsoft c++ sample: PropertyEdit.

    Thank you.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful