Re: Word instance not closing after call to $word->Quit()
| From: | Gang Chen | Date: | Tue, 16 Dec 2008 22:54:06 +0000 |
| Subject: | Re: Word instance not closing after call to $word->Quit() | ||
| References: | 1 2 3 4 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29104@lists.php.net to get a copy of this message | ||
Hello Sascha,
Try to reinstall Office. I have encountered this problem before and
the reinstallation solves it. Why ? I don't know :-)
Regards,
Gang Chen
2008/12/17 Sascha Meyer <harlequin2@gmx.de>:
> I tried the following VBScript ...
>
> [CODE]
> dim objWord
>
> set objWord = CreateObject("Word.Application")
> objWord.Visible = true
> msgbox objWord.Version
> objWord.Quit()
> [/CODE]
>
> ... and the result is: Word loads, the version info is displayed and the instance is unloaded
> again. My only guess is that in this case the calling process is also terminated and all references
> are released and in case of PHP the process remains because it runs as a child process of IIS?
>
> Once again my system summary for troubleshooting purposes:
> Win 2003 SP2
> IIS 7
> PHP 5.2.6, CGI
>
> Regards, Sascha
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
> http://www.gmx.net/de/go/multimessenger
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Internals Study
http://www.phpinternals.com