I am working in VB6. I am trying to send a list of data to url in protocol HTTP.
I am trying to do this with the help of "internet transfer control".
I am trying to use the Execute Method with operation POST.
I wrote the commands
(Attempt 1)-----------------------------------------------------------------------------------------
Dim strURL As String, strFormData1 As String, strFormData2 As String
strURL = "//www.yippee.com/cgi-bin/find.exe"
strFormData1 = "UserName=Hangz hou"
strFormData2 = "Password=1 234"
Inet1.Execute strURL, "POST", strFormData1 & " " & strFormData2
(Attempt 2)-----------------------------------------------------------------------------------------
Dim strURL As String, strFormData1 As String, strFormData2 As String
strURL = "//www.yippee.com/cgi-bin/find.exe"
strFormData1 = "UserName=Hangz hou"
strFormData2 = "Password=1 234"
Inet1.Execute strURL, "POST", strFormData1 & "&" & strFormData2
--------------------------------------------------------------------------------------------------------
The State Event of control said that it was sent "icResponseRece ived" & "icResponseComp leted" but the website did not recieve anything.
Please can you help me? Thank you.