Figured it out. Pulled out the ->Close() and had the quit() just override
the save. Here's the new function in case anyone cares.
function spellcheck($string){
$word = new COM("word.application") or die("Unable to instanciate Word");
$word->Visible = 0;
$corrected = $word->Selection->Text;
$word = null;
return $corrected;
J Wynia

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to