Salut a tous
j'ai réalisé un programme qui lit data from Rs232 , mais j'ai un problème dans cette fonction :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
 
Private Sub SerialPort1_DataReceived(ByVal sender As Object, ByVal e AsSystem.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived
 
               Label8.Text = SerialPort1.ReadExisting()
 
    End Sub
il me donne :
Cross-thread operation not valid: Control 'Label8' accessed from a thread other than the thread it was created on.
c'est quoi le thread et comment régler ce problème ?

Merci de m'aider