FWIW, I found another one of those application error messages that shows up 
under vbscript. Word.Application's Help method, seems that most of the 
constants other than 1 generate a com exception in Powerpro (at least with Word 
from Office 2003). The 1 in that function in the 
comPluginDemoScriptWordDotSyntax script was bringing up a Modal "About" Dialog 
(script stopped until I clicked OK), so I was trying to substitute a different 
value.

e.g.:

WordApp.Help(4)

---------------------------
Windows Script Host
---------------------------
Script: testwordhelp.vbs
Line:   5
Char:   1
Error:  This method or property is not available because the command is not 
available on this platform.
Code:   800A11FD
Source:         Microsoft Word

---------------------------
OK   
---------------------------

---------------------------
PowerPro
---------------------------
ERRORS: com.method: Invoke failed  (sys code 80020009: "Exception occurred.")

Error occurred near line 26 of script modcomPluginDemoScriptWordDotSyntax:
objApp.Help(4)

Press Cancel to end all running scripts.
---------------------------
OK   Cancel   
---------------------------


Reply via email to