Accessing File Property - "Comment"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to Set & Get the "Comment" property of files. I would like to know
what classes handle these in VB.NET.

The VBA code is sen at
http://support.microsoft.com/default.aspx?scid=kb;en-us;212724

To set the comment manually, we have to right click a file in windows
explorer, click on "Properties" and then select the "Summary" Tab. Making
sure the view is "Simple" there will be a text box to enter the comments.
Once this is set, we can add the comment filed to show in windows explorer by
right clicking and adding the property.

I am using Windows XP Professional.

Thanks.
 
Dsofile.dll lets you edit Office document properties without Office in
Visual Basic .NET 2003 and in Visual Basic .NET 2002

http://support.microsoft.com/default.aspx?scid=kb;en-us;224351

afaik there is no pure managed code solution for this readily
available.

HTH,

Sam


I need to Set & Get the "Comment" property of files. I would like to know
what classes handle these in VB.NET.

The VBA code is sen at
http://support.microsoft.com/default.aspx?scid=kb;en-us;212724

To set the comment manually, we have to right click a file in windows
explorer, click on "Properties" and then select the "Summary" Tab. Making
sure the view is "Simple" there will be a text box to enter the comments.
Once this is set, we can add the comment filed to show in windows explorer by
right clicking and adding the property.

I am using Windows XP Professional.

Thanks.

B-Line is now hiring one VB.NET developer for
WinForms + WebServices position with ASPX in future.
Seaking mid to senior level developer. For
information or to apply e-mail sam_blinex_com.
 
Thanks. Yes - that works but only for Microsoft Documents. It does not work
for PDFs and GIFs (I tested only these two) - but you can actually set the
comments through Windows Explorer. It seems to work for only OLE compound
files - So I gues I am missing something.
 

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