> <?
> $word=new COM("word.application") or die("Cannot start MS Word");
> print "Loaded word version ($word->Version)\n";
> $word->visible = 1 ;
> $word->Documents->Add();
> $word->Selection->Typetext("This is a test");
> ?>
> does anyone recognise this?????

Oh yes - this would be Word via COM - if you are having problems getting
this to work, I would suggest consulting the VBA reference manual that comes
with Office - it will give you the methods/objects available to you, as well
as examples of how to use them...


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

Reply via email to