I've never played with this, but you could try it out:
http://support.microsoft.com/?kbid=224351
Sample code:
<%
Dim oDSO, oProps
Set oDSO = CreateObject("DSOleFile.PropertyReader")
Set oProps = oDSO.GetDocumentProperties("C:\Path\To\Your\file.d oc")
Response.Write "Title: " & oProps.Title & "<br>"
Response.Write "Author: " & oProps.Author & "<br>"
Response.Write "Comments: " & oProps.Comments
Set oProps = Nothing
Set oDSO = Nothing
%>
Ray at home
"StrongBad" <St*******@NoSpam.com> wrote in message
news:uR**************@TK2MSFTNGP10.phx.gbl...
Does anyone know of a way to access the document properties of an office
document using ASP? I need to be able to read things like the Title,
Author, and Comments fields and pull that information into a web page.
Any help is greatly appreciated.
Thanks!!
Eric