[PHP] COM and php.... Several issues....

2002-03-06 Thread jeremy spielmann
I've read through most of the documentation on how to use COM to create MS Word documents via PHP, but I'm still having some issues that I can't seem to find any help on. CODE: Version)\n"; $word->visible = 1 ; $word->Documents->Add(); $word->Selection->Typetext("This is a test"); ?> RE

[PHP] Re: [PHP-WIN] Re: [PHP] Revised [PHP] COM and PHP

2001-02-28 Thread Alain Samoun
Among other articles, look at the COM functions in PHP4 article: http://www.phpbuilder.com/columns/ Alain On Wed, Feb 28, 2001 at 11:35:15AM +0100, Daniel Tryba wrote: > On Mon, Feb 05, 2001 at 03:05:24PM -0500, Conover, Ryan wrote: > > I have been trying the following example from the PHP devel

Re: [PHP] Revised [PHP] COM and PHP

2001-02-28 Thread Daniel Tryba
On Mon, Feb 05, 2001 at 03:05:24PM -0500, Conover, Ryan wrote: > I have been trying the following example from the PHP developer's cookbook > and it keeps giving me the following error. > > Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 5 > $excel_handle = new COM("excel.applica

Re: [PHP] RE: [PHP-WIN] Revised [PHP] COM and PHP

2001-02-05 Thread Sterling Hughes
> I tried with FALSE same error. > > I also tried the following word example > > $word = new COM("word.application") or die("Unable to instanciate Word"); > print "Loaded Word, version {$word->Version}\n"; > $word->Visible = 0; > $word->Documents->Add(); > $word->Selection->TypeText("Testing, te

[PHP] RE: [PHP-WIN] Revised [PHP] COM and PHP

2001-02-05 Thread Conover, Ryan
[mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 3:01 PM To: Conover, Ryan Subject: Re: [PHP-WIN] Revised [PHP] COM and PHP Try "FALSE" instead of "false" Andris mailto:[EMAIL PROTECTED] +--- Monday, February 05, 2001, 10:05:24 PM, you wrote:

[PHP] Revised [PHP] COM and PHP

2001-02-05 Thread Conover, Ryan
I have been trying the following example from the PHP developer's cookbook and it keeps giving me the following error. Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 5 Visible = false; //line3 $worksheet = $excel_handle->workbooks->add(); //line4 $worksheet->Cells(1,1)->valu

[PHP] COM and PHP

2001-02-05 Thread Conover, Ryan
I have been trying the following example from the PHP developer's cookbook and it keeps giving me the following error. Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 4 Visible = false; //line3 $worksheet->Cells(1,1)->value = "Name"; //line4 $worksheet->SaveAs("temp.xls"); //line5