strings chopped in half using COM objects

From: Date: Fri, 09 Nov 2001 16:26:45 +0000
Subject: strings chopped in half using COM objects
Groups: php.windows 
Request: Send a blank email to php-windows+get-10320@lists.php.net to get a copy of this message
On Thu, 08 November 2001, "Alan Brown" wrote: > > I just grabbed the very latest from CVS (which seems to have a label of > 4.2.0-dev) and the problem appears to have been repaired. > ok, thanx very much, Alan! I've now another question: how to access a property defined as "function"? eg., $word->Tasks->Item[$i] in this snip: $word=new COM("word.application") $ntask= $word->Tasks->Count; //gets number of tasks for ($i=0; $i<= $ntask; $i++ ) { echo $word->Tasks->Item[$i]->Name; } (I get " 'Item' is not a property ") neither com_get seems to work.. thanks, --giuse ________________end_of_mail_________________________ Find the best deals on the web at AltaVista Shopping! http://www.shopping.altavista.com

« previous php.windows (#10320) next »