This problem is real and is undocumented as a bug by MS but has appeared
several times in several newsgroups. No solutions were ever proposed. So I
repeat our solution to this  problem despite its brute force nature. We
installed PVIEW and exec a pview KILL EXCEL* when we are done with the EXCEL
COM processing. Terrible yes, but effective.

-----Original Message-----
From: Scott Hurring [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 4:41 PM
To: Php-Win (E-mail)
Subject: RE: [PHP-WIN] I want to learn more COM for my php script

Short answer: Do some google searches. :)

Longer answer:
Personally, I've not really found too much info on
PHP+COM+Excel on the web.

If you are very comfortable with PHP and know a little VB,
there are COM VB\VBScript examples on MS's website, that
(with a little work) can be translated into working PHP code.

PHPbuilder has a nice article up about COM programming,
and a few other sites out there have some sample code.

Also, check out MS's Excel object model, which might help
you figure out what you can and cannot ask the Excel
COM Object to do for you :)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/modcore/htm
l/deovrMicrosoftExcel2000.asp

---
Scott Hurring
Systems Programmer
EAC Corporation
[EMAIL PROTECTED]
Voice: 201-462-2149
Fax: 201-288-1515

> -----Original Message-----
> From: Jack [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 24, 2002 5:59 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] I want to learn more COM for my php script
>
>
> Dear all
>  i know if i want the php script to access data from MS Word
> or Excel, i got
> to know about COM, but i don't know where to start on COM, so
> is there any
> Recommendation on books which i can learn about COM from the
> Beginning!
>
>
> --
> Thx a lot!
> Jack
> [EMAIL PROTECTED]
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002



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

Reply via email to