473,385 Members | 1,325 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,385 software developers and data experts.

Question about Shell32.dll

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
0 1527

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

Similar topics

2
by: emde | last post by:
Any tips on using the icons in shell32.dll as the image on a button in a form? Thanks.
2
by: Craig | last post by:
I've seen many examples of how to call SHGetFileInfo in shell32.dll to get a files associated icon, but I can't find anywhere how to get the file information (size, last date modified, etc, etc)...
3
by: Just Me | last post by:
I've referenced the shell32.dll but can't seen to use it. Could someone give an example of using any function in it? Something like: Dim ShellQAs New Shell32.ShellClass Dim shellFolder...
0
by: Steve Mauldin | last post by:
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...
4
by: Neo | last post by:
I am developing a GUI for a destop application in Visual C++ .Net 2005, I am trying to create toolbar exactlly same as windows explorer which will have default windows icons, which are in windows...
1
by: Zairay | last post by:
Hi All, I'm having a problem with the Shell32.dll when I try to open a program from my Access db. When I try to open a program called FalconViewLite from my access database I get an error in...
1
jamesd0142
by: jamesd0142 | last post by:
Public Class Form1 Private Sub CreateZipFile(ByVal Filename As String) 'create a new empty zip file Dim Encoder As New System.Text.ASCIIEncoding Dim Header As String =...
0
by: Eran.Yasso | last post by:
Hi all, The following code sets/disables network adpter's status. Since I have no idea where to put this code and I wish to share the community with it. I did rverse engineering from VBS to C#....
5
by: progvar | last post by:
Hi, i want to know how to unzip a zip file and extract the files to a particular location please help me thanks in advance varinder
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.