Hello all,
I try to get some properties from an Excel or Word document with this
script. It works fine on DOS windows but not in Internet Explorer. I am
using IIS 4.0 and Office 98.
#Example to get document title
use Win32::OLE;
print "Content-type: text/html\n\n";
print "<html><head></head><body>";
print "Example to get document title<br>\n";
$xl = Win32::OLE->GetObject("/Intranet/test.doc");
$title = $xl->BuiltinDocumentProperties(1)->{Value};
print "Title: $title<br>\n";
$xl -> close(0);
print "</body></html>";
Thanks,
Ignacio Lacosta,
Spain.
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web