473,387 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Adding Summary Information to a file.

From Windows Explorer you can open a properties dialog for any file from its
context menu. This dialog has a Summary tab that includes "Title",
"Subject", etc. among others. How do I populate these fields for a file
using VB.NET. I thought that FileInfo class would provide this capability
but apparently, it does not.

Can someone point me in the right direction?
Nov 21 '05 #1
4 1556
"genojoe" <ge*****@discussions.microsoft.com> schrieb:
From Windows Explorer you can open a properties dialog for any file from
its
context menu. This dialog has a Summary tab that includes "Title",
"Subject", etc. among others. How do I populate these fields for a file
using VB.NET. I thought that FileInfo class would provide this capability
but apparently, it does not.


See:

<URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/d3fdeeeb947d88e0>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2
"genojoe" <ge*****@discussions.microsoft.com> schrieb:
From Windows Explorer you can open a properties dialog for any file from
its
context menu. This dialog has a Summary tab that includes "Title",
"Subject", etc. among others. How do I populate these fields for a file
using VB.NET. I thought that FileInfo class would provide this capability
but apparently, it does not.


See:

<URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/d3fdeeeb947d88e0>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
Your solution works for .DOC files. It does not work with .RTF files. I am
looking for a general way to add comments to .RTF, .JPG files and other files
if this is possible. It can be done manually, but I am looking for a VB.NET
way to do it in code.

"Herfried K. Wagner [MVP]" wrote:

<URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/d3fdeeeb947d88e0>

Nov 21 '05 #4
Your solution works for .DOC files. It does not work with .RTF files. I am
looking for a general way to add comments to .RTF, .JPG files and other files
if this is possible. It can be done manually, but I am looking for a VB.NET
way to do it in code.

"Herfried K. Wagner [MVP]" wrote:

<URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/d3fdeeeb947d88e0>

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: genojoe | last post by:
From Windows Explorer you can open a properties dialog for any file from its context menu. This dialog has a Summary tab that includes "Title", "Subject", etc. among others. How do I populate...
1
by: Hadar | last post by:
Hi, I'm trying to upload files and to use the revision number field of the file. By using PostedFile.SaveAs the files are uploaded. The problem is that the summary tab and the revision number...
2
by: Flack | last post by:
Hey guys, I have a DataGrid and DataTable field in my class : private ImageDataGrid dataGrid1; //ImageDataGrid extends dataGrid and just overides OnMouseDown private DataTable dt = new...
3
by: Kannan | last post by:
Hi, I am trying to created Outloook Add-in Com in outlook using C#. I have seen this URL for developing this sample http://support.microsoft.com/?kbid=302901 When I executed this program it...
1
by: clemenslinders | last post by:
Adding comments aka QuickInfo to intellisense: On this forum I found in it's history the following thread: http://www.thescripts.com/forum/thread254408.html Someone also wanted to add comments...
60
by: Bill Cunningham | last post by:
I have a row of values like such, placed in a text file by fprintf. 10.50 10.25 10.00 10.75 11.00 What I want to do to the above colum is add a new column right beside it which is a total...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.