Re: Problem in funcition COM

From: Date: Tue, 24 Jul 2001 16:33:31 +0000
Subject: Re: Problem in funcition COM
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8485@lists.php.net to get a copy of this message
Fernando: Your script is fine, it should work on your server but, of course, do not expect to open word on the client side.... Alain On Tue, Jul 24, 2001 at 11:49:04AM +0100, Luiz Fernando Tuca" wrote: > 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 appeared. > > thanks > > Luiz Fernando > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#8485) next »