php, excel - release problem

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

 



Hello

I have following script:

$MyEx = new COM("Excel.Application",null,CP_UTF8) or Die ("Did not connect");
$xls = &$MyEx->application->Workbooks->Open(getcwd()."\\arkusz.xls") or Die ();
$xls->close(false);
$xls->release();
unset($xls);

$MyEx->quit();
$MyEx->release();
unset($MyEx);

After exiting php (4.3.3) excel is still in memory.
Does it correctly work for anybody?


Without opening xls it's ok (however useless):

$MyEx = new COM("Excel.Application",null,CP_UTF8) or Die ("Did not connect");
$MyEx->quit();
$MyEx->release();
unset($MyEx);


BTW. is there a way to use Excel constants - eg. for borderaround method?

BR
-- 
\ Grzegorz Godlewski                                                      /
/ Mail: ggodlewski()pld-linux.org     GG: 1600799      ICQ UIN: 118261503 \

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


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

  Powered by Linux