By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,238 Members | 1,532 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,238 IT Pros & Developers. It's quick & easy.

Question about Shell32.dll

P: n/a
I am trying to get from files the keywords saved as part of the properties
under the summary tab. I am able to get the Title, and Comments using the
following code but I need to get the keywords as well. Also does anyone
know how to use shell32 to search the keywords? Any help would be greatly
appreciated.

Imports Shell32

Imports Shell32.ShellFolderItemClass

Imports Shell32.ShellClass

Public Class testFSOReport

Inherits System.Web.UI.Page

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

Dim pFolderItem As Shell32.FolderItem2

Dim pVerbs As Shell32.FolderItemVerbs

Dim pFolder As Shell32.Folder

Dim pShell As New Shell32.Shell

Dim i As Integer

Dim arrHeaders(45) As String


pFolder = pShell.NameSpace("C:\")

For Each pFolderItem In pFolder.Items

For i = 0 To 44

arrHeaders(i) = pFolder.GetDetailsOf(pFolderItem.Path, i)

Next

For i = 0 To 44

pVerbs = pFolderItem.Verbs()

Response.Write(arrHeaders(i) & " - ")

Response.Write(pFolderItem.ExtendedProperty(arrHea ders(i)))

Response.Write("<br>")

Next

Next

end sub

end class

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.