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

2008-12-16 Thread Andi Gutmans
I think it is an add-in which is causing the issue... Andi > -Original Message- > From: Gang Chen [mailto:eniac2...@gmail.com] > Sent: Tuesday, December 16, 2008 2:54 PM > To: Sascha Meyer > Cc: Andi Gutmans; php-windows@lists.php.net > Subject: Re: [PHP-WIN] Word in

Re: [PHP-WIN] Word instance not closing after call to $word->Quit()

2008-12-16 Thread Gang Chen
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 : > I tried the following VBScript ... > > [CODE] > dim objWord > > set objWord = CreateObject("Word.Application") > o

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

2008-12-16 Thread Sascha Meyer
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

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

2008-12-16 Thread Andi Gutmans
which you could pass in. Let me know if that changes anything. Andi > -Original Message- > From: Sascha Meyer [mailto:harlequ...@gmx.de] > Sent: Tuesday, December 16, 2008 8:15 AM > To: Andi Gutmans > Cc: php-windows@lists.php.net > Subject: Re: RE: [PHP-WIN] Word instance

Re: RE: [PHP-WIN] Word instance not closing after call to $word->Quit()

2008-12-16 Thread Sascha Meyer
Hi Andi, Andi wrote: > Has anyone helped you so far? > Looks like a reference counting problem in PHP. There were such problems > in the past but they were resolved. > I assume this happens with any COM object you are trying to open? I haven't found a solution yet and currently use a workaround

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

2008-12-16 Thread Andi Gutmans
> Sent: Thursday, December 11, 2008 1:48 AM > To: php-windows@lists.php.net > Subject: [PHP-WIN] Word instance not closing after call to $word->Quit() > > Good morning to you, > > one of my scripts creates a winword COM reference, creates a new document, > appends data

Re: [PHP-WIN] Word instance not closing after call to $word->Quit()

2008-12-11 Thread Gunawan
just my luck.. I have same problem i wish to build like yours.. but eventualy.. i found a better one.. *still not a better i want i create the file using HTML and then i put header as word ^^ Sascha Meyer wrote: Good morning to you, one of my scripts creates a winword COM reference, creates a

[PHP-WIN] Word instance not closing after call to $word->Quit()

2008-12-11 Thread Sascha Meyer
Good morning to you, one of my scripts creates a winword COM reference, creates a new document, appends data and saves the file to disk; works like a charm, but the word instance remains after the script has finished. To test this issue, I created the following minimalistic script: [CODE] Quit