note 61727 added to class.com

From: Date: Fri, 10 Feb 2006 12:36:45 +0000
Subject: note 61727 added to class.com
Groups: php.notes 
Request: Send a blank email to php-notes+get-103434@lists.php.net to get a copy of this message
hi i try sample code from here it raise exception like this?what can i do solve it ? Invoke() failed: Exception occurred. Source: Microsoft Word Description: Could not open macro storage. in E:\bala\hardy\back\b.php on line 23 code: $word=new COM("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("zeo.doc"); $word->Quit(); ---- Server IP: 203.199.124.111 Probable Submitter: 59.92.43.224 ---- Manual Page -- http://www.php.net/manual/en/class.com.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+61727 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61727&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61727&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61727&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61727&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61727&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61727&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61727&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+61727&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#103434) next »