I am working on a simple COM script using PHP.  I found a tutorial and I'm
simply trying to initiate a MS Word instance but I am getting this rather
interesting error:

-- CODE

$word = new COM("word.application") or die("Unable to instantiate Word");


-- ERROR

Warning: Invalid ProgID, GUID string, or Moniker: Invalid syntax in
D:\public\WordIndex\wordIndex2.php on line 12
Unable to instantiate Word

Can anyone shed some light on what might be the problem?

Thanks,
Ron





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

Reply via email to