none
System.NullReferenceException: 'Object variable or With block variable not set.' RRS feed

  • Question

  • here is my code: 

    Public Class Form1
        Private ReadOnly wclient As Object

        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

            wclient.DownloadString("https://mywebsite/file.php?target=" + TextBox1.Text + "&subject=" + TextBox2.Text + "&message=" + TextBox3.Text + "&amount=" + TextBox4.Text + "&sender=" + TextBox5.Text)

        End Sub
    End Class

    mywebsite is not actually my website link

    Can anyone tell me why i het this issue?

    Sunday, May 5, 2019 5:41 PM

All replies