Access title property

Results 1 to 2 of 2

Thread: Access title property

  1. #1
    Syd Guest

    Default Access title property

    Is there a way of dynamically producing a list on hyperlinks based on the title of documents(html) in a folder and its sub folders. Looping through using filesystemobjects folder,subfolder and files collections is OK but I don't know how to access the title of another document without opening, searching for <TITLE> then closing the file.

  2. #2
    Join Date
    Dec 1969

    Default RE: Access title property

    You can open the file as a TextStreamObject with the OpenTextFile method of the FileSystemObject. The ReadAll method of the textstream will give you the entire file as a string. Then you can search that for the <title> tag, and find out the title.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts