#22956 [Opn->Fbk]: COM cannot execute in Windows XP
| From: | rioter@php.net | Date: | Sun, 30 Mar 2003 10:18:07 +0000 |
| Subject: | #22956 [Opn->Fbk]: COM cannot execute in Windows XP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36696@lists.php.net to get a copy of this message | ||
ID: 22956
Updated by: rioter@php.net
Reported By: uk4460 at yahoo dot com
-Status: Open
+Status: Feedback
Bug Type: COM related
Operating System: Windows XP
PHP Version: 4.3.1
New Comment:
how are you trying to run the script?
as far as i can see ( this is my first look at COM objects) it run as a
module of apache but will not become visible however if you run it from
the command line it will
Previous Comments:
------------------------------------------------------------------------
[2003-03-29 23:03:05] rioter@php.net
oops
it doesnt work in 4.3.1 it seems for some reason apache was loading
4.2.2 sorry about that
open again
------------------------------------------------------------------------
[2003-03-29 22:06:11] rioter@php.net
this to me seems like the desired results
as this is not a bug in php im marking it as bogus
------------------------------------------------------------------------
[2003-03-29 20:47:03] uk4460 at yahoo dot com
I have working with COM Object to create a php program like below:
<?php
$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("Testing");
$word->Documents[1]->SaveAs("test.doc");
//$word->Quit();
?>
In windows 98, it can execute and can show the word application, but
the same setting in php.ini and so on, it cannot run in Windows XP. It
only resident "WINWORD" in memory which i can see through press the
Ctrl+Alt+Del, but it don't do anything even make the word application
object visible. Why can be happen? Please send the solution to my email
- uk4460@yahoo.com if u site can solve this problem. Thanks... a lot
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22956&edit=1