Reply to Re: Unusual behaviour opening Word document

Your name:

Reply:


Posted by Csaba Gabor on 07/24/06 22:49

Alvaro G. Vicario wrote:
> *** Csaba Gabor escribió/wrote (24 Jul 2006 05:27:59 -0700):
> > <?php
> > $path = "c:\\path\\to\\word\\document\\mydoc.doc";
> > $doc = new COM($path);
> > $doc->Application->visible = true;
> > ?>
>
> According to PHP manual, COM constructor doesn't expect a file name:

That's why I posted. It wasn't entirely clear to me whether my
construct was legal under PHP. But, if you read my subsequent post,
you saw that that was not what the errors were due to.
....
> In my computer, the code just crashes PHP interpreter.

The code I gave was for PHP 5.2 on Win XP Pro (and Word 2003).
The calls with COM code are significantly different for PHP 5 vs. PHP
4.

What machine/PHP/Word are you using?
Csaba

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация