View Single Post
Old 11-01-2015, 05:06 AM
dilettante's Avatar
dilettante dilettante is offline
Underclocked lifestyle

Forum Leader
* Guru *
Join Date: Feb 2005
Location: Michigan, USA
Posts: 4,533

You can use the MidB$() function on the array to extract a substring, then convert that to Unicode. To do this the offset will be a 1-based value, so keep that in mind.

You can also use InStrB() if necessary to search for the ending NUL to get the length to extract.

The real question is why are you using VB6 if you don't know VB6? It is not legally available for free and expensive to acquire legitimately now so newcomers have no excuse for tampering with it.
Reply With Quote