I've used the COM method some years ago... and it's a mess!
You need to define, create and destroy all objects explicitly... you
can't use any "method" for creating the objects, because if you use
them, you won't have a reference to the intermediate objects, which will
lead to be unable to close excel properlly.
BTW, there are examples out there of COM use... and most don't do things
explicitly... and thrus fall in the problem reported...
If it was today... i would run away from using it like plage!
;)
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php