<< COM_get | COM engine | COM_ismethod >> |
S = invoke(h, methodname, arg1, arg2, ...) |
S = COM_invoke(h, methodname, arg1, arg2, ...) |
a COM object.
a string: the method name invoked on COM object.
a Nelson variable of type double, int, boolean, string, ... used as parameters of COM function invoked.
a COM object or data.
If the method returns a COM interface, then ole_invoke returns a new COM object that represents the returned interface.
pWord = actxserver('Word.Application')
pWord.Visible = true
invoke(pWord, 'Quit')
delete(pWord)
clear pWord
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET