converting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Dim x As String = blabla[0]
Dim i As byte
I need to read that 0 to my byte i
how can I convert from string to byte???
thanks for your help
 
Lamis said:
Dim x As String = blabla[0]

?!?

That's not valid VB code.
Dim i As byte
I need to read that 0 to my byte i
how can I convert from string to byte???

'System.Text.Encoding.<encoding>.GetBytes'. In addition check out 'Asc',
'AscW', and 'Convert.To*'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top