--- In [email protected], "Sheri" <sheri...@...> wrote:

> OK, try this then. Create the VARIANT with VT_ERROR etc. Send a pointer to 
> this VARIANT using VT_VARIANT|VT_BYREF. Its the only way to ensure that 
> another process is going to see this VARIANT exactly the way you make it.

comPlugin0.72_100118.zip.  I did that thing, but didn't test, except that it 
seems a "t" though in at least one case: excel getfilewSaveAs I think it was.

Finally figured out how to get at least some extra error info with 
IDispatch::Invoke fails. objApp.Help(4) in word now gives mch same error as vbs.


You said _typed variants didn't work with "t ". 

com.method_typed(objApp, "GetSaveAsFileName", ;;+
"s t t s ", "TestVariants.xls", "", "", "Hello")

and 

com.set_arg_types("s t t s ")
objApp.GetSaveAsFileName("TestVariants.xls", "", "", "Hello")

both seem to work for me??








Reply via email to