Unicode delimiter vb6

vb62022

New Member
Joined
Jul 18, 2022
Messages
7
Office Version
  1. 2003 or older
Hello everyone, although is not visual basic 6 forum here, i am sure i can find solution for my problem. I saw similar thread there, but for some reason that method doesnt work for me(maybe im doing something wrong im not sure).

It's about that 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 want to configure the app to work on Chinese windows as well, I know it will work if I change the system location, but that's not what I want. I want it to work without changing the system location, as far as i understand the delimiter function should be unicode delimited.
The project is coded in vb6, so i still trying to find solution.

Im pasting example of the code.




Dim MyData() As String
MyData() = Split(info, "DELIMITER") 'Note I was try it MyData() = Split(info, ChrW(&H60C)) but it still does not work.

As i said i saw this similar thread, but it does not work for me.
Here is the link.

 
When doesn't it work? Do you have code we can review?
  • Sub Main()
  • Dim YO As String, Datos As String, sData() As String
  • YO = App.Path & "\" & App.EXEName & ".exe"
  • Open YO For Binary As #1
  • Datos = Space(LOF(1))
  • Get #1, , Datos
  • Close #1
  • sData() = Split(Datos, "DELIMITER1")
  • sData(1) = TEST2(sData(1), "TEST")
  • test YO, StrConv(sData(1), vbFromUnicode)
  • End
 
Upvote 0

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,215,374
Messages
6,124,569
Members
449,173
Latest member
Kon123

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top