TextBox Values not updating on click command
<p>Im experimenting with upgrading from VBA to VB.NET, so I am learning some pretty basic stuff by figuring out the syntax differences between things I have done and). So far so good, but I cant seem to get a textbox to update the display value in the form. Anyone want to explain why I am dumb? I spent some time surfing the various interweb stuff, but have yet to find anything(unless I am dumb and just didnt understand it when i saw it). </p>

<p>Here's what I have so far:</p>

<pre><code>    Dim this As String = Trim$(Mid$(TextBox1.Text, InStr(TextBox1.Text, "&amp;") + 1))
    Dim oldtxt As String = TextBox1.Text
    If InStr(TextBox1.Text, "&amp;") &gt; 0 Then
        TextBox1.Text = TextBox1.Text.Replace(TextBox1.Text, "End Date Copied" &amp; this)
        Clipboard.SetText(this)
        Threading.Thread.Sleep(2000)
        TextBox1.Text = TextBox1.Text.Replace(TextBox1.Text, oldtxt)
    End If
</code></pre>