note 107880 added to function.com-load-typelib
| From: | tomas dot burba at softneta dot lt | Date: | Mon, 12 Mar 2012 23:39:00 +0000 |
| Subject: | note 107880 added to function.com-load-typelib | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186617@lists.php.net to get a copy of this message | ||
I had some problems with a third-party Word-controlling code that is somewhat similar to
Richard's example. (Word 2007 SP1, XP SP2.) Rewrote some parts according to that example, no
luck. Error messages from Word were crazy:
"Bad parameter" -- it didn't like wdGoToBookmark but was ok with its numeric
equivalent -1;
"Call to undefined method variant::SaveAs()" -- the same with Save() that was suitable in
my case, so no options were remaining.
But then I ran the example via php.exe in the command line, and it worked! Eventually it turned out
that Apache service must be run as some real user instead of SYSTEM.
----
Server IP: 193.219.81.76
Probable Submitter: 193.219.160.253
----
Manual Page -- http://www.php.net/manual/en/function.com-load-typelib.php
Edit -- https://master.php.net/note/edit/107880
Del: integrated -- https://master.php.net/note/delete/107880/integrated
Del: useless -- https://master.php.net/note/delete/107880/useless
Del: bad code -- https://master.php.net/note/delete/107880/bad+code
Del: spam -- https://master.php.net/note/delete/107880/spam
Del: non-english -- https://master.php.net/note/delete/107880/non-english
Del: in docs -- https://master.php.net/note/delete/107880/in+docs
Del: other reasons-- https://master.php.net/note/delete/107880
Reject -- https://master.php.net/note/reject/107880
Search -- https://master.php.net/manage/user-notes.php