ID: 12341
Updated by: andy
Status: Feedback
Bug Type: COM related
Operating System: NT 4.0 WorkStation
PHP Version: 4.0.6
New Comment:

I thought this is what the commands were supposed to do.

If you wanted to open word wouldn't you do something
like this:


Previous Comments:

[2001-07-24 12:17:04] [EMAIL PROTECTED]

Did the document save correctly?


[2001-07-24 10:43:11] [EMAIL PROTECTED]

A take a sample of function COM.

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

The commands execute, but the window of word don't appears.

I make a test with Autocad too, but the window don't appears.
When a had a ohter version PHP, don't remember, the window appears


Luiz Fernando


Edit this bug report at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to