Re: [PHP-WIN] Excel OLE Automation using COM: file access problem

2009-05-27 Thread Richard Quadling
-- >>> From: Richard Quadling [mailto:rquadl...@googlemail.com] >>> Sent: Tuesday, May 19, 2009 5:28 PM >>> To: Faubry, Samuel >>> Cc: php-windows@lists.php.net >>> Subject: Re: [PHP-WIN] Excel OLE Automation using COM: file >>> access problem &

Re: [PHP-WIN] Excel OLE Automation using COM: file access problem

2009-05-27 Thread Richard Quadling
; To: Faubry, Samuel >> Cc: php-windows@lists.php.net >> Subject: Re: [PHP-WIN] Excel OLE Automation using COM: file >> access problem >> >> 2009/5/19 Faubry, Samuel : >> >> From: Richard Quadling >> >> 2009/5/18 Faubry, Samuel : >> >>

RE: [PHP-WIN] Excel OLE Automation using COM: file access problem

2009-05-25 Thread Faubry, Samuel
your documentation is more reliable. Thanks, Samuel > -Original Message- > From: Richard Quadling [mailto:rquadl...@googlemail.com] > Sent: Tuesday, May 19, 2009 5:28 PM > To: Faubry, Samuel > Cc: php-windows@lists.php.net > Subject: Re: [PHP-WIN] Excel OLE Aut

Re: [PHP-WIN] Excel OLE Automation using COM: file access problem

2009-05-19 Thread Richard Quadling
2009/5/19 Faubry, Samuel : >> From: Richard Quadling >> 2009/5/18 Faubry, Samuel : >> > Hi, >> > >> > I am interfacing PHP and Excel to build a web-based >> reporting tool. I am running IIS6.0 with PHP 5.2.5 on Windows >> Server 2003, with Office 2003 installed. >> > >> > For testing purpose, I wro

RE: [PHP-WIN] Excel OLE Automation using COM: file access problem

2009-05-18 Thread Faubry, Samuel
> From: Richard Quadling > 2009/5/18 Faubry, Samuel : > > Hi, > > > > I am interfacing PHP and Excel to build a web-based > reporting tool. I am running IIS6.0 with PHP 5.2.5 on Windows > Server 2003, with Office 2003 installed. > > > > For testing purpose, I wrote a script that just connects to >

Re: [PHP-WIN] Excel OLE Automation using COM: file access problem

2009-05-18 Thread Richard Quadling
2009/5/18 Faubry, Samuel : > Hi, > > I am interfacing PHP and Excel to build a web-based reporting tool. I am > running IIS6.0 with PHP 5.2.5 on Windows Server 2003, with Office 2003 > installed. > > For testing purpose, I wrote a script that just connects to Excel, opens a > workbook, saves it

Re: [PHP-WIN] Excel Spreadsheet as a datasource

2003-03-18 Thread Erwan Pianezza
Hi there is commercial product out there if your company can afford it it is quite nice : http://www.zakkis.ca/products/abc_lightparser/index.php Erwan - Original Message - From: "Herhuth, Ron" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 18, 2003 2:57 PM Subject: [PHP

RE: [PHP-WIN] Excel Spreadsheet as a datasource

2003-03-18 Thread Chris Kranz
I've used COM objects to write to Excel spreadsheets and had no-end of problems. But never tried reading from it, well, did minimal reading to find the next blank cell, so I guess it would be much the same. It's pretty simple stuff using the COM object to access it tho. chris kranz fatcuban.com

Re: [PHP-WIN] Excel Spreadsheet as a datasource

2003-03-18 Thread Veselina Jecheva
Hello, Ron, I tried the same a couple of months ago, but received a message like "Cannot find the table in datasource". Obviously the ODBC driver in Win98/2000 couldn't find the sheet and resolve it as a table. Regards, Veselina At 08:57 3/18/03 -0500, Herhuth, Ron wrote: > >Has anyone successful

Re: [PHP-WIN] Excel

2003-01-30 Thread Jerry Nelson
At 1/30/2003 08:47 AM, you wrote: Hi, cfg: IIS 5.1, php4.1.2 After submiting web form I'm creating Excel file on server. Then I need to show it in client browser. How can I do it ? Have the client use IE as their browser and put this at the beginning of the module header("Content-Type: applic

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
ailto:[EMAIL PROTECTED]] > Sent: Friday, April 26, 2002 8:00 AM > To: Scott Hurring; Php-Win (E-mail) > Subject: Re: [PHP-WIN] Excel not closing after using it via COM > > There is a missing "Release" call in the COM code when > temporary objects are > created for a co

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
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 [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 8:00 AM To: Scott Hurring; Php-Win (E-mail) Subject: Re: [PHP

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
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 wen

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
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.. -Original Message- From: Scott Hurring [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 4:40 PM To: Php-Win (E-mail) Subject: [PHP-WIN] E

Re: [PHP-WIN] Excel COM

2001-04-19 Thread MD
I have also had such errors when using COM objects in general. I have not been able to pinpoint exactly the cause, but it seems that using any COM object in invisible mode ( setting the visible property to fasle) will increase your chances of failure. You also may find that you simply will not hav

Re: [PHP-WIN] Excel COM

2001-04-18 Thread Michael C
Ryan: Hey I am going to just say that I am curious myself now So that is why I am posting to this group Thanks Mike ""Conover, Ryan"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am trying to use the excel Com on a win2k/IIS5/php4.0.4pl1 with Office 2

RE: [PHP-WIN] Excel Manipulation

2001-04-05 Thread alain samoun
You can check the number of written rows every so often, see the COM class Excel at: http://phpclasses.upperdesign.com/browse.html?package=86 Message from Alain Samoun [EMAIL PROTECTED] HEAR ME>> http://pagoo.com/signature/alain -Original Message- From: Conover, Ryan [mailto:[EMAIL PR