Hey guys.

I'm new to this vb.net programing, and was trying to build an Email-client where you can change the SMTP server,
adress and password and then it saves it to a config.

But my problem is right now that, the textbox wont accept any inputs. So if anyone could help me I would be glad.

Private Sub txtEmail_TextChanged(sender As System.Object, e As System.EventArgs) Handles txtEmail.TextChanged

    txtEmail.Text = ""

    txt1 = txtEmail.Text

    txtEmail.Text = My.Settings.email

    If txtEmail.Text.Trim.Length > 0 Then
        My.Settings.email = txtEmail.Text.Trim
    End If
End Sub

Thanks

hehe , read your code out loud, and you will figure it out :)

I have been watching this codesnippet all day, and still havent figured it out. :/
I've only been programming for a few days so... I dont see that kind of stuff yet.

the first thing you do when text_changed is called is set txtEmail.Text = ""