|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Getting Extended File PropertiesI need to obtain the extended file properties, such as Owner, Title, etc,
for a file in a .net program. I have looked through the FileInfo class and I cannot see any methods or properties that will expose this. In the old days we used to use GetFileInfo but I don't see it in .Net anywhere. How can I get this information? Thanks, T Hello, Tina,
If you mean the extended file properties available on NTFS systems, I think that you will need to use DSOFile.dll for this. See http://support.microsoft.com/?id=224351 for details. (There is a problem if you need to create these properties for files that don't already have them. There was recently a posting about a solution for this. See http://www.codecomments.com/archive293-2006-2-813451.html if you need to do this. Cheers, Randy Tina wrote: Show quoteHide quote > I need to obtain the extended file properties, such as Owner, Title, etc, > for a file in a .net program. I have looked through the FileInfo class and > I cannot see any methods or properties that will expose this. In the old > days we used to use GetFileInfo but I don't see it in .Net anywhere. > > How can I get this information? > Thanks, > T > >
"VB (9) Rocks" slide show
Progressbar and treeview stops refreshing ADO With SQL Transactions Optimizing Repeated PictureBox.Paints padding text field with blank in MS Access vs OLEDB Jet 4.0 Getting icon from form in dynamically loaded DLL Parsing XML strings VB doesn't allow temp tables in Stored Procedures? control collection Copy files and progressbar |
|||||||||||||||||||||||