Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot open MS Word

Status
Not open for further replies.

Bersani

Programmer
Nov 10, 2011
48
US
I cannot get "$word = new COM("word.application") or die ("Could not initialise MS Word object.");" to open MS Word. I have Word installed on the machine and I set com.allow_dcom = true in php.ini (also removed ; ). All I get is a blank screen. My Xampp control panel shows Apache and MySQL running and I can run other php.
 
I don't use windows. But I would be surprised if opening word via com caused it to display on the screen. It would be more likely that it opened as a programmatic instance. I imagine that to get it to appear you would have to open a document and then call an explicit show() method.
A better test might be to examine the list of running processes to see whether word appears.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top