text box edit

Bonzay0

Registered User.
Local time
Today, 15:23
Joined
Apr 16, 2009
Messages
17
I'am tring to change a textbox from another class
but the text box isn't changing why is that?
here is a piece of the code:

in the class:

Code:
Public Class Chat

Private Sub SendB_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SendB.Click

Dim x As New tee

x.startBackgroundTask()

Me.Logtxt.Text += "Whoopy" + vbCrLf



End Sub

End Class
in the other class:

Code:
Public Class tee
Private Sub BackgroundWorker1_DoWork(ByVal sender As Object, _
    ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork

Chat.Logtxt.Text += "YEY"

End Sub

End Class
help plz
 
have no idea what you're talking about, but i'd take out the "+" before the "=" in the two instances that i see it there.
 

Users who are viewing this thread

Back
Top Bottom