Hy everybody,
Does somebody have an idea or example on how to use the %VT_RECORD
in a record. I have a function that passes over a variant and that
variant could be of type %VT_RECORD but I have no idea how to use
it. I would like to be able to store the %VT_RECORD (which is a
type) into a String
E.g.
Function MyVariantFunction(vVar as VARIANT) As String
Local Output as String
If VariantVT(vVar) = %VT_RECORD Then
' Do something here .... and...
OutPut = Variant$(vVar) ' However with a %VT_RECORD this doesn't work.
End If
' Other stuff here maybe ... .. ..
Function = Output
End Function
Thanks in advance
Steven
------------------
I'd rather be hated for who I am, then being loved for who I am not.
Does somebody have an idea or example on how to use the %VT_RECORD
in a record. I have a function that passes over a variant and that
variant could be of type %VT_RECORD but I have no idea how to use
it. I would like to be able to store the %VT_RECORD (which is a
type) into a String
E.g.
Function MyVariantFunction(vVar as VARIANT) As String
Local Output as String
If VariantVT(vVar) = %VT_RECORD Then
' Do something here .... and...
OutPut = Variant$(vVar) ' However with a %VT_RECORD this doesn't work.
End If
' Other stuff here maybe ... .. ..
Function = Output
End Function
Thanks in advance
Steven
------------------
I'd rather be hated for who I am, then being loved for who I am not.
Comment