|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-05-18 09:57 UTC] phanto@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 06:00:01 2025 UTC |
I tried a basic example provided by php programming manual: 1. $word=new COM("word.application") or die("Cannot start 2. word for you"); 3. print "Loaded word version ($word->Version)\n"; 4. $word-visible =1 ; 5. $word->Documents->Add(); 6. $word->Selection->Typetext("Dit is een test"); 7. $word->Documents[1]->SaveAs("burb ofzo.doc"); 8. $word->Quit(); I get an error prompt on line 4 (memory access fault). I think COM support is very weak...