Bug #12341 Updated: Don't is appears the object

From: Date: Tue, 24 Jul 2001 18:19:44 +0000
Subject: Bug #12341 Updated: Don't is appears the object
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60883@lists.php.net to get a copy of this message
ID: 12341 Updated by: andy Reported By: tuca@ctgeo.br 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: exec("c:\path\to\winword"); Previous Comments: ------------------------------------------------------------------------ [2001-07-24 12:17:04] andy@php.net Did the document save correctly? ------------------------------------------------------------------------ [2001-07-24 10:43:11] tuca@ctgeo.br 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->Documents->Add(); $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 thanks Luiz Fernando ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12341&edit=1

« previous php.dev (#60883) next »