Hi,
I need to read a files extended attributes in VB .NET. I currently do this with WSH/VBS, but I need the same capability in VB .NET. In VBS I use the GetDetailsOf() method to get the "Dimension" atribute of a file. The 26, seen below, corresponds to the index of the "Dimension" file attribute or property. Is there a way to retrive extended file attributes in VB .NET?? Is so does someone have a sample?
'--- VB Script Snippit
Set zobjFolder = objShell.NameSpace(objFolder.Path)
if (Not zobjFolder Is Nothing) Then
dim zobjFolderItem
set zobjFolderItem = zobjFolder.ParseName(FName)
if (not zobjFolderItem Is Nothing) Then
dim zobjInfo
Dimensions = zobjFolder.GetDetailsOf(zobjFolderItem, 26)
end If
set zobjFolderItem = Nothing
end If
Thanks in advance!
I need to read a files extended attributes in VB .NET. I currently do this with WSH/VBS, but I need the same capability in VB .NET. In VBS I use the GetDetailsOf() method to get the "Dimension" atribute of a file. The 26, seen below, corresponds to the index of the "Dimension" file attribute or property. Is there a way to retrive extended file attributes in VB .NET?? Is so does someone have a sample?
'--- VB Script Snippit
Set zobjFolder = objShell.NameSpace(objFolder.Path)
if (Not zobjFolder Is Nothing) Then
dim zobjFolderItem
set zobjFolderItem = zobjFolder.ParseName(FName)
if (not zobjFolderItem Is Nothing) Then
dim zobjInfo
Dimensions = zobjFolder.GetDetailsOf(zobjFolderItem, 26)
end If
set zobjFolderItem = Nothing
end If
Thanks in advance!