Hi,
i create a thread that load a function, in this function i need to read from txtbox into the same form and during the function write into another textbox
the call to function is done in this way
Code:Dim t As Thread t = New Thread(AddressOf Me.myFunction) t.Start()
from myFunction i read info in this way
and i write into textbox during the execution of myFunction in this wayCode:myInfo = textbox1.text
but in debug time i have an error of crossthread..Code:textInfo.text = myInfo
how can i solve this problem??
please help me!




Reply With Quote
