--- In [email protected], "Sheri" <sheri...@...> wrote:
>
> --- In [email protected], "entropyreduction" 
> <alancampbelllists+yahoo@> wrote:
> > 
> > --- In [email protected], "Sheri" <sherip99@> wrote:
> > >
> > > See if this page tells you anything about Variants you don't know.
> > > 
> > > <http://msdn.microsoft.com/en-us/library/ms221673.aspx>
> > 
> > Know that one, nice summary.
> >
> 
> Another possibly useful site: <http://www.devguy.com/fp/Tips/COM/>
> 
> "Even if a method accepts a VARIANT as opposed to a VARIANT *, pointers can 
> be passed indirectly via VT_BYREF|VT_VARIANT.  VBScript passes [in] VARIANTs 
> in this fashion."
>

A skipped optional parameter is a variant of type VT_ERROR with an .scode field 
value of DISP_E_PARAMNOTFOUND <http://support.microsoft.com/kb/238981>

Couldn't a "k " for the desired parameter in our type spec string do that 
regardless of any actual "" in the input?

Possibly also do it without an active type spec string: if the typelibrary spec 
for that input parameter is optional VARIANT and the user's input value is ""

Regards,
Sheri

Reply via email to