Note that there are some explanatory texts on larger screens.

plurals
  1. POTextBox1 doesn't show the listbox1 value
    text
    copied!<p>I'm Visual Basic beginner, yesterday i wrote a dictionary that give you the opposite of the entered word, so i designed the form to look like this </p> <p>[url]http://img651.imageshack.us/img651/6115/errorbp.jpg[url]</p> <p>by the way i made a two list boxes as databases so the code will compare if the textbox1.text = listbox1.text then it will command textbox2 to append the value of the listbox : textbox2.appendtext(listbox2.text) but nothing happens my code:</p> <p>Public Class Form1</p> <pre><code>Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub TnsBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = TextBox3.ToString Then TextBox2.AppendText(ListBox2.Text) ElseIf TextBox1.Text = TextBox4.Text Then TextBox2.AppendText(ListBox1.ToString) End If End Sub Private Sub AddBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click ListBox1.Items.Add(TextBox3.Text) ListBox2.Items.Add(TextBox4.Text) End Sub </code></pre> <p>End Class the point of the code is ok cuz yesterday i finished the coding and the programs works fine but i forget to save it so i coded again and every thing above happens this is the yesterday program</p> <p><a href="http://www.mediafire.com/?tavne7xjyth7y7v" rel="nofollow">http://www.mediafire.com/?tavne7xjyth7y7v</a> virustotal link: <a href="https://www.virustotal.com/file/1d39429ae1498a744e1556188b7e8914526b7e2fbb2d4904c2b4ea22fb278dc7/analysis/1346676641/" rel="nofollow">https://www.virustotal.com/file/1d39429ae1498a744e1556188b7e8914526b7e2fbb2d4904c2b4ea22fb278dc7/analysis/1346676641/</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload