Search code examples
unicodesplitvb6characterdelimiter

Unicode delimiter in vb6


i wrote data arrays at the end of the exe with delimiter. After I compiled, the app it didn't work on Chinese Windows, only on English, i tried to use unicode characters for delimiter(example below) but the file seems damaged and cannot be runned at all.

StringArray = Split(Mydata, ChrW(&H4E00))

is there any alternatives?


Solution

  • Put your data arrays in a Resource file and compile that into your EXE with the "VB6 Resource Editor" Add-in. Then you can load back your arrays with the "LoadResData" function.