Hello. I have a VB.Net application that I would like to put onto my website. I have a webhosting account with Godaddy, and I am using WordPress. Is this possible?
Thanks in advance.
Code:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("http://192.168.1.79:8080/led/23/off")
Dim response As System.Net.HttpWebResponse = request.GetResponse()
Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream())
Dim sourcecode As String = sr.ReadToEnd()
TextBox1.Text = sourcecode
TextBox1.BackColor = Color.White
End Sub
Private Sub onbutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles onbutton.Click
Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("http://192.168.1.79:8080/led/23/on")
Dim response As System.Net.HttpWebResponse = request.GetResponse()
Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream())
Dim sourcecode As String = sr.ReadToEnd()
TextBox1.Text = sourcecode
TextBox1.BackColor = Color.Orange
End Sub
End Class