DSOFile issues

From: Date: Tue, 22 Jun 2004 11:46:07 +0000
Subject: DSOFile issues
Groups: php.general 
Request: Send a blank email to php-general+get-188805@lists.php.net to get a copy of this message
Hi everybody, I need to get the Office Document Properties from MSWord-files and i found DSOFile for COM: http://support.microsoft.com/support/kb/articles/Q224/3/51.asp But now the problem is, that the COM Object don't releases the file lock. Here is the code I use: <?php $propReader = new COM('DSOleFile.PropertyReader'); $info = pathinfo(__FILE__); $docProps = $propReader->getDocumentProperties($info['dirname'] . '/Dok0.doc'); $custProps = $docProps->customProperties; while($elem = $custProps->next()) { echo $elem->Name . ': ' . $elem->Value . '<br>'; } unset($custProps); unset($docProps); unset($propReader); ?> I don't find anything online about that problem... Does anyone have experience with DSOFile? Thanks in advance, Marcel Tschopp

« previous php.general (#188805) next »