Chrisly74
Messages postés23Date d'inscriptionlundi 10 avril 2006StatutMembreDernière intervention11 mai 2006
-
5 mai 2006 à 10:08
Chrisly74
Messages postés23Date d'inscriptionlundi 10 avril 2006StatutMembreDernière intervention11 mai 2006
-
5 mai 2006 à 11:46
bonjour j'ai un problème j'aimerai savoir comment on code la ligne entre "" en Visual basic .net
Dim myReadBuffer(1920) As Byte
Dim Donnee1(1920) As Char
networkStream.Read(myReadBuffer, 0, myReadBuffer.Length)
For i As Integer = 0 To myReadBuffer.Length
"Donnee1[i]=(char)myReadBuffer[i]"
Next i
LstOutputCli.Items.Insert(LstOutputCli.Items.Count, donneeRecus)
cs_Willi
Messages postés2375Date d'inscriptionjeudi 12 juillet 2001StatutModérateurDernière intervention15 décembre 201822 5 mai 2006 à 10:38
Salut,
Essais ceci
Dim myReadBuffer(1920) As Byte
Dim Donnee1(1920) As Char
networkStream.Read(myReadBuffer, 0, myReadBuffer.Length)
<STRIKE>For i As Integer = 0 To myReadBuffer.Length
"Donnee1[i]=(char)myReadBuffer[i]"
Next i
</STRIKE>Donnee1 = System.Text.ASCIIEncoding.ASCII.GetChars(myReadBuffer) LstOutputCli.Items.Insert(LstOutputCli.Items.Count, donneeRecus)