H
Harold S
Hello,
I am having trouble defining a byte array in .Net
When i go this route it doesnt like the [] definition
Dim xxxx[] As New Bytearray = {"0x45", "0x70", "0x22", "0x48", "0x9d",
"0x17", "0x22", " 0x11", " 0x7f", " 0x96", "0x5f", "0x8f", "0x5c", " 0x96",
"0x65", "0xc2", "0x2d", "0x0c", "0x67", " 0xc7"}
When I go this route
Dim xxx() As Byte = {"0x45", "0x70", "0x22", "0x48", "0x9d", "0x17", "0x22",
" 0x11", " 0x7f", " 0x96", "0x5f", "0x8f", "0x5c", " 0x96", "0x65", "0xc2",
"0x2d", "0x0c", "0x67", " 0xc7"}
It gives me a run-time error Input string was not in a correct format.
Running out of ideas..dont see any other definitons anywhere.
TIA,
HS
I am having trouble defining a byte array in .Net
When i go this route it doesnt like the [] definition
Dim xxxx[] As New Bytearray = {"0x45", "0x70", "0x22", "0x48", "0x9d",
"0x17", "0x22", " 0x11", " 0x7f", " 0x96", "0x5f", "0x8f", "0x5c", " 0x96",
"0x65", "0xc2", "0x2d", "0x0c", "0x67", " 0xc7"}
When I go this route
Dim xxx() As Byte = {"0x45", "0x70", "0x22", "0x48", "0x9d", "0x17", "0x22",
" 0x11", " 0x7f", " 0x96", "0x5f", "0x8f", "0x5c", " 0x96", "0x65", "0xc2",
"0x2d", "0x0c", "0x67", " 0xc7"}
It gives me a run-time error Input string was not in a correct format.
Running out of ideas..dont see any other definitons anywhere.
TIA,
HS