RE: Word instance not closing after call to $word->Quit()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think it is an add-in which is causing the issue...

Andi

> -----Original Message-----
> From: Gang Chen [mailto:eniac2008@xxxxxxxxx]
> Sent: Tuesday, December 16, 2008 2:54 PM
> To: Sascha Meyer
> Cc: Andi Gutmans; php-windows@xxxxxxxxxxxxx
> Subject: Re:  Word instance not closing after call to $word->Quit()
> 
> 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@xxxxxx>:
> > 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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux