Dim url, host, port, custId
host = "http://127.0.0.1"
port = ":80"
custId = "???"
If custId <> "" Then
url = host & port & "/SalesPadRemoteLibrary/Web/OpenCustomer?Customer_Num=" _
& custId
Dim myRequest As WebRequest = WebRequest.Create(url)
Dim myResponse As WebResponse = myRequest.GetResponse()
myResponse.Close()
End If
I am having trouble with this piece of software. I get an "expected end of statement" error at line 8 character 15. I am not sure why. I have a similar piece of code that works, but the functionality is not exactly what I want. Am I initializing the Requests/Responses incorrectly?