Shell32.FolderItem properties

J

Jeff McLaughlin

Hello,

When browsing through the FolderItems collection for a folder, does anybody
know how to get the properties for a FolderItem object? Specifically what
I'm trying to do is browse the "My Bluetooth Places\Entire Bluetooth
Neighborhood" folder and get the mac address for each of the items in the
folder. When you bring up the item in Explorer and right-click and choose
properties, it shows the mac address. So I assume there's a way to get this
from the shell object.

Also, given a Shell32.Folder object, how can I invoke the verbs? If I start
with a FolderItem, I can get the verbs from that object. However, if I get
a Shell32.Folder object using the BrowseForFolder(), there doesn't seem to
be a way to get the verbs, or to get a corresponding FolderItem object.

Thanks.
 
Joined
Jul 31, 2010
Messages
1
Reaction score
0
Folderitem From Folder

NOT SURE ABOUT MAC ADDRESS but the way to get a foldertitem from a folder is convoluted, but ofdly logical.

FolderItem=Folder.ParentFolder.ParseName(Folder.Title)

and the path is
Path=Folder.ParentFolder.ParseName(Folder.Title).Path

it seems as though Parsename requires a reference to an object in the folder, whihc we do nto have in an empty folder, so we go to the parent folder and use the selected folder ars the object in the folder.

It took me 4 hours to find that, and since I had passed through your query along the way I thought I would pass it on.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top