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

From: Date: Wed, 24 Apr 2002 21:28:32 +0000
Subject: RE: [PHP-WIN] Excel not closing after using it via COM
Groups: php.windows 
Request: Send a blank email to php-windows+get-13291@lists.php.net to get a copy of this message
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); unset($book); $excel->Quit(); com_release($excel); unset($excel) I agree with a previous poster to this list; that it's most likely an "undocumented" MS bug (are there any other kinds of MS bugs? hehe) --- Scott Hurring Systems Programmer EAC Corporation ScottH@eac.com Voice: 201-462-2149 Fax: 201-288-1515 > -----Original Message----- > From: Helphand [mailto:helphand@pacbell.net] > > Not sure if this will help or not, but I had a similar > issue using Perl. > Turns out that it was popping up a dialog box on the server when > I did a save or saveas and there was a pre-existing file with that > same name. I solved it by first deleting the file, then doing a > saveas and the problem went away. > > Scott > >

« previous php.windows (#13291) next »