I am using an Activex in my Html page. i need to get some data from this Activex via defined functions. the functions return a byte array as output. This byte array includes a string characters in its bytes. for example when returned data shall contain characters of "Hello" string, the function returns a byte array that encompass 5 byte, each of them has windows-1256 code of one character.
the problem is when i want to display this string. it dosn't work and displays odd charactersin my textbox (i guess they are unicode presentation of byte array) :
[code] Textbox1.value = myActivex.Get_Data();[/code]
I will thank you for any comment or solution.