robertlamour

I have a program that is a translator and I am trying to get all the algorithms correct. My main problem is that when I input into the text box region "zurcir" of the program, the string is read as such: "System.Windows.Forms.TextBox, Text: zurcir"

because the alogrithms for the data must be processed as specific words "zurcir"(from spanish) meaning "to hurt"(into English) When the input is read as a string it must not be read as such: "System.Windows.Forms.TextBox, Text: zurcir"

why is the string read as such



Re: Visual Basic Express Edition "System.Windows.Forms.TextBox, Text: zurcir"

Marinus Holkema

It would help if you add some code...

I figured out that you're using TextBox1.ToString() to get the inputted text. You should use TextBox1.Text instead:

Dim userText As String

userText = TextBox1.Text