The information in this article applies to:
SUMMARY
The Favorites Reader is intended as a demonstration of some of the basic
Shell APIs, particularly the determination of URLs from Internet Shortcuts.
Favorites Reader is a generic iterator of any set of shell folders and
subfolders but its main focus is to provide the links from the user's
Favorites Folder.
Favread.exeFor more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. MORE INFORMATIONNOTE: This sample requires header files from the Internet Client SDK (InetSDK). It may not compile or build without modification on systems that do not have the InetSDK. To Use
Object ModelThink of this object as having an internal pointer to an item in a folder. What this pointer points to is undefined until the client calls "First" to set the pointer to the first item. "Next" is then used to move the pointer to the next item in the list. As each item is iterated, the URL and Name properties can be used to obtain the relevant information about each item. In typical Favorites folders, if the URL property is NULL, then the item is likely a folder itself which has items inside. For these items, the Group property can be used to obtain a brand new Favorites Reader object which is pre-initialized and pre-set to the first item in the new folder's list. In this way, a script can easily run through and obtain the name and URL of a whole series of Internet Shortcuts stored in a set of folders and all contained sub-folders.Properties:
None Main Points of Discussion
© Microsoft Corporation 1999, All Rights Reserved. Additional query words: Favorites
Keywords : kbfile kbIE300 kbIE400 kbDSupport AXSDKMisc |
Last Reviewed: December 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |