Dear Derick, The code after the "print" is not executed correctly when using IIS 5.0. Instead of that the Word program appears (server-side) and all the previusly documented happens, nothing appears, although the memory chart shows that the program has been started. Instead an Invoke() error is returned on the screen (client-side). Hoping this has explained one thing and another. Regards, Richard van den Hoven. Date sent: 26 Jan 2001 21:06:57 -0000 To: [EMAIL PROTECTED] Subject: PHP 4.0 Bug #8934 Updated: Execution of script aborted From: Bug Database <[EMAIL PROTECTED]> > ID: 8934 > Updated by: derick > Reported By: [EMAIL PROTECTED] > Old-Status: Open > Status: Feedback > Bug Type: COM related > Assigned To: > Comments: > > Can you elaborate some more? What exactly doesn't work then, does it crash, does it >give you an error? > > Previous Comments: > --------------------------------------------------------------------------- > > [2001-01-26 08:37:38] [EMAIL PROTECTED] > The example (see below) from the PHP site to do some stuff with MS Word seems >incompatible with IIS 5.0. > > //<BEGIN_CODE> > $word=com_load("Word.application") or die("Cannot start word for you"); > print "Loaded word version ($word->Version)n"; > $word->visible =1 ; > $word->Documents->Add(); > $word->Selection->Typetext("Dit is een test"); > $word->Documents[1]->SaveAs("burb ofzo.doc"); > $word->Quit(); > //<END_CODE> > > The same code has also been executed on (another) system runnig Win ME / Apache and >does exactly what it's supposed to do. > > Does this problem involves some kind of priviliges, not already documented? > > > > > --------------------------------------------------------------------------- > > > Full Bug description available at: http://bugs.php.net/?id=8934 > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]