ID:               22933
 Updated by:       [EMAIL PROTECTED]
 Reported By:      cstreeter at andesagroup dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         COM related
 Operating System: Win XP Pro SP1
 PHP Version:      5CVS-2003-03-27 (dev)
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2003-08-18 08:43:52] [EMAIL PROTECTED]

Can you please test latest CVS and report whether the problem still
exists on XP?

- thanks -

------------------------------------------------------------------------

[2003-03-27 13:13:04] cstreeter at andesagroup dot com

Here's the code snippet I am using:

<? 
$word = new COM("word.application") or die("Unable to instanciate
Word"); 
print "Loaded Word, version {$word->Version}\n"; 
$word->Visible = 1; 
$word->Documents->Add(); 
$word->Selection->TypeText("This is a test..."); 
$word->Documents[1]->SaveAs("Useless test.doc"); 
$word->Quit(); 
?>

instatiating the Word object works fin. I can tell becuse this does not
fail when comment all the other code out and I can see in the Windows
Task Manager that an instance of Word was instantiated. As soon as I
try to do anything else, I get one of those famous XP error screens
asking me if I want to send the info to Microsoft.

According to this code (which I got from PHP help site somewhere) it
looks fairly straight forward. Nothing fancy going on here. Can you
help?

Thank you.

Chris Streeter
The Andesa Corporation
Bethlehem, PA, USA

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22933&edit=1

Reply via email to