Write to a File's Comment property

  • Thread starter Thread starter Greg
  • Start date Start date
G

Greg

I'd like to be able to write to a file's Comment property
(specifically a .jpg file) from vba. I've seen some
examples of being able to write to the comment property of
a word or excel file, but not a "non-office" file.

Any suggestions,
Greg
 
Non-office files do not always (often?) have such properties.

I'm no expert on the jpg file structure, but I doubt that it includes a
comment field.

HTH,
TC
 
I'd like to be able to write to a file's Comment property
(specifically a .jpg file) from vba. I've seen some
examples of being able to write to the comment property of
a word or excel file, but not a "non-office" file.

I can't remember what internal properties exist in a jpeg file -- they are
defined by the appropriate standards bodies. This is the kind of thing that
IRFANView and its friends can manipulate. For programmatic control, you'll
need a custom control, probably an ActiveX or something like that. There
may be free ones about, but my guess is you'll have to pay for one.

Your best bet is to Google for something like "Images OCX" -- that seems
to bring up some likely candidates.

Hope that helps


Tim F
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top