Re: [PHP-WIN] Excel not closing after using it via COM

2002-04-27 Thread Alan Brown
This way you only have one errant instance and not hundreds. Alan. - Original Message - From: "Neil Lincoln" <[EMAIL PROTECTED]> To: "Alan Brown" <[EMAIL PROTECTED]>; "Scott Hurring" <[EMAIL PROTECTED]>; "Php-Win (E-mail)" <[E

Re: [PHP-WIN] Excel not closing after using it via COM

2002-04-27 Thread Harald Radi
> Is temporary-object behaviour supposed to happen > in cases like $obj->another->func(), or is this > an unintended side-effect of something else? no side effect, happens each time you dereference more than one member. $obj->foo->bar->func(); will therefore create two temp objects. > > Does P

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-26 Thread Neil Lincoln
GREAT! -Original Message- From: Alan Brown [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 3:24 PM To: Scott Hurring; Php-Win (E-mail) Subject: Re: [PHP-WIN] Excel not closing after using it via COM Not intended behaviour. A fix has been checked into CVS already. - Original

Re: [PHP-WIN] Excel not closing after using it via COM

2002-04-26 Thread Alan Brown
Not intended behaviour. A fix has been checked into CVS already. - Original Message - From: "Scott Hurring" <[EMAIL PROTECTED]> To: "Php-Win (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, April 26, 2002 16:08 Subject: RE: [PHP-WIN] Excel not closing aft

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-26 Thread Scott Hurring
E-mail) > Subject: RE: [PHP-WIN] Excel not closing after using it via COM > > > We have tried this and it doesn't help. And yes, any non > normal exit from > the EXCEL COM object results in a "zombie". > > -Original Message- > From: Alan Brown [m

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-26 Thread Scott Hurring
ott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Alan Brown [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP-WIN] Excel not closing after using it via COM > > There is a missing "Release&

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-26 Thread Neil Lincoln
ing else Alan. - Original Message - From: "Scott Hurring" <[EMAIL PROTECTED]> To: "Php-Win (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, 25 April, 2002 13:51 Subject: RE: [PHP-WIN] Excel not closing after using it via COM > I'm not doing this through A

Re: [PHP-WIN] Excel not closing after using it via COM

2002-04-26 Thread Alan Brown
rom: "Scott Hurring" <[EMAIL PROTECTED]> To: "Php-Win (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, 25 April, 2002 13:51 Subject: RE: [PHP-WIN] Excel not closing after using it via COM > I'm not doing this through Apache. > > I tried out Win32 command l

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-25 Thread Scott Hurring
[EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Neil Lincoln [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 25, 2002 1:20 PM > To: Scott Hurring; Php-Win (E-mail) > Subject: RE: [PHP-WIN] Excel not closing after using it via COM > > >

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-25 Thread Neil Lincoln
lto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 11:59 AM To: Php-Win (E-mail) Subject: RE: [PHP-WIN] Excel not closing after using it via COM I went back and ran some perl code using the Excel COM object. Excel does properly exit... so it looks like you are correct -- it's probably a bug in

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-25 Thread Scott Hurring
I went back and ran some perl code using the Excel COM object. Excel does properly exit... so it looks like you are correct -- it's probably a bug in PHP's COM code. Attached is is sample Perl, PHP and Excel, if anyone wants to verify that excel does indeed die after the perl script is finished

Re: [PHP-WIN] Excel not closing after using it via COM

2002-04-24 Thread Alan Popow
On Wed, 24 Apr 2002 17:28:32 -0400, you wrote: >Thanks for the suggestion. I tried using SaveAs(...) in >addition to Save(), to no avail. Excel still stays resident. > >This is my "end" sequence, when i'm all done processing >the spreadsheet. Can anyone see any flaws or errors in >what i'm doi

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-24 Thread Helphand
At 05:28 PM 4/24/02 -0400, Scott Hurring wrote: >This is my "end" sequence, when i'm all done processing >the spreadsheet. Can anyone see any flaws or errors in >what i'm doing ?? > >$book->Save(); >$book->Close(); Try $book->Close("False"); >I agree with a previous poster to this l

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-24 Thread Scott Hurring
Thanks for the suggestion. I tried using SaveAs(...) in addition to Save(), to no avail. Excel still stays resident. This is my "end" sequence, when i'm all done processing the spreadsheet. Can anyone see any flaws or errors in what i'm doing ?? $book->Save(); $book->Close(); unset($sheet);

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-23 Thread Helphand
lto:[EMAIL PROTECTED]] >Sent: Tuesday, April 23, 2002 4:40 PM >To: Php-Win (E-mail) >Subject: [PHP-WIN] Excel not closing after using it via COM > >After working with Excel via COM, i cannot seem to get >the instance of Excel to quit (CTL+ALT+DEL shows an >'EXCEL.EXE' i

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-23 Thread Scott Hurring
: Scott Hurring; Php-Win (E-mail) > Subject: RE: [PHP-WIN] Excel not closing after using it via COM > > > I spent many hours on this and gave up and added a process > kill for the > EXCEL "zombie" after exiting the COM code. > There must be a better way.. > >

RE: [PHP-WIN] Excel not closing after using it via COM

2002-04-23 Thread Neil Lincoln
: [PHP-WIN] Excel not closing after using it via COM After working with Excel via COM, i cannot seem to get the instance of Excel to quit (CTL+ALT+DEL shows an 'EXCEL.EXE' in my process list). The script opens up a file, puts some numbers in, adds some numbers up, then closes the sheet and

[PHP-WIN] Excel not closing after using it via COM

2002-04-23 Thread Scott Hurring
After working with Excel via COM, i cannot seem to get the instance of Excel to quit (CTL+ALT+DEL shows an 'EXCEL.EXE' in my process list). The script opens up a file, puts some numbers in, adds some numbers up, then closes the sheet and tells excel to exit. I've been trying for a few hours now