I am trying to debug some old VB6 code and in the process I would like to see what is being sent from one of the dll's via a variant that contains an array. Hope I am describing that correctly.
I have been struggling for many hours so if someone wouldn't mind pointing me in the right direction I would appreciate it.
Coming into a Function is -
Via a Watch it looks likes this.
![Name: rawdata.jpg
Views: 30
Size: 27.9 KB]()
Specifically I want to see what is in Rawdata
This returns a value of 307 -
and it is this content that I would like to view at text characters.
I have tried a number of things that have not worked including ;
also concatenating each element and so on.
Thanks
I have been struggling for many hours so if someone wouldn't mind pointing me in the right direction I would appreciate it.
Coming into a Function is -
Code:
ByVal vTemplate As Variant
Specifically I want to see what is in Rawdata
This returns a value of 307 -
Code:
MsgBox (UBound(vTemplate.RawData))
I have tried a number of things that have not worked including ;
Code:
MsgBox StrConv(vTemplate.RawData(), vbFromUnicode)
MsgBox CStr(StrConv(vTemplate.RawData(), vbFromUnicode))
MsgBox Str(vTemplate.RawData(1))
Thanks