0
我在VB.NET中創建了一個簡單的FORM,它需要一些細節,然後需要使用此信息登錄到3個位置。從VB應用程序填充Web窗體
目前我有代碼,所以它從文本框中獲取這些數據並將它們分配給4個不同的變量。從那裏我也開闢了三個不同的網站。
我很難找到我將如何採取變量,然後在Web應用程序上填充相應的字段。有什麼建議麼?
我的代碼:
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
'Define Store variable
Dim Store As String
Store = Me.TextBox1.Text
'Define IP Address variable
Dim IPAddress As String
IPAddress = Me.TextBox2.Text
'Define Username variable
Dim Username As String
Username = Me.TextBox3.Text
'Define Password variable
Dim Password As String
Password = Me.TextBox4.Text
' Open Store Specific URL 1
Dim WebAddress1 As String = "http://" & IPAddress & ":"
Process.Start(WebAddress1)
getElementByName
' Open Store Specific URL 2
Dim WebAddress2 As String = "http://somedomain2.com"
Process.Start(WebAddress2)
' Open Store Specific URL 3
Dim WebAddress3 As String = "http://somedomain3.com"
Process.Start(WebAddress3)
End Sub
End Class